git: 83b65dde5b4f - main - devel/py-urwid: Convert to USE_PYTHON=unittest

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Jun 2022 16:38:14 UTC
The branch main has been updated by sunpoet:

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

commit 83b65dde5b4f05a0e426547f5e2f2207beb0c7a3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-21 16:33:49 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-21 16:36:31 +0000

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

diff --git a/devel/py-urwid/Makefile b/devel/py-urwid/Makefile
index ae16e6a92595..e9220d9cd501 100644
--- a/devel/py-urwid/Makefile
+++ b/devel/py-urwid/Makefile
@@ -13,7 +13,7 @@ LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		python:3.6+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils unittest
 
 PORTEXAMPLES=	*
 
@@ -26,7 +26,4 @@ post-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
 	cd ${WRKSRC}/examples/ && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR}/
 
-do-test:
-	cd ${WRKSRC}/ && ${PYTHON_CMD} setup.py test
-
 .include <bsd.port.mk>