Add python-apispec package

This commit is contained in:
Calin Crisan 2019-01-20 22:48:50 +02:00
parent bd7beee0f8
commit 47841c6b2b
4 changed files with 24 additions and 0 deletions

View File

@ -749,6 +749,7 @@ menu "External python modules"
source "package/python-aiohttp/Config.in" source "package/python-aiohttp/Config.in"
source "package/python-aiohttp-apispec/Config.in" source "package/python-aiohttp-apispec/Config.in"
source "package/python-alsaaudio/Config.in" source "package/python-alsaaudio/Config.in"
source "package/python-apispec/Config.in"
source "package/python-argh/Config.in" source "package/python-argh/Config.in"
source "package/python-arrow/Config.in" source "package/python-arrow/Config.in"
source "package/python-asn1crypto/Config.in" source "package/python-asn1crypto/Config.in"

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_APISPEC
bool "python-apispec"
depends on BR2_PACKAGE_PYTHON3
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,2 @@
sha256 1661bc574b1579ef72883aafd87c0178d1c129659cd4f1c76a68fcc852e1b4ed apispec-0.39.0.tar.gz

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-apispec
#
################################################################################
PYTHON_APISPEC_VERSION = 0.39.0
PYTHON_APISPEC_SOURCE = aiohttp-$(PYTHON_APISPEC_VERSION).tar.gz
PYTHON_APISPEC_SITE = https://files.pythonhosted.org/packages/e9/92/833b2715566b9fe4a34ea544f48f997b3468cbe4c2a2a70d8dd432830c24
PYTHON_APISPEC_SETUP_TYPE = setuptools
PYTHON_APISPEC_LICENSE = Apache-2.0
PYTHON_APISPEC_LICENSE_FILES = LICENSE.txt
$(eval $(python-package))