git: f2e778008fc8 - main - devel/py-rubymarshal: switch to USES=pytest

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

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

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

    devel/py-rubymarshal: switch to USES=pytest
---
 devel/py-rubymarshal/Makefile | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/devel/py-rubymarshal/Makefile b/devel/py-rubymarshal/Makefile
index 3a2b944a5561..73fcd657fc1a 100644
--- a/devel/py-rubymarshal/Makefile
+++ b/devel/py-rubymarshal/Makefile
@@ -9,19 +9,15 @@ COMMENT=	Read and write Ruby-marshalled data
 LICENSE=	WTFPL
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-mutagen>=0:devel/py-pytest-mutagen@${PY_FLAVOR}
 
 USE_GITHUB=	yes  # tests are missing from PyPI distribution
 GH_ACCOUNT=	d9pouces
 GH_PROJECT=	RubyMarshal
 
-USES=		python:3.6+
+USES=		python:3.6+ pytest
 USE_PYTHON=	autoplist distutils
 NO_ARCH=	yes
 
-do-test:
-	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -o addopts= -v -rs
-
 .include <bsd.port.mk>