git: c78f83604899 - main - science/py-nilearn: Update 0.8.1 → 0.10.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 27 Jun 2023 04:41:46 UTC
The branch main has been updated by yuri:

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

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

    science/py-nilearn: Update 0.8.1 → 0.10.1
    
    Reported by:    portscout
---
 science/py-nilearn/Makefile | 24 +++++++++++++-----------
 science/py-nilearn/distinfo |  6 +++---
 2 files changed, 16 insertions(+), 14 deletions(-)

diff --git a/science/py-nilearn/Makefile b/science/py-nilearn/Makefile
index 3f4e5346bbac..a8bf64d5e747 100644
--- a/science/py-nilearn/Makefile
+++ b/science/py-nilearn/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	nilearn
-DISTVERSION=	0.8.1
-PORTREVISION=	1
+DISTVERSION=	0.10.1
 CATEGORIES=	science python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,25 +11,28 @@ WWW=		https://nilearn.github.io/
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN=		does not install: No module named 'threadpoolctl'. Module "sklearn" could not be found. Core reason is that threadpoolctl is broken, see https://reviews.freebsd.org/D35513
-
+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}codecov>0:devel/py-codecov@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}joblib>0:devel/py-joblib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}joblib>=1.0.0:devel/py-joblib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}nibabel>0:science/py-nibabel@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}scikit-learn>0:science/py-scikit-learn@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}nibabel>=3.2.0:science/py-nibabel@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pandas>=1.1.5:math/py-pandas@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.25.0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scikit-learn>=1.0.0:science/py-scikit-learn@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=1.6.0:science/py-scipy@${PY_FLAVOR} \
 		bash:shells/bash
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
 
 USES=		python:3.7+ shebangfix
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	pep517 autoplist
 
-SHEBANG_FILES=	nilearn/datasets/tests/data/list_archive_contents.sh
+SHEBANG_FILES=	nilearn/datasets/tests/data/list_archive_contents.sh \
+		nilearn/plotting/glass_brain_files/plot_align_svg.py
 
 NO_ARCH=	yes
 
diff --git a/science/py-nilearn/distinfo b/science/py-nilearn/distinfo
index d4b78484075f..31bac3d3c1b6 100644
--- a/science/py-nilearn/distinfo
+++ b/science/py-nilearn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1631985926
-SHA256 (nilearn-0.8.1.tar.gz) = a0489940855130f35bbc4cac0750479a6f82025215ea7b1d778faca064219298
-SIZE (nilearn-0.8.1.tar.gz) = 12599106
+TIMESTAMP = 1687838864
+SHA256 (nilearn-0.10.1.tar.gz) = 928a364e7ed77d15d02b7f227197ea7c78f44f2fe780feb555d6d7cf9232f846
+SIZE (nilearn-0.10.1.tar.gz) = 12301816