git: c32922297e94 - main - devel/py-simplejson: Convert to USE_PYTHON=unittest

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

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

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

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

diff --git a/devel/py-simplejson/Makefile b/devel/py-simplejson/Makefile
index e159f74121ff..9bcb80b36292 100644
--- a/devel/py-simplejson/Makefile
+++ b/devel/py-simplejson/Makefile
@@ -15,12 +15,9 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 USES=		cpe python:3.6+
 CPE_VENDOR=	simplejson_project
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils unittest
 
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
-do-test:
-	cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
-
 .include <bsd.port.mk>