mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
science/py-h5py: Convert to USE_PYTHON=pytest
This commit is contained in:
parent
9c391385ea
commit
51dba9fbd9
1 changed files with 1 additions and 5 deletions
|
@ -17,10 +17,9 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython>=0.29.15:lang/cython@${PY_FLAVOR} \
|
||||||
${RUN_DEPENDS}
|
${RUN_DEPENDS}
|
||||||
LIB_DEPENDS= libhdf5.so:science/hdf5
|
LIB_DEPENDS= libhdf5.so:science/hdf5
|
||||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.14.5,1:math/py-numpy@${PY_FLAVOR}
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.14.5,1:math/py-numpy@${PY_FLAVOR}
|
||||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR}
|
|
||||||
|
|
||||||
USES= localbase pkgconfig python:3.7+
|
USES= localbase pkgconfig python:3.7+
|
||||||
USE_PYTHON= autoplist concurrent cython distutils
|
USE_PYTHON= autoplist concurrent cython distutils pytest
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||||
|
|
||||||
|
@ -36,7 +35,4 @@ post-install-EXAMPLES-on:
|
||||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${STAGEDIR}${EXAMPLESDIR}
|
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${STAGEDIR}${EXAMPLESDIR}
|
||||||
|
|
||||||
do-test:
|
|
||||||
cd ${WRKSRC} && ${PYTHON_CMD} setup.py test
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue