devel/py-pyrsistent: Convert to USE_PYTHON=pytest

This commit is contained in:
Po-Chuan Hsieh 2022-06-22 00:33:47 +08:00
parent 9971a4c752
commit a4fc5c4a36
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -12,16 +12,12 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENCE.mit
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent distutils pytest
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pvectorc*.so
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=
.include <bsd.port.mk>