devel/py-click7: Convert to USE_PYTHON=pytest

This commit is contained in:
Po-Chuan Hsieh 2022-06-04 00:57:17 +08:00
parent dd9e315d34
commit a9959ba979
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -13,16 +13,13 @@ COMMENT= Python package for creating command line interfaces
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.rst
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
TEST_ARGS= -p no:warnings
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
PORTSCOUT= limit:^7\.
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -p no:warnings
.include <bsd.port.mk>