aboutsummaryrefslogtreecommitdiff
path: root/package/python-aiohttp-cors
diff options
context:
space:
mode:
authorGravatar James Hilliard <james.hilliard1@gmail.com>2019-02-24 11:35:22 +0800
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-03-14 23:27:13 +0100
commita5bc6eea187bdff82731b44d105aa934e0b93f38 (patch)
tree2cdd87cecf4d1d177ccced03fb87808891877fa6 /package/python-aiohttp-cors
parent6255c816232468b2e92cffcfa835aa79d8fcae04 (diff)
downloadbuildroot-a5bc6eea187bdff82731b44d105aa934e0b93f38.tar.gz
buildroot-a5bc6eea187bdff82731b44d105aa934e0b93f38.tar.bz2
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>
Diffstat (limited to 'package/python-aiohttp-cors')
-rw-r--r--package/python-aiohttp-cors/Config.in8
-rw-r--r--package/python-aiohttp-cors/python-aiohttp-cors.hash5
-rw-r--r--package/python-aiohttp-cors/python-aiohttp-cors.mk14
3 files changed, 27 insertions, 0 deletions
diff --git a/package/python-aiohttp-cors/Config.in b/package/python-aiohttp-cors/Config.in
new file mode 100644
index 0000000000..1c97cf3f87
--- /dev/null
+++ b/package/python-aiohttp-cors/Config.in
@@ -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
diff --git a/package/python-aiohttp-cors/python-aiohttp-cors.hash b/package/python-aiohttp-cors/python-aiohttp-cors.hash
new file mode 100644
index 0000000000..b91e5fa8c0
--- /dev/null
+++ b/package/python-aiohttp-cors/python-aiohttp-cors.hash
@@ -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
diff --git a/package/python-aiohttp-cors/python-aiohttp-cors.mk b/package/python-aiohttp-cors/python-aiohttp-cors.mk
new file mode 100644
index 0000000000..27443540d0
--- /dev/null
+++ b/package/python-aiohttp-cors/python-aiohttp-cors.mk
@@ -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))