git: a4fc5c4a36e9 - main - devel/py-pyrsistent: Convert to USE_PYTHON=pytest

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Jun 2022 16:38:11 UTC
The branch main has been updated by sunpoet:

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

commit a4fc5c4a36e9b2631fba63a20b03236bbf40fe6c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-21 16:33:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-21 16:36:31 +0000

    devel/py-pyrsistent: Convert to USE_PYTHON=pytest
---
 devel/py-pyrsistent/Makefile | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/devel/py-pyrsistent/Makefile b/devel/py-pyrsistent/Makefile
index 4f3e484f36ef..606400a8f5d2 100644
--- a/devel/py-pyrsistent/Makefile
+++ b/devel/py-pyrsistent/Makefile
@@ -12,16 +12,12 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENCE.mit
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
 
 USES=		python:3.6+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent distutils pytest
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pvectorc*.so
 
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=
-
 .include <bsd.port.mk>