git: bb7fb8d2875e - main - devel/py-pyflakes: Convert to USE_PYTHON=unittest

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

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

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

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

diff --git a/devel/py-pyflakes/Makefile b/devel/py-pyflakes/Makefile
index ccdeda32fd48..4881769ef712 100644
--- a/devel/py-pyflakes/Makefile
+++ b/devel/py-pyflakes/Makefile
@@ -13,11 +13,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} -m unittest -v
-
 .include <bsd.port.mk>