freebsd-ports/databases/py-fakeredis/Makefile
Rene Ladan 08e83d88bf databases/py-fakeredis: update to 1.0.3
Highlights:
- Now supports py3-redis
- Better support when called from Lua
- Fixed some race conditions

Reported by:	https://repology.org/projects/?maintainer=rene%40freebsd.org
2019-04-08 20:30:16 +00:00

27 lines
665 B
Makefile

# $FreeBSD$
PORTNAME= fakeredis
PORTVERSION= 1.0.3
CATEGORIES= databases
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rene@FreeBSD.org
COMMENT= Fake version of databases/py-redis for unit testing
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=0:databases/py-redis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.1.0:devel/py-sortedcontainers@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} test_fakeredis.py
.include <bsd.port.mk>