1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

[NEW PORT]: databases/py-redis2

Repocopy databases/py-redis to databases/py-redis2 to have the latest
version of the 2.x release branch for a while.

Use it also as a fallback if some consumers have issues with the upcoming
update of databases/py-redis to the 3.x release.

PR:		237237
Approved by:	koobs (maintainer)
This commit is contained in:
Kai Knoblich 2019-09-30 09:36:11 +00:00
parent ba131b2380
commit a2c85be5df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=513337
5 changed files with 47 additions and 0 deletions

View File

@ -843,6 +843,7 @@
SUBDIR += py-queries
SUBDIR += py-rb
SUBDIR += py-redis
SUBDIR += py-redis2
SUBDIR += py-riak
SUBDIR += py-rrdtool_lgpl
SUBDIR += py-sispy

View File

@ -28,6 +28,7 @@ GH_ACCOUNT= andymccurdy
GH_PROJECT= ${PORTNAME}-py
NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}redis2
# Needs redis-server to be running
do-test:

View File

@ -0,0 +1,39 @@
# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
# $FreeBSD$
PORTNAME= redis
PORTVERSION= 2.10.6
CATEGORIES= databases python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 2
MAINTAINER= koobs@FreeBSD.org
COMMENT= Python client for Redis key-value store
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= redis-server:databases/redis
OPTIONS_DEFINE= HIREDIS
HIREDIS_DESC= High performance response parser (via hiredis)
HIREDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>0:databases/py-hiredis@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist concurrent
USE_GITHUB= yes
GH_ACCOUNT= andymccurdy
GH_PROJECT= ${PORTNAME}-py
NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}redis
PORTSCOUT= limit:^2\.
# Needs redis-server to be running
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1508148992
SHA256 (andymccurdy-redis-py-2.10.6_GH0.tar.gz) = e28e24539d6590a8b88498f2d30f7fe3e2be1171d7a91fe1fa6c5b6982519015
SIZE (andymccurdy-redis-py-2.10.6_GH0.tar.gz) = 94869

View File

@ -0,0 +1,3 @@
This is the Python interface to the Redis key-value store.
WWW: https://github.com/andymccurdy/redis-py