git: f976d1d69947 - main - textproc/py-diff-match-patch: Convert to USE_PYTHON=unittest

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

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

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

    textproc/py-diff-match-patch: Convert to USE_PYTHON=unittest
---
 textproc/py-diff-match-patch/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/textproc/py-diff-match-patch/Makefile b/textproc/py-diff-match-patch/Makefile
index 9c28c0572fb4..326b201bee19 100644
--- a/textproc/py-diff-match-patch/Makefile
+++ b/textproc/py-diff-match-patch/Makefile
@@ -13,14 +13,11 @@ LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		python:3.6+ shebangfix
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils unittest
 
 NO_ARCH=	yes
 
 python_OLD_CMD=	/usr/bin/python[0-9\.]*
 SHEBANG_GLOB=	*.py
 
-do-test:
-	cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
-
 .include <bsd.port.mk>