python-async-timeout: new package

asyncio-compatible timeout context manager.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
James Hilliard 2018-10-22 17:37:08 +08:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 8f544acaff
commit 7410d6c5c6
5 changed files with 27 additions and 0 deletions

View file

@ -979,6 +979,7 @@ F: configs/pine64_defconfig
F: configs/pine64_sopine_defconfig
N: James Hilliard <james.hilliard1@gmail.com>
F: package/python-async-timeout/
F: package/python-multidict/
F: package/python-yarl/

View file

@ -798,6 +798,7 @@ menu "External python modules"
source "package/python-argh/Config.in"
source "package/python-arrow/Config.in"
source "package/python-asn1crypto/Config.in"
source "package/python-async-timeout/Config.in"
source "package/python-attrs/Config.in"
source "package/python-autobahn/Config.in"
source "package/python-automat/Config.in"

View file

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_ASYNC_TIMEOUT
bool "python-async-timeout"
depends on BR2_PACKAGE_PYTHON3
help
asyncio-compatible timeout context manager.
https://github.com/aio-libs/async-timeout

View file

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.python.org/pypi/async_timeout/json
md5 305c4fa529f2485c403d0dbe14390175 async-timeout-3.0.1.tar.gz
sha256 0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f async-timeout-3.0.1.tar.gz
# Locally computed sha256 checksums
sha256 b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1 LICENSE

View file

@ -0,0 +1,13 @@
################################################################################
#
# python-async-timeout
#
################################################################################
PYTHON_ASYNC_TIMEOUT_VERSION = 3.0.1
PYTHON_ASYNC_TIMEOUT_SOURCE = async-timeout-$(PYTHON_ASYNC_TIMEOUT_VERSION).tar.gz
PYTHON_ASYNC_TIMEOUT_SITE = https://files.pythonhosted.org/packages/a1/78/aae1545aba6e87e23ecab8d212b58bb70e72164b67eb090b81bb17ad38e3
PYTHON_ASYNC_TIMEOUT_LICENSE = Apache-2.0
PYTHON_ASYNC_TIMEOUT_LICENSE_FILES = LICENSE
PYTHON_ASYNC_TIMEOUT_SETUP_TYPE = setuptools
$(eval $(python-package))