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

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Grzegorz Blach 2019-03-17 20:05:39 +01:00 committed by Peter Korsgaard
parent 02e6805010
commit bc60b83380
5 changed files with 28 additions and 0 deletions

View File

@ -971,6 +971,7 @@ F: package/pigpio/
F: package/python-aioblescan/
F: package/python-falcon/
F: package/python-ifaddr/
F: package/python-hiredis/
F: package/python-mimeparse/
F: package/python-pigpio/
F: package/python-pyjwt/

View File

@ -902,6 +902,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"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_HIREDIS
bool "python-hiredis"
help
Python wrapper for hiredis.
https://github.com/redis/hiredis-py

View File

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

View File

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