git: d691f0b2a87d - main - security/py-pyotp: Convert to USE_PYTHON=unittest

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 09 Jun 2022 11:04:24 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d691f0b2a87d9d57d9e9abeeed8b137d1eb6a3b4

commit d691f0b2a87d9d57d9e9abeeed8b137d1eb6a3b4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 10:59:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 10:59:23 +0000

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

diff --git a/security/py-pyotp/Makefile b/security/py-pyotp/Makefile
index 433528adf93e..294537f54c19 100644
--- a/security/py-pyotp/Makefile
+++ b/security/py-pyotp/Makefile
@@ -11,11 +11,8 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		python:3.4+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils unittest
 
 NO_ARCH=	yes
 
-do-test:
-	cd ${WRKSRC} && ${PYTHON_CMD} test.py
-
 .include <bsd.port.mk>