summaryrefslogtreecommitdiff
path: root/science/py-neo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/py-neo/Makefile')
-rw-r--r--science/py-neo/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/science/py-neo/Makefile b/science/py-neo/Makefile
index af57025f1e56..87932cd97b3c 100644
--- a/science/py-neo/Makefile
+++ b/science/py-neo/Makefile
@@ -1,5 +1,5 @@
PORTNAME= neo
-PORTVERSION= 0.14.2
+PORTVERSION= 0.14.3
CATEGORIES= science python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,12 +12,20 @@ WWW= https://neo.readthedocs.io/en/latest/ \
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}quantities>=0.16.1:science/py-quantities@${PY_FLAVOR}
USES= python
-USE_PYTHON= distutils autoplist concurrent pytest
+USE_PYTHON= pep517 autoplist concurrent pytest
+
+TEST_ENV= ${MAKE_ENV} \
+ PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \
+ DISPLAY=${DISPLAY} \
+ XAUTHORITY=${XAUTHORITY}
+TEST_WRKSRC= ${WRKSRC}/neo/test
NO_ARCH= yes