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:
parent
ba131b2380
commit
a2c85be5df
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=513337
@ -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
|
||||
|
@ -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:
|
||||
|
39
databases/py-redis2/Makefile
Normal file
39
databases/py-redis2/Makefile
Normal 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>
|
3
databases/py-redis2/distinfo
Normal file
3
databases/py-redis2/distinfo
Normal 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
|
3
databases/py-redis2/pkg-descr
Normal file
3
databases/py-redis2/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
This is the Python interface to the Redis key-value store.
|
||||
|
||||
WWW: https://github.com/andymccurdy/redis-py
|
Loading…
Reference in New Issue
Block a user