1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

security/py-zxcvbn: convert to USE_PYTHON=pytest

This commit is contained in:
Jan Beich 2022-06-03 23:52:31 +00:00
parent 5bd4c01276
commit c3c38a46b0

View File

@ -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>