git: 4937de201024 - main - science/py-nibabel: update 5.1.0 → 5.2.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 12 Dec 2023 21:14:18 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4937de20102462bc1f4611e6ecf6dc0dc9ba0e0c

commit 4937de20102462bc1f4611e6ecf6dc0dc9ba0e0c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-12 18:36:26 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-12 21:14:13 +0000

    science/py-nibabel: update 5.1.0 → 5.2.0
    
    Reported by:    portscout
---
 science/py-nibabel/Makefile | 6 ++++--
 science/py-nibabel/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/science/py-nibabel/Makefile b/science/py-nibabel/Makefile
index 41d0bc6f5515..3fbc19195c17 100644
--- a/science/py-nibabel/Makefile
+++ b/science/py-nibabel/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	nibabel
-DISTVERSION=	5.1.0
+DISTVERSION=	5.2.0
 CATEGORIES=	science python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,10 +17,12 @@ RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=17:devel/py-packaging@${PY_FLAVOR}
 
 USES=		python:3.9+
-USE_PYTHON=	pep517 concurrent autoplist pytest # 3 tests fail, see https://github.com/nipy/nibabel/issues/1235
+USE_PYTHON=	pep517 concurrent autoplist pytest # 1 tests fails, see https://github.com/nipy/nibabel/issues/1285
 
 NO_ARCH=	yes
 
+TEST_ENV=	${MAKE_ENV} PATH=${STAGEDIR}${PREFIX}/bin
+
 post-install:
 	@${REINPLACE_CMD} -i '' -e 's|#!python|#!${PYTHON_CMD}|' \
 		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/nibabel/cmdline/diff.py  \
diff --git a/science/py-nibabel/distinfo b/science/py-nibabel/distinfo
index ff31754abb6c..1a3966dd0681 100644
--- a/science/py-nibabel/distinfo
+++ b/science/py-nibabel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1687839690
-SHA256 (nibabel-5.1.0.tar.gz) = ce73ca5e957209e7219a223cb71f77235c9df2acf4d3f27f861ba38e9481ac53
-SIZE (nibabel-5.1.0.tar.gz) = 4498348
+TIMESTAMP = 1702404071
+SHA256 (nibabel-5.2.0.tar.gz) = 3df8f1ab981d1bd92f4331d565528d126ab9717fdbd4cfe68f43fcd1c2bf3f52
+SIZE (nibabel-5.2.0.tar.gz) = 4501846