devel/py-pyrsistent: Convert to USE_PYTHON=pytest
This commit is contained in:
parent
9971a4c752
commit
a4fc5c4a36
1 changed files with 2 additions and 6 deletions
|
@ -12,16 +12,12 @@ LICENSE= MIT
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENCE.mit
|
LICENSE_FILE= ${WRKSRC}/LICENCE.mit
|
||||||
|
|
||||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
|
||||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
|
||||||
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
|
|
||||||
|
|
||||||
USES= python:3.6+
|
USES= python:3.6+
|
||||||
USE_PYTHON= autoplist concurrent distutils
|
USE_PYTHON= autoplist concurrent distutils pytest
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pvectorc*.so
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pvectorc*.so
|
||||||
|
|
||||||
do-test:
|
|
||||||
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Reference in a new issue