Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2022 17:02:15 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: a8ae447d4a2a - main - security/py-fido2: Convert to USE_PYTHON=unittest
Message-ID:  <202206031702.253H2F8O050975@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=a8ae447d4a2a4386faa1c5968c5ab65fbb46e1de

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

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

diff --git a/security/py-fido2/Makefile b/security/py-fido2/Makefile
index 9b895d8817f6..b1c88628a94d 100644
--- a/security/py-fido2/Makefile
+++ b/security/py-fido2/Makefile
@@ -15,11 +15,8 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=1.5:security/py-cryptography@$
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
 
 USES=		python:3.6+
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist distutils unittest
 
 NO_ARCH=	yes
 
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover -v
-
 .include <bsd.port.mk>



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