package/python-aiohttp-security: new package
authorJames Hilliard <james.hilliard1@gmail.com>
Fri, 7 Dec 2018 08:49:41 +0000 (16:49 +0800)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 8 Dec 2018 22:55:33 +0000 (23:55 +0100)
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>
DEVELOPERS
package/Config.in
package/python-aiohttp-security/Config.in [new file with mode: 0644]
package/python-aiohttp-security/python-aiohttp-security.hash [new file with mode: 0644]
package/python-aiohttp-security/python-aiohttp-security.mk [new file with mode: 0644]

index 0152c55f816806118e48b6928c2b802ffd77d10d..a6600c48c263a3d278c29cab4bb1b2370e9b782d 100644 (file)
@@ -994,6 +994,7 @@ F:  configs/pine64_sopine_defconfig
 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/
index 71191b1abe9006d6eb2b0387d42e05a71974d041..fee4f8f250d459c0df62b11b4c7294978171e26c 100644 (file)
@@ -800,6 +800,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-security/Config.in"
        source "package/python-aiohttp-session/Config.in"
        source "package/python-aiohttp-sse/Config.in"
        source "package/python-alsaaudio/Config.in"
diff --git a/package/python-aiohttp-security/Config.in b/package/python-aiohttp-security/Config.in
new file mode 100644 (file)
index 0000000..f92c458
--- /dev/null
@@ -0,0 +1,8 @@
+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/
diff --git a/package/python-aiohttp-security/python-aiohttp-security.hash b/package/python-aiohttp-security/python-aiohttp-security.hash
new file mode 100644 (file)
index 0000000..1d2604c
--- /dev/null
@@ -0,0 +1,5 @@
+# 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
diff --git a/package/python-aiohttp-security/python-aiohttp-security.mk b/package/python-aiohttp-security/python-aiohttp-security.mk
new file mode 100644 (file)
index 0000000..9ab3b16
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# 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))