diff options
Diffstat (limited to 'devel/py-pyrsistent/Makefile')
-rw-r--r-- | devel/py-pyrsistent/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/py-pyrsistent/Makefile b/devel/py-pyrsistent/Makefile index e5aa3a1b8f98..14a7ebb93ff7 100644 --- a/devel/py-pyrsistent/Makefile +++ b/devel/py-pyrsistent/Makefile @@ -2,21 +2,28 @@ PORTNAME= pyrsistent PORTVERSION= 0.14.11 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org -COMMENT= Persistent/Immutable/Functional data structures for Python +COMMENT= Persistent/Functional/Immutable data structures LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENCE.mit RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis<5:devel/py-hypothesis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent distutils +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pvectorc.so + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= + .include <bsd.port.mk> |