package/python-apispec: new package

apispec is a dependency of to-be-added python-flask-smorest.

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Martin Hundebøll 2023-01-05 13:59:56 +01:00 committed by Thomas Petazzoni
parent 3481674ee3
commit 8984b7581a
5 changed files with 32 additions and 0 deletions

View File

@ -1965,6 +1965,9 @@ F: package/rpi-firmware/
F: package/tzdata/
F: package/zic/
N: Martin Hundebøll <martin@geanix.com>
F: package/python-apispec/
N: Martin Kepplinger <martink@posteo.de>
F: package/tslib/
F: package/x11r7/xdriver_xf86-input-tslib/

View File

@ -958,6 +958,7 @@ menu "External python modules"
source "package/python-alembic/Config.in"
source "package/python-alsaaudio/Config.in"
source "package/python-ansicolors/Config.in"
source "package/python-apispec/Config.in"
source "package/python-appdirs/Config.in"
source "package/python-argh/Config.in"
source "package/python-argon2-cffi/Config.in"

View File

@ -0,0 +1,9 @@
config BR2_PACKAGE_PYTHON_APISPEC
bool "python-apispec"
select BR2_PACKAGE_PYTHON_PACKAGING # runtime
help
A pluggable API specification generator. Currently supports
the OpenAPI Specification (f.k.a. the Swagger
specification).
https://github.com/marshmallow-code/apispec

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/apispec/json
md5 b4e90006a26215e2e0a6fe2629d12c10 apispec-6.0.2.tar.gz
sha256 e76d80b739edef4be213092a6384ad7fd933ba7d64f6d5a0aff8d4da1bef7887 apispec-6.0.2.tar.gz
# Locally computed sha256 checksums
sha256 a452afcef750956a8396f7e7a6f913a117d28ef99a13170c29dc74c3b7a95f29 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-apispec
#
################################################################################
PYTHON_APISPEC_VERSION = 6.0.2
PYTHON_APISPEC_SOURCE = apispec-$(PYTHON_APISPEC_VERSION).tar.gz
PYTHON_APISPEC_SITE = https://files.pythonhosted.org/packages/a7/2a/b42c17e0d653341b8f5916999892cd2d8489de127dac6118ae44531674f5
PYTHON_APISPEC_SETUP_TYPE = setuptools
PYTHON_APISPEC_LICENSE = MIT
PYTHON_APISPEC_LICENSE_FILES = LICENSE
$(eval $(python-package))