08e83d88bf
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
27 lines
665 B
Makefile
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>
|