git: fe8a598aa597 - main - devel/py-pytest-mutagen: switch to USES=pytest

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

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

commit fe8a598aa5970004bf5f4e222e189a2c1d49bb2d
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-15 15:27:29 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-19 17:43:12 +0000

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

diff --git a/devel/py-pytest-mutagen/Makefile b/devel/py-pytest-mutagen/Makefile
index 84365698a675..0e773648e9ad 100644
--- a/devel/py-pytest-mutagen/Makefile
+++ b/devel/py-pytest-mutagen/Makefile
@@ -16,12 +16,9 @@ USE_GITHUB=	yes  # LICENSE and tests are missing from PyPI distribution
 GH_ACCOUNT=	timpaquatte
 GH_TAGNAME=	b4cc63c  # 1.3 tag is also missing
 
-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
+PYTEST_BROKEN_TESTS=	test_BST_mutations test_short_example test_separate_files
 
 .include <bsd.port.mk>