git: 9481f437208c - main - devel/py-pytest-regtest: switch to USES=pytest

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

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

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

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

diff --git a/devel/py-pytest-regtest/Makefile b/devel/py-pytest-regtest/Makefile
index 52393f644879..480230c44c87 100644
--- a/devel/py-pytest-regtest/Makefile
+++ b/devel/py-pytest-regtest/Makefile
@@ -11,13 +11,9 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
 
-USES=		python
+USES=		python 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>