git: b3808c931d58 - main - www/flexget: convert to USE_PYTHON=pytest

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

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

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

    www/flexget: convert to USE_PYTHON=pytest
---
 www/flexget/Makefile | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/www/flexget/Makefile b/www/flexget/Makefile
index 64c399ba1936..587c6aef69fe 100644
--- a/www/flexget/Makefile
+++ b/www/flexget/Makefile
@@ -38,13 +38,12 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlalchemy13>=1.3.10:databases/py-sqlalchemy
 		${PYTHON_PKGNAMEPREFIX}flask-restx>=0.5.1:www/py-flask-restx@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}html5lib>=0.11:www/py-html5lib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.20.0:www/py-requests@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.3:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}vcrpy>0:devel/py-vcrpy@${PY_FLAVOR} \
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}vcrpy>0:devel/py-vcrpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}boto3>0:www/py-boto3@${PY_FLAVOR}
 
 USES=		python:3.6+
 USE_GITHUB=	yes
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist distutils pytest
 GH_PROJECT=	Flexget
 NO_ARCH=	yes
 
@@ -52,7 +51,4 @@ post-extract:
 # Unlock dependencies' versions
 	@${MV} ${WRKSRC}/requirements.in ${WRKSRC}/requirements.txt
 
-do-test:
-	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
-
 .include <bsd.port.mk>