From: James Hilliard Date: Wed, 11 Dec 2019 02:30:50 +0000 (-0700) Subject: package/python-janus: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4410aafcfbee7452346cec32bf1dd74a45d272bd;p=buildroot.git package/python-janus: new package Mixed sync-async queue to interoperate between asyncio tasks and classic threads. Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- diff --git a/DEVELOPERS b/DEVELOPERS index 5fa4015fdb..5702f80e6d 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -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/ diff --git a/package/Config.in b/package/Config.in index 96957ef8fd..b5fed9ea70 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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 index 0000000000..a1ba0463f9 --- /dev/null +++ b/package/python-janus/Config.in @@ -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 index 0000000000..5098769901 --- /dev/null +++ b/package/python-janus/python-janus.hash @@ -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 index 0000000000..f718d0c19d --- /dev/null +++ b/package/python-janus/python-janus.mk @@ -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))