svn commit: r567174 - head/graphics/py-h3
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Mar 3 18:12:02 UTC 2021
Author: sunpoet
Date: Wed Mar 3 18:11:56 2021
New Revision: 567174
URL: https://svnweb.freebsd.org/changeset/ports/567174
Log:
Remove PYNUMPY
Modified:
head/graphics/py-h3/Makefile
Modified: head/graphics/py-h3/Makefile
==============================================================================
--- head/graphics/py-h3/Makefile Wed Mar 3 18:11:52 2021 (r567173)
+++ head/graphics/py-h3/Makefile Wed Mar 3 18:11:56 2021 (r567174)
@@ -18,7 +18,7 @@ BUILD_DEPENDS= cmake:devel/cmake \
ninja:devel/ninja \
${PYTHON_PKGNAMEPREFIX}scikit-build>=0:devel/py-scikit-build@${PY_FLAVOR}
LIB_DEPENDS= libh3.so:graphics/h3
-TEST_DEPENDS= ${PYNUMPY} \
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
USES= localbase:ldflags python:3.6+
@@ -30,7 +30,7 @@ OPTIONS_DEFINE= NUMPY
OPTIONS_DEFAULT=NUMPY
NUMPY_DESC= NumPy support
-NUMPY_RUN_DEPENDS= ${PYNUMPY}
+NUMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
do-test:
cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m pytest -rs -v
More information about the svn-ports-all
mailing list