From 51dba9fbd97c0a56ebbfc601e9b24c838a80cf68 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Sat, 4 Jun 2022 00:57:26 +0800 Subject: [PATCH] science/py-h5py: Convert to USE_PYTHON=pytest --- science/py-h5py/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/science/py-h5py/Makefile b/science/py-h5py/Makefile index 2e8838f5ced3..edf0d497b87c 100644 --- a/science/py-h5py/Makefile +++ b/science/py-h5py/Makefile @@ -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 @@ -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