git: c62ec7d7a0e0 - main - devel/py-async_generator: switch to USES=pytest

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Wed, 20 Apr 2022 12:33:10 UTC
The branch main has been updated by amdmi3:

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

commit c62ec7d7a0e01c7dc7df730becf4e89e5486f842
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-20 12:15:04 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-20 12:32:14 +0000

    devel/py-async_generator: switch to USES=pytest
---
 devel/py-async_generator/Makefile | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/devel/py-async_generator/Makefile b/devel/py-async_generator/Makefile
index 6e3a7dd88170..0295ea09fb39 100644
--- a/devel/py-async_generator/Makefile
+++ b/devel/py-async_generator/Makefile
@@ -12,13 +12,8 @@ LICENSE_COMB=	dual
 LICENSE_FILE_MIT=	${WRKSRC}/LICENSE.MIT
 LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE.APACHE2
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
-
-USES=		python:3.5+
+USES=		python:3.5+ pytest
 USE_PYTHON=	autoplist distutils
 NO_ARCH=	yes
 
-do-test:
-	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
-
 .include <bsd.port.mk>