git: 50b107a43a90 - main - net/py-siosocks: switch to USES=pytest

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

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

commit 50b107a43a901f186df8fd54de69060c4659b2ce
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-20 11:15:44 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-20 11:15:44 +0000

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

diff --git a/net/py-siosocks/Makefile b/net/py-siosocks/Makefile
index a4abe2d74890..b9d4f989a136 100644
--- a/net/py-siosocks/Makefile
+++ b/net/py-siosocks/Makefile
@@ -10,15 +10,11 @@ COMMENT=	Sans-io socks proxy client/server library/framework
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/license.txt
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-trio>=0:devel/py-pytest-trio@${PY_FLAVOR}
 
-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 -v -rs
-
 .include <bsd.port.mk>