package/python-aiohttp-cors: new package

CORS support for aiohttp.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2019-02-24 11:35:22 +08:00 committed by Thomas Petazzoni
parent 6255c81623
commit a5bc6eea18
5 changed files with 29 additions and 0 deletions

View File

@ -1033,6 +1033,7 @@ F: package/lua-std-debug/
F: package/lua-std-normalize/
F: package/python-aiodns/
F: package/python-aiohttp/
F: package/python-aiohttp-cors/
F: package/python-aiohttp-jinja2/
F: package/python-aiohttp-remotes/
F: package/python-aiohttp-security/

View File

@ -803,6 +803,7 @@ menu "External python modules"
source "package/python-aiocoap/Config.in"
source "package/python-aiodns/Config.in"
source "package/python-aiohttp/Config.in"
source "package/python-aiohttp-cors/Config.in"
source "package/python-aiohttp-jinja2/Config.in"
source "package/python-aiohttp-remotes/Config.in"
source "package/python-aiohttp-security/Config.in"

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_AIOHTTP_CORS
bool "python-aiohttp-cors"
depends on BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_PYTHON_AIOHTTP # runtime
help
CORS support for aiohttp.
https://github.com/aio-libs/aiohttp-cors

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/aiohttp_cors/json
md5 de3940a901b269be82c8bd9f28d53ff0 aiohttp-cors-0.7.0.tar.gz
sha256 4d39c6d7100fd9764ed1caf8cebf0eb01bf5e3f24e2e073fda6234bc48b19f5d aiohttp-cors-0.7.0.tar.gz
# Locally computed sha256 checksums
sha256 86cb2262ff825ce1c8b8fb9ea9f5174318badc3912639b9275fc25d0e305c556 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-aiohttp-cors
#
################################################################################
PYTHON_AIOHTTP_CORS_VERSION = 0.7.0
PYTHON_AIOHTTP_CORS_SOURCE = aiohttp-cors-$(PYTHON_AIOHTTP_CORS_VERSION).tar.gz
PYTHON_AIOHTTP_CORS_SITE = https://files.pythonhosted.org/packages/44/9e/6cdce7c3f346d8fd487adf68761728ad8cd5fbc296a7b07b92518350d31f
PYTHON_AIOHTTP_CORS_SETUP_TYPE = setuptools
PYTHON_AIOHTTP_CORS_LICENSE = Apache-2.0
PYTHON_AIOHTTP_CORS_LICENSE_FILES = LICENSE
$(eval $(python-package))