package/python-hiredis: new package
PATCH 1/2 package/python-hiredis: new package
Python extension that wraps protocol parsing code in hiredis. It primarily speeds up parsing of multi bulk replies.
https://github.com/redis/hiredis-py
--- DEVELOPERS | 1 + package/Config.in | 1 + package/python-hiredis/Config.in | 6 ++++++ package/python-hiredis/python-hiredis.hash | 6 ++++++ package/python-hiredis/python-hiredis.mk | 14 ++++++++++++++ 5 files changed, 28 insertions(+) create mode 100644 package/python-hiredis/Config.in create mode 100644 package/python-hiredis/python-hiredis.hash create mode 100644 package/python-hiredis/python-hiredis.mk
DEVELOPERS +1 -0
@@ -937,6 +937,7 @@ F: package/f2fs-tools/ F: package/pigpio/ F: package/python-aioblescan/ F: package/python-falcon/ +F: package/python-hiredis/ F: package/python-mimeparse/ F: package/python-pigpio/ F: package/python-wtforms/
package/Config.in +1 -0
@@ -883,6 +883,7 @@ menu "External python modules" source "package/python-gobject/Config.in" source "package/python-gunicorn/Config.in" source "package/python-h2/Config.in" + source "package/python-hiredis/Config.in" source "package/python-hpack/Config.in" source "package/python-html5lib/Config.in" source "package/python-httplib2/Config.in"
package/python-hiredis/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_HIREDIS + bool "python-hiredis" + help + Python wrapper for hiredis. + + https://github.com/redis/hiredis-py
package/python-hiredis/python-hiredis.hash new file +6 -0
@@ -0,0 +1,6 @@ +# md5, sha256 from https://pypi.org/pypi/hiredis/json +md5 46bc0d51bda994611bae77c044b1398b hiredis-1.0.0.tar.gz +sha256 e97c953f08729900a5e740f1760305434d62db9f281ac351108d6c4b5bf51795 hiredis-1.0.0.tar.gz +# Locally computed sha256 checksums +sha256 70edfa6d3e11f9d7497c2c2f298d06f33b11d10f37f76605102c5ab3b1f28262 COPYING +sha256 dca05ce8fc87a8261783b4aed0deef8becc9350b6aa770bc714d0c1833b896eb vendor/hiredis/COPYING
package/python-hiredis/python-hiredis.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-hiredis +# +################################################################################ + +PYTHON_HIREDIS_VERSION = 1.0.0 +PYTHON_HIREDIS_SOURCE = hiredis-$(PYTHON_HIREDIS_VERSION).tar.gz +PYTHON_HIREDIS_SITE = https://files.pythonhosted.org/packages/9e/e0/c160dbdff032ffe68e4b3c576cba3db22d8ceffc9513ae63368296d1bcc8 +PYTHON_HIREDIS_SETUP_TYPE = setuptools +PYTHON_HIREDIS_LICENSE = BSD-3-Clause +PYTHON_HIREDIS_LICENSE_FILES = COPYING vendor/hiredis/COPYING + +$(eval $(python-package))
Signature · 1 line
2.20.1
PATCH 2/2 package/python-redis: new package
The Python interface to the Redis key-value store.
https://github.com/andymccurdy/redis-py
--- 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 | 18 ++++++++++++++++++ 5 files changed, 31 insertions(+) create mode 100644 package/python-redis/Config.in create mode 100644 package/python-redis/python-redis.hash create mode 100644 package/python-redis/python-redis.mk
DEVELOPERS +1 -0
@@ -940,6 +940,7 @@ F: package/python-falcon/ F: package/python-hiredis/ F: package/python-mimeparse/ F: package/python-pigpio/ +F: package/python-redis/ F: package/python-wtforms/ N: Guillaume Gardet <[email protected]>
package/Config.in +1 -0
@@ -1011,6 +1011,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"
package/python-redis/Config.in new file +6 -0
@@ -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
package/python-redis/python-redis.hash new file +5 -0
@@ -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
package/python-redis/python-redis.mk new file +18 -0
@@ -0,0 +1,18 @@ +################################################################################ +# +# 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 + +ifeq ($(BR2_PACKAGE_PYTHON_HIREDIS),y) +PYTHON_REDIS_DEPENDENCIES += python-hiredis +endif + +$(eval $(python-package))
Signature · 1 line
2.20.1
PATCH 2/2 package/python-redis: new package
Quoted 23 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Grzegorz" == Grzegorz Blach <[email protected]> writes:
The Python interface to the Redis key-value store.
https://github.com/andymccurdy/redis-pySigned-off-by Grzegorz Blach <[email protected]>--- 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 | 18 ++++++++++++++++++ 5 files changed, 31 insertions(+) create mode 100644 package/python-redis/Config.in create mode 100644 package/python-redis/python-redis.hash create mode 100644 package/python-redis/python-redis.mkpackage/python-redis/python-redis.mk new file +6
-0+################################################################################ +# +# python-redis +# +################################################################################ +
package/python-redis/python-redis.mk line 16
Quoted 10 lines
package/python-redis/python-redis.mk new file +10
-0+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 + +ifeq ($(BR2_PACKAGE_PYTHON_HIREDIS),y) +PYTHON_REDIS_DEPENDENCIES += python-hiredis +endif
hiredis is an optional runtime dependency, not a build time one - So it shouldn't be added to _DEPENDENCIES.
Committed with that fixed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/2 package/python-hiredis: new package
In reply to Grzegorz BlachQuoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Grzegorz" == Grzegorz Blach <[email protected]> writes:
Python extension that wraps protocol parsing code in hiredis. It primarily speeds up parsing of multi bulk replies.
https://github.com/redis/hiredis-py
Signed-off-by Grzegorz Blach <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard