aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-27 15:46:42 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-27 15:46:42 +0000
commit269c3a3dc043d245933dc97405600ad1f12fcc4a (patch)
tree5158f405431178fce7e2e5b9079c85a1aa051280
parent12121a2aa47ec1a91e035fb428e6a3262c97bacd (diff)
math/py-iohexperimenter: Convert to USE_PYTHON=unittest
-rw-r--r--math/py-iohexperimenter/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/py-iohexperimenter/Makefile b/math/py-iohexperimenter/Makefile
index 5ecea77cad18..aed098789269 100644
--- a/math/py-iohexperimenter/Makefile
+++ b/math/py-iohexperimenter/Makefile
@@ -16,9 +16,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
USES= compiler:c++14-lang dos2unix python:3.7+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent distutils unittest
USE_CXXSTD= c++14
+TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}/IOHexperimenter
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +