git: 8ccd6d35a6d0 - main - devel/py-pytest-datadir: switch to USES=pytest

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

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

commit 8ccd6d35a6d0a0e3e91d1814c233ad51aa47ec84
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-15 16:30:35 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-19 17:43:13 +0000

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

diff --git a/devel/py-pytest-datadir/Makefile b/devel/py-pytest-datadir/Makefile
index 1ee8ac8b9d95..0ad996e77e0c 100644
--- a/devel/py-pytest-datadir/Makefile
+++ b/devel/py-pytest-datadir/Makefile
@@ -13,12 +13,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${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>