git: ade56e08ba22 - main - www/py-feedgenerator: Convert to USE_PYTHON=unittest

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

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

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

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

diff --git a/www/py-feedgenerator/Makefile b/www/py-feedgenerator/Makefile
index 1069ae4b5b2f..1842aba34095 100644
--- a/www/py-feedgenerator/Makefile
+++ b/www/py-feedgenerator/Makefile
@@ -15,11 +15,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR}
 
 USES=		python:3.6+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils unittest
 
 NO_ARCH=	yes
 
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
-
 .include <bsd.port.mk>