blob: 25157cc301e1e8967f41835d56cdbf5400fcca47 (
plain) (
tree)
|
|
PORTNAME= redis
PORTVERSION= 2.10.6
PORTREVISION= 2
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 2
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python client for Redis key-value store
WWW= https://github.com/andymccurdy/redis-py
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=2.5.0,1:devel/py-pytest@${PY_FLAVOR} \
redis-server:databases/redis
USES= python:3.6+
USE_PYTHON= distutils autoplist concurrent
NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}redis
PORTSCOUT= limit:^2\.
OPTIONS_DEFINE= HIREDIS
HIREDIS_DESC= High performance response parser
HIREDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis@${PY_FLAVOR}
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
.include <bsd.port.mk>
|