package/python-aiohttp-security: new package

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>
This commit is contained in:
James Hilliard 2018-12-07 16:49:41 +08:00 committed by Peter Korsgaard
parent d43c6f9f1e
commit 359f963b4e
5 changed files with 29 additions and 0 deletions

View File

@ -994,6 +994,7 @@ F: configs/pine64_sopine_defconfig
N: James Hilliard <james.hilliard1@gmail.com> N: James Hilliard <james.hilliard1@gmail.com>
F: package/python-aiodns/ F: package/python-aiodns/
F: package/python-aiohttp/ F: package/python-aiohttp/
F: package/python-aiohttp-security/
F: package/python-aiohttp-session/ F: package/python-aiohttp-session/
F: package/python-aiohttp-sse/ F: package/python-aiohttp-sse/
F: package/python-async-timeout/ F: package/python-async-timeout/

View File

@ -800,6 +800,7 @@ menu "External python modules"
source "package/python-aiocoap/Config.in" source "package/python-aiocoap/Config.in"
source "package/python-aiodns/Config.in" source "package/python-aiodns/Config.in"
source "package/python-aiohttp/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-session/Config.in"
source "package/python-aiohttp-sse/Config.in" source "package/python-aiohttp-sse/Config.in"
source "package/python-alsaaudio/Config.in" source "package/python-alsaaudio/Config.in"

View File

@ -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/

View File

@ -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

View File

@ -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))