git: 161dc01aa29b - main - devel/py-flask-babel: Convert to USE_PYTHON=unittest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jun 2022 16:38:00 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=161dc01aa29b6802e232d224cd400116da44d689
commit 161dc01aa29b6802e232d224cd400116da44d689
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-21 16:33:40 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-21 16:36:29 +0000
devel/py-flask-babel: Convert to USE_PYTHON=unittest
---
devel/py-flask-babel/Makefile | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/devel/py-flask-babel/Makefile b/devel/py-flask-babel/Makefile
index ce345fd74398..dcb4ba6cf04a 100644
--- a/devel/py-flask-babel/Makefile
+++ b/devel/py-flask-babel/Makefile
@@ -20,11 +20,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=2.5:devel/py-Jinja2@${PY_FLAVOR}
USES= python:3.6+
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist distutils unittest
NO_ARCH= yes
-
-do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} tests/tests.py
+TEST_ARGS= discover -s tests
.include <bsd.port.mk>