Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2022 17:02:12 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: 745b1c3b10cf - main - www/py-requests-oauthlib: Convert to USE_PYTHON=unittest
Message-ID:  <202206031702.253H2CR1050903@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=745b1c3b10cf91aec9b8ed562c113ada681f54a4

commit 745b1c3b10cf91aec9b8ed562c113ada681f54a4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-03 16:58:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-03 16:58:02 +0000

    www/py-requests-oauthlib: Convert to USE_PYTHON=unittest
---
 www/py-requests-oauthlib/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/www/py-requests-oauthlib/Makefile b/www/py-requests-oauthlib/Makefile
index 53e2353f5529..e0bafa40c3e2 100644
--- a/www/py-requests-oauthlib/Makefile
+++ b/www/py-requests-oauthlib/Makefile
@@ -18,11 +18,8 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests-mock>=0:www/py-requests-mock@${PY_FLAVOR}
 
 USES=		python:3.6+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils unittest
 
 NO_ARCH=	yes
 
-do-test:
-	cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
-
 .include <bsd.port.mk>



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