package/python-redis: new package
authorGrzegorz Blach <grzegorz@blach.pl>
Sun, 17 Mar 2019 19:05:40 +0000 (20:05 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 4 Aug 2019 10:38:54 +0000 (12:38 +0200)
The Python interface to the Redis key-value store.

https://github.com/andymccurdy/redis-py

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
[Peter: hiredis is an optional runtime dependency, not build time]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
DEVELOPERS
package/Config.in
package/python-redis/Config.in [new file with mode: 0644]
package/python-redis/python-redis.hash [new file with mode: 0644]
package/python-redis/python-redis.mk [new file with mode: 0644]

index 6f554896f0db646600a0a0922a1e4de49d7be96d..d43a9f2c74d564f90fb933aa02689fbd581bcbf8 100644 (file)
@@ -975,6 +975,7 @@ F:  package/python-hiredis/
 F:     package/python-mimeparse/
 F:     package/python-pigpio/
 F:     package/python-pyjwt/
+F:     package/python-redis/
 F:     package/python-wtforms/
 
 N:     Guillaume Gardet <guillaume.gardet@oliseo.fr>
index 82107aec4584e5da7de4b60912988cb0c14af2e7..cb0f89ad99d43d0e4be558f9ecbbbb5e4fdb275d 100644 (file)
@@ -1039,6 +1039,7 @@ menu "External python modules"
        source "package/python-pyyaml/Config.in"
        source "package/python-pyzmq/Config.in"
        source "package/python-raven/Config.in"
+       source "package/python-redis/Config.in"
        source "package/python-reentry/Config.in"
        source "package/python-remi/Config.in"
        source "package/python-request-id/Config.in"
diff --git a/package/python-redis/Config.in b/package/python-redis/Config.in
new file mode 100644 (file)
index 0000000..4143e1f
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_REDIS
+       bool "python-redis"
+       help
+         Python client for Redis key-value store.
+
+         https://github.com/andymccurdy/redis-py
diff --git a/package/python-redis/python-redis.hash b/package/python-redis/python-redis.hash
new file mode 100644 (file)
index 0000000..2c47881
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/redis/json
+md5    7ca3cb7a2a71f376fc235590ec7056f8  redis-3.2.1.tar.gz
+sha256 8ca418d2ddca1b1a850afa1680a7d2fd1f3322739271de4b704e0d4668449273  redis-3.2.1.tar.gz
+# Locally computed sha256 checksums
+sha256 790148d8c12f8a38b2707a74be2343316bad126995ff54801a181b8b231ba124  LICENSE
diff --git a/package/python-redis/python-redis.mk b/package/python-redis/python-redis.mk
new file mode 100644 (file)
index 0000000..aa1bc35
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-redis
+#
+################################################################################
+
+PYTHON_REDIS_VERSION = 3.2.1
+PYTHON_REDIS_SOURCE = redis-$(PYTHON_REDIS_VERSION).tar.gz
+PYTHON_REDIS_SITE = https://files.pythonhosted.org/packages/24/d4/06486dee0f66ef8c5080dc576fdfb33131fd2e0be3747f2be4e5634088a2
+PYTHON_REDIS_SETUP_TYPE = setuptools
+PYTHON_REDIS_LICENSE = MIT
+PYTHON_REDIS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))