package/python-aioredis: new package
authorAdam Duskett <Aduskett@gmail.com>
Sun, 4 Aug 2019 01:16:29 +0000 (21:16 -0400)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 30 Sep 2019 19:38:38 +0000 (21:38 +0200)
asyncio (PEP 3156) Redis client library.
Provides a simple and clear interface to Redis based on asyncio.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[Thomas:
 - drop dependency on redis, there is no such dependency, the redis
   server could be remote
 - add dependency on Python 3.x]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-aioredis/Config.in [new file with mode: 0644]
package/python-aioredis/python-aioredis.hash [new file with mode: 0644]
package/python-aioredis/python-aioredis.mk [new file with mode: 0644]

index 91aca147201d3f01d536f1914eb6a75329ade7f2..71b1b2b6eb5550a2a79cbe173288ea1a421717a4 100644 (file)
@@ -54,6 +54,7 @@ F:    package/openjdk-bin/
 F:     package/php/
 F:     package/policycoreutils/
 F:     package/python3/
+F:     package/python-aioredis/
 F:     package/python-asgiref/
 F:     package/python-daphne/
 F:     package/python-django-enumfields/
index 9ef203829cc9d99acae1bdf5bcf07df6fe42ab60..91f5bb736d4ed30f17d55f082ead4212e9203f02 100644 (file)
@@ -825,6 +825,7 @@ menu "External python modules"
        source "package/python-aiohttp-sse/Config.in"
        source "package/python-aiojobs/Config.in"
        source "package/python-aiomonitor/Config.in"
+       source "package/python-aioredis/Config.in"
        source "package/python-aiorwlock/Config.in"
        source "package/python-alsaaudio/Config.in"
        source "package/python-argh/Config.in"
diff --git a/package/python-aioredis/Config.in b/package/python-aioredis/Config.in
new file mode 100644 (file)
index 0000000..dc2ee01
--- /dev/null
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_AIOREDIS
+       bool "python-aioredis"
+       depends on BR2_PACKAGE_PYTHON3
+       select BR2_PACKAGE_PYTHON_ASYNC_TIMEOUT # runtime
+       select BR2_PACKAGE_PYTHON_HIREDIS # runtime
+       help
+         Provides simple and clear interface to Redis based on asyncio.
+
+         https://github.com/aio-libs/aioredis
diff --git a/package/python-aioredis/python-aioredis.hash b/package/python-aioredis/python-aioredis.hash
new file mode 100644 (file)
index 0000000..19f147f
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/aioredis/json
+md5    fd6c66e4d8efce553c369c0855c6fb49  aioredis-1.2.0.tar.gz
+sha256 84d62be729beb87118cf126c20b0e3f52d7a42bb7373dc5bcdd874f26f1f251a  aioredis-1.2.0.tar.gz
+# Locally computed sha256 checksums
+sha256 a288b4f41b5531ff7e9e2df9cd3f17a1844badebc52d7a9205b131f8b8a50744  LICENSE
diff --git a/package/python-aioredis/python-aioredis.mk b/package/python-aioredis/python-aioredis.mk
new file mode 100644 (file)
index 0000000..02641ec
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-aioredis
+#
+################################################################################
+
+PYTHON_AIOREDIS_VERSION = 1.2.0
+PYTHON_AIOREDIS_SOURCE = aioredis-$(PYTHON_AIOREDIS_VERSION).tar.gz
+PYTHON_AIOREDIS_SITE = https://files.pythonhosted.org/packages/2e/a3/cd122b68d8071d332972027d225f548e0206001da1aa0685ea08db803b06
+PYTHON_AIOREDIS_SETUP_TYPE = setuptools
+PYTHON_AIOREDIS_LICENSE = MIT
+PYTHON_AIOREDIS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))