git: 9f5d0a66ddb8 - main - biology/py-scikit-bio: Update 0.5.7 → 0.5.7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Mar 2023 06:06:01 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=9f5d0a66ddb8a315dd8ef92754d90ad1ddddf8f8 commit 9f5d0a66ddb8a315dd8ef92754d90ad1ddddf8f8 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-03-20 06:05:44 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-03-20 06:05:44 +0000 biology/py-scikit-bio: Update 0.5.7 → 0.5.7 Reported by: portscout --- biology/py-scikit-bio/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/biology/py-scikit-bio/Makefile b/biology/py-scikit-bio/Makefile index c2d78cbcac7b..2d1d90692cca 100644 --- a/biology/py-scikit-bio/Makefile +++ b/biology/py-scikit-bio/Makefile @@ -1,6 +1,5 @@ PORTNAME= scikit-bio -PORTVERSION= 0.5.7 -PORTREVISION= 2 +DISTVERSION= 0.5.7 CATEGORIES= biology education python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -29,7 +28,9 @@ RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>=1.3.0:science/py-scipy@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= distutils cython autoplist +USE_PYTHON= distutils cython autoplist pytest # tests fail to run, see https://github.com/biocore/scikit-bio/issues/1846 + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}ddtrace # lib/python3.8/site-packages/benchmarks/__init__.py @@ -40,4 +41,9 @@ CFLAGS+= -msse2 # workaround for https://github.com/biocore/scikit-bio/issues/17 CXXFLAGS+= -msse2 .endif +post-install: + @${STRIP_CMD} \ + ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/skbio/*/*${PYTHON_EXT_SUFFIX}.so \ + ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/skbio/*/*/*${PYTHON_EXT_SUFFIX}.so + .include <bsd.port.mk>