Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2022 16:38:00 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: 161dc01aa29b - main - devel/py-flask-babel: Convert to USE_PYTHON=unittest
Message-ID:  <202206211638.25LGc0BZ060186@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=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>



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