Skip to content

Commit

Permalink
science/py-h5py: Convert to USE_PYTHON=pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Jun 3, 2022
1 parent 9c39138 commit 51dba9f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions science/py-h5py/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython>=0.29.15:lang/cython@${PY_FLAVOR} \
${RUN_DEPENDS}
LIB_DEPENDS= libhdf5.so:science/hdf5
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+
USE_PYTHON= autoplist concurrent cython distutils
USE_PYTHON= autoplist concurrent cython distutils pytest

OPTIONS_DEFINE= DOCS EXAMPLES

Expand All @@ -36,7 +35,4 @@ post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${STAGEDIR}${EXAMPLESDIR}

do-test:
cd ${WRKSRC} && ${PYTHON_CMD} setup.py test

.include <bsd.port.mk>

0 comments on commit 51dba9f

Please sign in to comment.