From: Grzegorz Blach Date: Sun, 17 Mar 2019 19:05:40 +0000 (+0100) Subject: package/python-redis: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7642cc2690f7b27aaedebb57165ab7f1551cb01;p=buildroot.git package/python-redis: new package The Python interface to the Redis key-value store. https://github.com/andymccurdy/redis-py Signed-off-by: Grzegorz Blach [Peter: hiredis is an optional runtime dependency, not build time] Signed-off-by: Peter Korsgaard --- diff --git a/DEVELOPERS b/DEVELOPERS index 6f554896f0..d43a9f2c74 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -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 diff --git a/package/Config.in b/package/Config.in index 82107aec45..cb0f89ad99 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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 index 0000000000..4143e1f1c1 --- /dev/null +++ b/package/python-redis/Config.in @@ -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 index 0000000000..2c47881c7f --- /dev/null +++ b/package/python-redis/python-redis.hash @@ -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 index 0000000000..aa1bc3588b --- /dev/null +++ b/package/python-redis/python-redis.mk @@ -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))