Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2023 04:41:47 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 320db292d72f - main - =?utf-8?Q?science/py-nibabel:=20Update=203.2.2=20=E2=86=92=205.1.0?=
Message-ID:  <202306270441.35R4fl7I049094@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=320db292d72f1efd1ad30437fe3cc04143d1cb48

commit 320db292d72f1efd1ad30437fe3cc04143d1cb48
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-27 04:41:28 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-27 04:41:40 +0000

    science/py-nibabel: Update 3.2.2 → 5.1.0
    
    Reported by:    portscout
---
 science/py-nibabel/Makefile | 16 +++++++++++-----
 science/py-nibabel/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/science/py-nibabel/Makefile b/science/py-nibabel/Makefile
index 4396ad1629ac..14e0858a154f 100644
--- a/science/py-nibabel/Makefile
+++ b/science/py-nibabel/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	nibabel
-DISTVERSION=	3.2.2
-PORTREVISION=	1
+DISTVERSION=	5.1.0
 CATEGORIES=	science python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,12 +11,19 @@ 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>0:devel/py-packaging@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}packaging>=17:devel/py-packaging@${PY_FLAVOR}
 
-USES=		python:3.6+
-USE_PYTHON=	distutils concurrent autoplist
+USES=		python:3.9+
+USE_PYTHON=	pep517 concurrent autoplist pytest
 
 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 <bsd.port.mk>
diff --git a/science/py-nibabel/distinfo b/science/py-nibabel/distinfo
index c44c5d494b42..ff31754abb6c 100644
--- a/science/py-nibabel/distinfo
+++ b/science/py-nibabel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650778012
-SHA256 (nibabel-3.2.2.tar.gz) = b0dcc174b30405ce9e8fec1eab3cbbb20f5c5e4920976c08b22e050b7c124f94
-SIZE (nibabel-3.2.2.tar.gz) = 4738019
+TIMESTAMP = 1687839690
+SHA256 (nibabel-5.1.0.tar.gz) = ce73ca5e957209e7219a223cb71f77235c9df2acf4d3f27f861ba38e9481ac53
+SIZE (nibabel-5.1.0.tar.gz) = 4498348



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