package/python-janus: new package
authorJames Hilliard <james.hilliard1@gmail.com>
Wed, 11 Dec 2019 02:30:50 +0000 (19:30 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 14 Dec 2019 21:15:08 +0000 (22:15 +0100)
Mixed sync-async queue to interoperate between asyncio
tasks and classic threads.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-janus/Config.in [new file with mode: 0644]
package/python-janus/python-janus.hash [new file with mode: 0644]
package/python-janus/python-janus.mk [new file with mode: 0644]

index 5fa4015fdbff8a1c1c869c2e079a8f4d30041f93..5702f80e6d32da25c9c146014913983b51278c0c 100644 (file)
@@ -1147,6 +1147,7 @@ F:        package/python-async-lru/
 F:     package/python-async-timeout/
 F:     package/python-brotli/
 F:     package/python-cchardet/
+F:     package/python-janus/
 F:     package/python-logstash/
 F:     package/python-multidict/
 F:     package/python-pycares/
index 96957ef8fdc881a98ba066d27cdda5d182a2b330..b5fed9ea70ddff22d25f21b104b7e728d51efd93 100644 (file)
@@ -954,6 +954,7 @@ menu "External python modules"
        source "package/python-ipython-genutils/Config.in"
        source "package/python-iso8601/Config.in"
        source "package/python-itsdangerous/Config.in"
+       source "package/python-janus/Config.in"
        source "package/python-jaraco-classes/Config.in"
        source "package/python-jaraco-functools/Config.in"
        source "package/python-jedi/Config.in"
diff --git a/package/python-janus/Config.in b/package/python-janus/Config.in
new file mode 100644 (file)
index 0000000..a1ba046
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_JANUS
+       bool "python-janus"
+       depends on BR2_PACKAGE_PYTHON3
+       help
+         Mixed sync-async queue to interoperate between asyncio
+         tasks and classic threads.
+
+         https://github.com/aio-libs/janus/
diff --git a/package/python-janus/python-janus.hash b/package/python-janus/python-janus.hash
new file mode 100644 (file)
index 0000000..5098769
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/janus/json
+md5    26283b122439fbca4ae1db18ff839b7c  janus-0.4.0.tar.gz
+sha256 cfc221683160b91b35bae1917e2957b78dad10a2e634f4f8ed119ed72e2a88ef  janus-0.4.0.tar.gz
+# Locally computed sha256 checksums
+sha256 8b177cccb6ddec12a9fc97bd49e7e2bbcd92464625624bd8bdbfad799ae606e9  LICENSE
diff --git a/package/python-janus/python-janus.mk b/package/python-janus/python-janus.mk
new file mode 100644 (file)
index 0000000..f718d0c
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-janus
+#
+################################################################################
+
+PYTHON_JANUS_VERSION = 0.4.0
+PYTHON_JANUS_SOURCE = janus-$(PYTHON_JANUS_VERSION).tar.gz
+PYTHON_JANUS_SITE = https://files.pythonhosted.org/packages/e2/39/41fd545b99eac81d47fe346b8c78c09a3b187ce2fd9f3c9656dfe035e39a
+PYTHON_JANUS_SETUP_TYPE = setuptools
+PYTHON_JANUS_LICENSE = Apache-2.0
+PYTHON_JANUS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))