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 <grzegorz@blach.pl>
[Peter: hiredis is an optional runtime dependency, not build time]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Grzegorz Blach 2019-03-17 20:05:40 +01:00 committed by Peter Korsgaard
parent bc60b83380
commit b7642cc269
5 changed files with 27 additions and 0 deletions

View 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>

View 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"

View file

@ -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

View file

@ -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

View file

@ -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))