Add python-webargs package

This commit is contained in:
Calin Crisan 2019-01-20 23:34:48 +02:00
parent 5e2c6ae0c2
commit 06289729f1
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_WEBARGS
bool "python-webargs"
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
help
webargs is a Python library for parsing and validating HTTP request objects, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, Pyramid, webapp2, Falcon, and aiohttp.
https://github.com/marshmallow-code/webargs

View File

@ -0,0 +1,2 @@
sha256 0bd93a8f180907a040631b592d10ca25b8a243d9a71921a2ec363b52f0a3f441 webargs-5.1.0.tar.gz

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-webargs
#
################################################################################
PYTHON_WEBARGS_VERSION = 5.1.0
PYTHON_WEBARGS_SOURCE = webargs-$(PYTHON_WEBARGS_VERSION).tar.gz
PYTHON_WEBARGS_SITE = https://files.pythonhosted.org/packages/16/7b/68fded416d638bf1e5f41b28a49f045c0ef2abe344c7280d5e923e6cea1d
PYTHON_WEBARGS_SETUP_TYPE = setuptools
PYTHON_WEBARGS_LICENSE = Apache-2.0
PYTHON_WEBARGS_LICENSE_FILES = LICENSE.txt
$(eval $(python-package))