git: 3fd24909fb46 - main - devel/py-asynctest: Convert to USE_PYTHON=unittest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Jun 2022 17:01:57 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3fd24909fb46000176bc1f04e94c16f5656c7b2b commit 3fd24909fb46000176bc1f04e94c16f5656c7b2b Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-03 16:57:43 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-03 16:57:43 +0000 devel/py-asynctest: Convert to USE_PYTHON=unittest --- devel/py-asynctest/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/devel/py-asynctest/Makefile b/devel/py-asynctest/Makefile index a79016ef37ae..432932907c49 100644 --- a/devel/py-asynctest/Makefile +++ b/devel/py-asynctest/Makefile @@ -11,12 +11,12 @@ COMMENT= Enhance unittest for testing asyncio libraries LICENSE= APACHE20 +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} + USES= python:3.5+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils unittest NO_ARCH= yes - -do-test: - cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v test +TEST_ARGS= discover -s test .include <bsd.port.mk>