[Buildroot] [PATCH 2/2] package/python-redis: new package
Peter Korsgaard
peter at korsgaard.com
Sun Aug 4 10:49:58 UTC 2019
>>>>> "Grzegorz" == Grzegorz Blach <grzegorz at blach.pl> writes:
> The Python interface to the Redis key-value store.
> https://github.com/andymccurdy/redis-py
> Signed-off-by: Grzegorz Blach <grzegorz at blach.pl>
> ---
> 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
> +################################################################################
> +#
> +# 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
hiredis is an optional runtime dependency, not a build time one - So it
shouldn't be added to _DEPENDENCIES.
Committed with that fixed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list