Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2023 15:53:49 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 269c3a3dc043 - main - math/py-iohexperimenter: Convert to USE_PYTHON=unittest
Message-ID:  <202304271553.33RFrnPB027292@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=269c3a3dc043d245933dc97405600ad1f12fcc4a

commit 269c3a3dc043d245933dc97405600ad1f12fcc4a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-27 15:46:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-27 15:46:42 +0000

    math/py-iohexperimenter: Convert to USE_PYTHON=unittest
---
 math/py-iohexperimenter/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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} {} +



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304271553.33RFrnPB027292>