package/python-webargs: new package

webargs 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:57 +01:00 committed by Thomas Petazzoni
parent 8984b7581a
commit 8c41d48369
5 changed files with 32 additions and 0 deletions

View File

@ -1967,6 +1967,7 @@ F: package/zic/
N: Martin Hundebøll <martin@geanix.com>
F: package/python-apispec/
F: package/python-webargs/
N: Martin Kepplinger <martink@posteo.de>
F: package/tslib/

View File

@ -1341,6 +1341,7 @@ menu "External python modules"
source "package/python-wcwidth/Config.in"
source "package/python-weasyprint/Config.in"
source "package/python-web2py/Config.in"
source "package/python-webargs/Config.in"
source "package/python-webencodings/Config.in"
source "package/python-webob/Config.in"
source "package/python-webpy/Config.in"

View File

@ -0,0 +1,11 @@
config BR2_PACKAGE_PYTHON_WEBARGS
bool "python-webargs"
select BR2_PACKAGE_PYTHON_MARSHMALLOW # runtime
select BR2_PACKAGE_PYTHON_PACKAGING # runtime
help
Declarative parsing and validation of HTTP request objects,
with built-in support for popular web frameworks, including
Flask, Django, Bottle, Tornado, Pyramid, Falcon, and
aiohttp.
https://github.com/marshmallow-code/webargs

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/webargs/json
md5 9fff29294a5db748eca791da2b93e370 webargs-8.2.0.tar.gz
sha256 99d68940c452e07726485a15fef43f12f8ae6c0c5b391bcba76065d4527fb85d webargs-8.2.0.tar.gz
# Locally computed sha256 checksums
sha256 5973e5dcc20b65e4eb4b4acdf273bb78a18522914ab626f496f1b070f7e6294d LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-webargs
#
################################################################################
PYTHON_WEBARGS_VERSION = 8.2.0
PYTHON_WEBARGS_SOURCE = webargs-$(PYTHON_WEBARGS_VERSION).tar.gz
PYTHON_WEBARGS_SITE = https://files.pythonhosted.org/packages/4b/7d/fece8e6547b3edde8953b1c84a63da02e1a88efcb9d7d485e4d1b25d9c47
PYTHON_WEBARGS_SETUP_TYPE = setuptools
PYTHON_WEBARGS_LICENSE = MIT
PYTHON_WEBARGS_LICENSE_FILES = LICENSE
$(eval $(python-package))