commit:     a931815601754aaa61befc845a0db200e3c5e6aa
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
AuthorDate: Sun Jun  8 16:39:19 2025 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
CommitDate: Mon Jun  9 08:55:54 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a9318156

sci-biology/nilearn: drop 0.8.1, DISTUTILS_USE_PEP517=setuptools

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>

 sci-biology/nilearn/nilearn-0.8.1.ebuild           | 42 ----------------------
 ...ilearn-0.9.1.ebuild => nilearn-0.9.1-r1.ebuild} |  2 ++
 2 files changed, 2 insertions(+), 42 deletions(-)

diff --git a/sci-biology/nilearn/nilearn-0.8.1.ebuild 
b/sci-biology/nilearn/nilearn-0.8.1.ebuild
deleted file mode 100644
index 812828762..000000000
--- a/sci-biology/nilearn/nilearn-0.8.1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_11 )
-
-inherit distutils-r1
-
-DESCRIPTION="Fast and easy statistical learning on NeuroImaging data"
-HOMEPAGE="http://nilearn.github.io/";
-SRC_URI="https://github.com/nilearn/nilearn/archive/${PV}.tar.gz -> 
${P}.gh.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-# Tests attempt to download external data.
-RESTRICT="test"
-
-BDEPEND="
-       test? (
-               dev-python/matplotlib[${PYTHON_USEDEP}]
-       )
-"
-
-RDEPEND="
-       >=dev-python/joblib-0.12[${PYTHON_USEDEP}]
-       >=dev-python/numpy-1.16[${PYTHON_USEDEP}]
-       >=dev-python/scikit-learn-0.21[${PYTHON_USEDEP}]
-       >=dev-python/scipy-1.2[${PYTHON_USEDEP}]
-       >=sci-libs/nibabel-2.5[${PYTHON_USEDEP}]
-       >=dev-python/pandas-0.24.0[${PYTHON_USEDEP}]
-       >=dev-python/requests-2[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-       echo "backend: Agg" > matplotlibrc
-       MPLCONFIGDIR=. epytest
-}

diff --git a/sci-biology/nilearn/nilearn-0.9.1.ebuild 
b/sci-biology/nilearn/nilearn-0.9.1-r1.ebuild
similarity index 96%
rename from sci-biology/nilearn/nilearn-0.9.1.ebuild
rename to sci-biology/nilearn/nilearn-0.9.1-r1.ebuild
index b29128954..0d0f67d8c 100644
--- a/sci-biology/nilearn/nilearn-0.9.1.ebuild
+++ b/sci-biology/nilearn/nilearn-0.9.1-r1.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_11 )
 
 inherit distutils-r1
@@ -21,6 +22,7 @@ RDEPEND="
        dev-python/lxml[${PYTHON_USEDEP}]
        >=dev-python/matplotlib-3[${PYTHON_USEDEP}]
        >=dev-python/numpy-1.18[${PYTHON_USEDEP}]
+       <dev-python/numpy-2[${PYTHON_USEDEP}]
        >=dev-python/pandas-1[${PYTHON_USEDEP}]
        >=dev-python/requests-2[${PYTHON_USEDEP}]
        >=dev-python/scipy-1.5[${PYTHON_USEDEP}]

Reply via email to