* [Buildroot] [git commit] package/python-redis: new package
@ 2019-08-04 10:38 Peter Korsgaard
0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2019-08-04 10:38 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=b7642cc2690f7b27aaedebb57165ab7f1551cb01
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 | 1 +
package/Config.in | 1 +
package/python-redis/Config.in | 6 ++++++
package/python-redis/python-redis.hash | 5 +++++
package/python-redis/python-redis.mk | 14 ++++++++++++++
5 files changed, 27 insertions(+)
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 <guillaume.gardet@oliseo.fr>
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))
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-04 10:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-04 10:38 [Buildroot] [git commit] package/python-redis: new package Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.