git: 614993ba7460 - main - devel/py-yappi: Convert to USE_PYTHON=unittest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Jun 2022 23:20:12 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=614993ba746068cc936495458cf45e0829b7c911
commit 614993ba746068cc936495458cf45e0829b7c911
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 23:10:57 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 23:16:09 +0000
devel/py-yappi: Convert to USE_PYTHON=unittest
---
devel/py-yappi/Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/devel/py-yappi/Makefile b/devel/py-yappi/Makefile
index b6945a795da1..6b28dce3f1cd 100644
--- a/devel/py-yappi/Makefile
+++ b/devel/py-yappi/Makefile
@@ -15,12 +15,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gevent>=20.6.2:devel/py-gevent@${PY_FLAVOR}
USES= python:3.6+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent distutils unittest
+
+TEST_ARGS= discover -s tests
+TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
-do-test:
- cd ${WRKSRC} && ${PYTHON_CMD} run_tests.py
-
.include <bsd.port.mk>