git: 5bd4c01276eb - main - devel/py-pytest-asyncio: convert to USE_PYTHON=pytest

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

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

commit 5bd4c01276eb12239ebadfc44f2cb2f4a4a3dbd4
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-06-03 23:51:30 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-06-04 00:34:53 +0000

    devel/py-pytest-asyncio: convert to USE_PYTHON=pytest
---
 devel/py-pytest-asyncio/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/devel/py-pytest-asyncio/Makefile b/devel/py-pytest-asyncio/Makefile
index 684f3cd8995b..7435d8ccaaea 100644
--- a/devel/py-pytest-asyncio/Makefile
+++ b/devel/py-pytest-asyncio/Makefile
@@ -19,7 +19,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flaky>=3.5.0:devel/py-flaky@${PY_FLAVOR} \
 
 NO_ARCH=	yes
 USES=		python:3.7+
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist distutils pytest
 
 .include <bsd.port.pre.mk>
 
@@ -27,7 +27,4 @@ USE_PYTHON=	autoplist distutils
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
 .endif
 
-do-test:
-	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
-
 .include <bsd.port.post.mk>