git: a8ae447d4a2a - main - security/py-fido2: Convert to USE_PYTHON=unittest

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 03 Jun 2022 17:02:15 UTC
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>