git: 17466f8aa7b2 - main - net/py-oauth2: Convert to USE_PYTHON=unittest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jun 2022 16:38:16 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=17466f8aa7b2bc96e2138a3435ec51ba33e7d38a commit 17466f8aa7b2bc96e2138a3435ec51ba33e7d38a Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-21 16:33:54 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-21 16:36:32 +0000 net/py-oauth2: Convert to USE_PYTHON=unittest - Remove unneeded TESTS option --- net/py-oauth2/Makefile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/net/py-oauth2/Makefile b/net/py-oauth2/Makefile index fa4d1a4ce8cd..61bf88160835 100644 --- a/net/py-oauth2/Makefile +++ b/net/py-oauth2/Makefile @@ -12,19 +12,12 @@ COMMENT= Python library for OAuth version 1.0 LICENSE= MIT RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httplib2>0:www/py-httplib2@${PY_FLAVOR} -TEST_DEPENDS:= ${RUN_DEPENDS} \ - ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} -OPTIONS_DEFINE= TESTS -TESTS_DESC= Install test suite requirements -TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} - -NO_ARCH= yes USES= python:3.6+ -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist distutils unittest -do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test +NO_ARCH= yes .include <bsd.port.mk>