1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/databases/py-redis2/Makefile
Sergey A. Osokin 89e0b04783 Repocopy the databases/redis to the databases/redis4 to update
the databases/redis port to the latest stable version, 5.0.6.

PR:		241526
Reviewed by:	portmgr (adamw)
Approved by:	portmgr (adamw)
Differential Revision:	https://reviews.freebsd.org/D22336
2019-11-21 19:27:39 +00:00

41 lines
884 B
Makefile

# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
# $FreeBSD$
PORTNAME= redis
PORTVERSION= 2.10.6
PORTREVISION= 1
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>