Security for aiohttp.web.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
N: James Hilliard <james.hilliard1@gmail.com>
F: package/python-aiodns/
F: package/python-aiohttp/
+F: package/python-aiohttp-security/
F: package/python-aiohttp-session/
F: package/python-aiohttp-sse/
F: package/python-async-timeout/
source "package/python-aiocoap/Config.in"
source "package/python-aiodns/Config.in"
source "package/python-aiohttp/Config.in"
+ source "package/python-aiohttp-security/Config.in"
source "package/python-aiohttp-session/Config.in"
source "package/python-aiohttp-sse/Config.in"
source "package/python-alsaaudio/Config.in"
--- /dev/null
+config BR2_PACKAGE_PYTHON_AIOHTTP_SECURITY
+ bool "python-aiohttp-security"
+ depends on BR2_PACKAGE_PYTHON3
+ select BR2_PACKAGE_PYTHON_AIOHTTP # runtime
+ help
+ Security for aiohttp.web.
+
+ https://github.com/aio-libs/aiohttp_security/
--- /dev/null
+# md5, sha256 from https://pypi.org/pypi/aiohttp-security/json
+md5 1624f982d7a779e6ed396ef2ed20acc7 aiohttp-security-0.4.0.tar.gz
+sha256 40d4bb150454e392c2dfa3620f6eab28e140e94cf0c2d3b4bf43aef653ec9405 aiohttp-security-0.4.0.tar.gz
+# Locally computed sha256 checksums
+sha256 a1cc8ff7210897d55d2552fa0792340f8e59720e0160b6918699d40f9a782b1c LICENSE
--- /dev/null
+################################################################################
+#
+# python-aiohttp-security
+#
+################################################################################
+
+PYTHON_AIOHTTP_SECURITY_VERSION = 0.4.0
+PYTHON_AIOHTTP_SECURITY_SOURCE = aiohttp-security-$(PYTHON_AIOHTTP_SECURITY_VERSION).tar.gz
+PYTHON_AIOHTTP_SECURITY_SITE = https://files.pythonhosted.org/packages/36/01/d85be376b7c1773b3cb7849cd56dc7d38165664df7de2d3e20af507ef5bb
+PYTHON_AIOHTTP_SECURITY_SETUP_TYPE = setuptools
+PYTHON_AIOHTTP_SECURITY_LICENSE = Apache-2.0
+PYTHON_AIOHTTP_SECURITY_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))