git: c67fba1b19ec - main - dns/py-idna: Convert to USE_PYTHON=unittest

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 03 Jun 2022 17:02:04 UTC
The branch main has been updated by sunpoet:

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

commit c67fba1b19ece3295c8d3d1ddb18c125490fae5c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-03 16:57:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-03 16:57:46 +0000

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

diff --git a/dns/py-idna/Makefile b/dns/py-idna/Makefile
index 522dfab1c92b..ad4e172604ac 100644
--- a/dns/py-idna/Makefile
+++ b/dns/py-idna/Makefile
@@ -13,11 +13,8 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 USES=		python:3.5+
-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>