Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2022 17:01:45 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 51dba9fbd97c - main - science/py-h5py: Convert to USE_PYTHON=pytest
Message-ID:  <202206031701.253H1jgW050055@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=51dba9fbd97c0a56ebbfc601e9b24c838a80cf68

commit 51dba9fbd97c0a56ebbfc601e9b24c838a80cf68
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-03 16:57:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-03 16:57:26 +0000

    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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206031701.253H1jgW050055>