package/python-aiojobs: new package
authorJames Hilliard <james.hilliard1@gmail.com>
Thu, 6 Dec 2018 23:08:15 +0000 (07:08 +0800)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 8 Dec 2018 23:14:03 +0000 (00:14 +0100)
Jobs scheduler for managing background task (asyncio).

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
DEVELOPERS
package/Config.in
package/python-aiojobs/Config.in [new file with mode: 0644]
package/python-aiojobs/python-aiojobs.hash [new file with mode: 0644]
package/python-aiojobs/python-aiojobs.mk [new file with mode: 0644]

index fe239c1cf401e3856934f97e5a9f669554b2d755..681547f84149684851c2a448cb8c5175578c9889 100644 (file)
@@ -999,6 +999,7 @@ F:  package/python-aiohttp-remotes/
 F:     package/python-aiohttp-security/
 F:     package/python-aiohttp-session/
 F:     package/python-aiohttp-sse/
+F:     package/python-aiojobs/
 F:     package/python-async-timeout/
 F:     package/python-cchardet/
 F:     package/python-multidict/
index 26bbaf1f108e41415cadf0207f7af18a1596da24..db72a1a126d62f3cf17a69a85e91425a3016e48d 100644 (file)
@@ -805,6 +805,7 @@ menu "External python modules"
        source "package/python-aiohttp-security/Config.in"
        source "package/python-aiohttp-session/Config.in"
        source "package/python-aiohttp-sse/Config.in"
+       source "package/python-aiojobs/Config.in"
        source "package/python-alsaaudio/Config.in"
        source "package/python-argh/Config.in"
        source "package/python-arrow/Config.in"
diff --git a/package/python-aiojobs/Config.in b/package/python-aiojobs/Config.in
new file mode 100644 (file)
index 0000000..54d6c02
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_AIOJOBS
+       bool "python-aiojobs"
+       depends on BR2_PACKAGE_PYTHON3
+       select BR2_PACKAGE_PYTHON_AIOHTTP # runtime
+       help
+         Jobs scheduler for managing background task (asyncio).
+
+         https://github.com/aio-libs/aiojobs
diff --git a/package/python-aiojobs/python-aiojobs.hash b/package/python-aiojobs/python-aiojobs.hash
new file mode 100644 (file)
index 0000000..56a8bb1
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/aiojobs/json
+md5    8fd929e4ef9bc6560c675a5b11ac6077  aiojobs-0.2.2.tar.gz
+sha256 8e4b3e3d1bdb970bdaf8f8cd5eb4e4ff3e0e01a4abd22b4f73a87002a5ae4005  aiojobs-0.2.2.tar.gz
+# Locally computed sha256 checksums
+sha256 b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1  LICENSE
diff --git a/package/python-aiojobs/python-aiojobs.mk b/package/python-aiojobs/python-aiojobs.mk
new file mode 100644 (file)
index 0000000..7a95f99
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-aiojobs
+#
+################################################################################
+
+PYTHON_AIOJOBS_VERSION = 0.2.2
+PYTHON_AIOJOBS_SOURCE = aiojobs-$(PYTHON_AIOJOBS_VERSION).tar.gz
+PYTHON_AIOJOBS_SITE = https://files.pythonhosted.org/packages/57/c5/9eb091930d6574002d1721dab5ca15a1bd69ed5dc8e654159d27223cdd3b
+PYTHON_AIOJOBS_SETUP_TYPE = distutils
+PYTHON_AIOJOBS_LICENSE = Apache-2.0
+PYTHON_AIOJOBS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))