git: 5dac015ed201 - main - archivers/py-sozipfile: Convert to USE_PYTHON=unittest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Dec 2023 09:08:51 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5dac015ed201c95ebcf57e5120a4b340125d0693
commit 5dac015ed201c95ebcf57e5120a4b340125d0693
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-25 09:00:03 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-25 09:00:03 +0000
archivers/py-sozipfile: Convert to USE_PYTHON=unittest
---
archivers/py-sozipfile/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/archivers/py-sozipfile/Makefile b/archivers/py-sozipfile/Makefile
index bbc83c7e6afa..258dd228ff1b 100644
--- a/archivers/py-sozipfile/Makefile
+++ b/archivers/py-sozipfile/Makefile
@@ -15,8 +15,10 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent pep517
+USE_PYTHON= autoplist concurrent pep517 unittest
NO_ARCH= yes
+TEST_ARGS= discover -s tests
+TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
.include <bsd.port.mk>