All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] python-async-timeout: new package
@ 2018-11-01 11:10 Arnout Vandecappelle
  0 siblings, 0 replies; only message in thread
From: Arnout Vandecappelle @ 2018-11-01 11:10 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=7410d6c5c63d76590a1c68f49e9be33663946f84
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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>
---
 DEVELOPERS                                             |  1 +
 package/Config.in                                      |  1 +
 package/python-async-timeout/Config.in                 |  7 +++++++
 package/python-async-timeout/python-async-timeout.hash |  5 +++++
 package/python-async-timeout/python-async-timeout.mk   | 13 +++++++++++++
 5 files changed, 27 insertions(+)

diff --git a/DEVELOPERS b/DEVELOPERS
index e2c5eb902c..bd68ca34b6 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -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/
 
diff --git a/package/Config.in b/package/Config.in
index d7e24154dc..8f561b3491 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-async-timeout/Config.in b/package/python-async-timeout/Config.in
new file mode 100644
index 0000000000..659a0fdeca
--- /dev/null
+++ b/package/python-async-timeout/Config.in
@@ -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
diff --git a/package/python-async-timeout/python-async-timeout.hash b/package/python-async-timeout/python-async-timeout.hash
new file mode 100644
index 0000000000..f99e1daddb
--- /dev/null
+++ b/package/python-async-timeout/python-async-timeout.hash
@@ -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
diff --git a/package/python-async-timeout/python-async-timeout.mk b/package/python-async-timeout/python-async-timeout.mk
new file mode 100644
index 0000000000..dc14e14b56
--- /dev/null
+++ b/package/python-async-timeout/python-async-timeout.mk
@@ -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))

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-01 11:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-01 11:10 [Buildroot] [git commit] python-async-timeout: new package Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.