git: bcb4cd6724bb - main - www/gallery-dl: convert to USE_PYTHON=unittest

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 04 Jun 2022 00:38:36 UTC
The branch main has been updated by jbeich:

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

commit bcb4cd6724bb3361ee0fd90910b26af7baaa1ed9
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-06-03 23:47:43 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-06-04 00:34:54 +0000

    www/gallery-dl: convert to USE_PYTHON=unittest
---
 www/gallery-dl/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/www/gallery-dl/Makefile b/www/gallery-dl/Makefile
index e996d421bc8c..043165310bae 100644
--- a/www/gallery-dl/Makefile
+++ b/www/gallery-dl/Makefile
@@ -16,7 +16,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
 NO_ARCH=	yes
 USES=		python:3.4+
 USE_GITHUB=	yes
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist distutils unittest
 GH_ACCOUNT=	mikf
 
 post-patch:
@@ -28,7 +28,4 @@ post-build:
 # USE_GITHUB archive doesn't have generated files
 	@${DO_MAKE_BUILD} -C ${BUILD_WRKSRC} PYTHON="${PYTHON_CMD}" man completion
 
-do-test:
-	@${PYTHON_CMD} -m unittest discover -vs ${TEST_WRKSRC}
-
 .include <bsd.port.mk>