git: adcb435d3f5d - main - security/py-paramiko: Convert to USE_PYTHON=pytest4

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 15:24:28 UTC
The branch main has been updated by sunpoet:

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

commit adcb435d3f5d035e7bb713580fba65bd3aca058a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 15:22:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 15:22:00 +0000

    security/py-paramiko: Convert to USE_PYTHON=pytest4
    
    Approved by:    portmgr (blanket)
    With hat:       python
---
 security/py-paramiko/Makefile | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/security/py-paramiko/Makefile b/security/py-paramiko/Makefile
index bd3897ba2447..eb0791856c70 100644
--- a/security/py-paramiko/Makefile
+++ b/security/py-paramiko/Makefile
@@ -15,18 +15,17 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.3:security/py-bcrypt@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.7:devel/py-pyasn1@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pynacl>=1.0.1:security/py-pynacl@${PY_FLAVOR}
-
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}invoke>=0:devel/py-invoke@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-relaxed>=0:devel/py-pytest-relaxed@${PY_FLAVOR}
 
-USES=		cpe pytest:4 python
-USE_PYTHON=	autoplist cryptography distutils
+USES=		cpe python
+USE_PYTHON=	autoplist cryptography distutils pytest4
+
 NO_ARCH=	yes
+TEST_ARGS=	-p no:relaxed
 
 OPTIONS_DEFINE=		GSSAPI
 GSSAPI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gssapi>=1.4.1:security/py-gssapi@${PY_FLAVOR}
 
-PYTEST_ARGS=	-p no:relaxed
-
 .include <bsd.port.mk>