git: bd7be8d3d843 - main - devel/py-outcome: switch to USES=pytest

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Tue, 19 Apr 2022 17:43:24 UTC
The branch main has been updated by amdmi3:

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

commit bd7be8d3d8431f09c5bb5de7e26727692df705d6
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-15 16:23:40 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-19 17:43:12 +0000

    devel/py-outcome: switch to USES=pytest
---
 devel/py-outcome/Makefile | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/devel/py-outcome/Makefile b/devel/py-outcome/Makefile
index f2170c2145f0..6140bf1f9bcc 100644
--- a/devel/py-outcome/Makefile
+++ b/devel/py-outcome/Makefile
@@ -13,16 +13,11 @@ LICENSE_FILE_MIT=	${WRKSRC}/LICENSE.MIT
 LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE.APACHE2
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>0:devel/py-attrs@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}async_generator>=0:devel/py-async_generator@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		python:3.6+ pytest
 USE_PYTHON=	autoplist distutils
 NO_ARCH=	yes
-TEST_ENV=	PYTHONPATH="${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}"
-
-do-test:
-	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
 
 .include <bsd.port.mk>