# Created by: Cheng-Lung Sung # $FreeBSD: head/databases/py-redis2/Makefile 561486 2021-01-13 16:13:24Z osa $ PORTNAME= redis PORTVERSION= 2.10.6 PORTREVISION= 2 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:3.6+ 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