diff --git a/science/py-nibabel/Makefile b/science/py-nibabel/Makefile index 14e0858a154f..41d0bc6f5515 100644 --- a/science/py-nibabel/Makefile +++ b/science/py-nibabel/Makefile @@ -1,29 +1,29 @@ PORTNAME= nibabel DISTVERSION= 5.1.0 CATEGORIES= science python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Read/write some common neuroimaging file formats WWW= https://nipy.org/nibabel/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}packaging>=17:devel/py-packaging@${PY_FLAVOR} USES= python:3.9+ -USE_PYTHON= pep517 concurrent autoplist pytest +USE_PYTHON= pep517 concurrent autoplist pytest # 3 tests fail, see https://github.com/nipy/nibabel/issues/1235 NO_ARCH= yes post-install: @${REINPLACE_CMD} -i '' -e 's|#!python|#!${PYTHON_CMD}|' \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/nibabel/cmdline/diff.py \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/nibabel/cmdline/ls.py .include