Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2022 00:38:34 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c3c38a46b080 - main - security/py-zxcvbn: convert to USE_PYTHON=pytest
Message-ID:  <202206040038.2540cYjt063283@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206040038.2540cYjt063283>