git: c3c38a46b080 - main - security/py-zxcvbn: convert to USE_PYTHON=pytest

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 04 Jun 2022 00:38:34 UTC
The branch main has been updated by jbeich:

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

commit c3c38a46b0806551b7c8c48d618114c40ceaf64e
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-06-03 23:52:31 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-06-04 00:34:53 +0000

    security/py-zxcvbn: convert to USE_PYTHON=pytest
---
 security/py-zxcvbn/Makefile | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/security/py-zxcvbn/Makefile b/security/py-zxcvbn/Makefile
index 0d875b97ce7a..af17e2b5522c 100644
--- a/security/py-zxcvbn/Makefile
+++ b/security/py-zxcvbn/Makefile
@@ -10,16 +10,11 @@ COMMENT=	Realistic password strength estimator
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
-
 NO_ARCH=	yes
 USES=		python:3.6+
 USE_GITHUB=	yes
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist distutils pytest
 GH_ACCOUNT=	dwolfhub
 GH_PROJECT=	${PORTNAME}-python
 
-do-test:
-	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
-
 .include <bsd.port.mk>