commit:     e242a64f577e5d8d1990e44d458fe7d41b1eab20
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Mon Dec 22 17:49:13 2025 +0000
Commit:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
CommitDate: Mon Dec 22 17:49:13 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e242a64f

sci-libs/nipype: Remove py3.11

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>

 sci-libs/nipype/nipype-1.10.0.ebuild   |  2 +-
 sci-libs/nipype/nipype-1.8.4-r1.ebuild | 94 --------------------------------
 sci-libs/nipype/nipype-1.8.4-r2.ebuild | 96 ---------------------------------
 sci-libs/nipype/nipype-1.8.6.ebuild    | 97 ----------------------------------
 4 files changed, 1 insertion(+), 288 deletions(-)

diff --git a/sci-libs/nipype/nipype-1.10.0.ebuild 
b/sci-libs/nipype/nipype-1.10.0.ebuild
index a3b13fd91..1d0bd9dcb 100644
--- a/sci-libs/nipype/nipype-1.10.0.ebuild
+++ b/sci-libs/nipype/nipype-1.10.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_11 )
+PYTHON_COMPAT=( python3_{12..13} )
 PYTHON_REQ_USE="threads(+),sqlite"
 
 inherit distutils-r1

diff --git a/sci-libs/nipype/nipype-1.8.4-r1.ebuild 
b/sci-libs/nipype/nipype-1.8.4-r1.ebuild
deleted file mode 100644
index 10cd0f32b..000000000
--- a/sci-libs/nipype/nipype-1.8.4-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_11 )
-PYTHON_REQ_USE="threads(+),sqlite"
-
-inherit distutils-r1
-
-DESCRIPTION="Neuroimaging in Python: Pipelines and Interfaces"
-HOMEPAGE="https://nipype.readthedocs.io/";
-SRC_URI="https://github.com/nipy/nipype/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-       dev-python/numpy[${PYTHON_USEDEP}]
-       dev-python/prov[${PYTHON_USEDEP}]
-       sci-libs/nibabel[${PYTHON_USEDEP}]
-       test? (
-               dev-python/mock[${PYTHON_USEDEP}]
-               dev-python/pytest[${PYTHON_USEDEP}]
-               ${RDEPEND}
-               )
-"
-
-RDEPEND="
-       dev-python/click[${PYTHON_USEDEP}]
-       dev-python/filelock[${PYTHON_USEDEP}]
-       dev-python/looseversion[${PYTHON_USEDEP}]
-       dev-python/networkx[${PYTHON_USEDEP}]
-       dev-python/packaging[${PYTHON_USEDEP}]
-       dev-python/pydot[${PYTHON_USEDEP}]
-       dev-python/python-dateutil[${PYTHON_USEDEP}]
-       dev-python/rdflib[${PYTHON_USEDEP}]
-       dev-python/scipy[${PYTHON_USEDEP}]
-       dev-python/simplejson[${PYTHON_USEDEP}]
-       <dev-python/traits-6.4.0[${PYTHON_USEDEP}]
-"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-1.8.4-dependency_compatibility.patch"
-)
-
-src_prepare() {
-       # Remove etelemetry
-       sed -i '/"etelemetry/d' nipype/info.py requirements.txt || die
-
-       # Mark failing tests
-       sed -i \
-               -e "/def test_no_et(tmp_path):/[email protected]('Known to 
fail by upstream: 
https://github.com/nipy/nipype/issues/3196#issuecomment-606003186')" \
-               nipype/tests/test_nipype.py || die
-       sed -i \
-               -e "/def test_fslversion():/[email protected]('Known to 
fail by upstream: 
https://github.com/nipy/nipype/issues/3196#issuecomment-605997462')" \
-               nipype/interfaces/fsl/tests/test_base.py || die
-       default
-}
-
-python_install_all() {
-       distutils-r1_python_install_all
-       doenvd "${FILESDIR}/98nipype"
-}
-
-# Reported upstream:
-# https://github.com/nipy/nipype/issues/3540
-EPYTEST_DESELECT=(
-       nipype/interfaces/tests/test_io.py::test_s3datagrabber_communication
-)
-
-python_test() {
-       # Setting environment variable to disable etelemetry version check:
-       # https://github.com/nipy/nipype/issues/3196#issuecomment-605980044
-       NIPYPE_NO_ET=1 epytest
-       # Upstream test configuration fails
-               #-c nipype/pytest.ini\
-               #--doctest-modules nipype\
-               #--cov nipype\
-               #--cov-config .coveragerc\
-               #--cov-report xml:cov.xml\
-}
-
-pkg_postinst() {
-       echo
-       einfo "Please run the following commands if you"
-       einfo "intend to use nipype from an existing shell:"
-       einfo "source /etc/profile"
-       echo
-}

diff --git a/sci-libs/nipype/nipype-1.8.4-r2.ebuild 
b/sci-libs/nipype/nipype-1.8.4-r2.ebuild
deleted file mode 100644
index 41c8d6ba9..000000000
--- a/sci-libs/nipype/nipype-1.8.4-r2.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_11 )
-PYTHON_REQ_USE="threads(+),sqlite"
-
-inherit distutils-r1
-
-DESCRIPTION="Neuroimaging in Python: Pipelines and Interfaces"
-HOMEPAGE="https://nipype.readthedocs.io/";
-SRC_URI="https://github.com/nipy/nipype/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-       dev-python/numpy[${PYTHON_USEDEP}]
-       dev-python/prov[${PYTHON_USEDEP}]
-       sci-libs/nibabel[${PYTHON_USEDEP}]
-       test? (
-               dev-python/mock[${PYTHON_USEDEP}]
-               dev-python/pytest[${PYTHON_USEDEP}]
-               ${RDEPEND}
-               )
-"
-
-RDEPEND="
-       dev-python/click[${PYTHON_USEDEP}]
-       dev-python/filelock[${PYTHON_USEDEP}]
-       dev-python/looseversion[${PYTHON_USEDEP}]
-       dev-python/networkx[${PYTHON_USEDEP}]
-       dev-python/packaging[${PYTHON_USEDEP}]
-       dev-python/pydot[${PYTHON_USEDEP}]
-       dev-python/python-dateutil[${PYTHON_USEDEP}]
-       dev-python/rdflib[${PYTHON_USEDEP}]
-       dev-python/scipy[${PYTHON_USEDEP}]
-       dev-python/simplejson[${PYTHON_USEDEP}]
-       <dev-python/traits-6.4.0[${PYTHON_USEDEP}]
-"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-1.8.4-dependency_compatibility.patch"
-       "${FILESDIR}/${PN}-1.8.4-no_etelemetry.patch"
-)
-
-src_prepare() {
-       # Remove etelemetry
-       # Doing this separately since the file is affected by another patch.
-       sed -i '/"etelemetry/d' nipype/info.py requirements.txt || die
-
-       # Mark failing tests
-       sed -i \
-               -e "/def test_no_et(tmp_path):/[email protected]('Known to 
fail by upstream: 
https://github.com/nipy/nipype/issues/3196#issuecomment-606003186')" \
-               nipype/tests/test_nipype.py || die
-       sed -i \
-               -e "/def test_fslversion():/[email protected]('Known to 
fail by upstream: 
https://github.com/nipy/nipype/issues/3196#issuecomment-605997462')" \
-               nipype/interfaces/fsl/tests/test_base.py || die
-       default
-}
-
-python_install_all() {
-       distutils-r1_python_install_all
-       doenvd "${FILESDIR}/98nipype"
-}
-
-# Reported upstream:
-# https://github.com/nipy/nipype/issues/3540
-EPYTEST_DESELECT=(
-       nipype/interfaces/tests/test_io.py::test_s3datagrabber_communication
-)
-
-python_test() {
-       # Setting environment variable to disable etelemetry version check:
-       # https://github.com/nipy/nipype/issues/3196#issuecomment-605980044
-       NIPYPE_NO_ET=1 epytest
-       # Upstream test configuration fails
-               #-c nipype/pytest.ini\
-               #--doctest-modules nipype\
-               #--cov nipype\
-               #--cov-config .coveragerc\
-               #--cov-report xml:cov.xml\
-}
-
-pkg_postinst() {
-       echo
-       einfo "Please run the following commands if you"
-       einfo "intend to use nipype from an existing shell:"
-       einfo "source /etc/profile"
-       echo
-}

diff --git a/sci-libs/nipype/nipype-1.8.6.ebuild 
b/sci-libs/nipype/nipype-1.8.6.ebuild
deleted file mode 100644
index d12d4dcd9..000000000
--- a/sci-libs/nipype/nipype-1.8.6.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_11 )
-PYTHON_REQ_USE="threads(+),sqlite"
-
-inherit distutils-r1
-
-DESCRIPTION="Neuroimaging in Python: Pipelines and Interfaces"
-HOMEPAGE="https://nipype.readthedocs.io/";
-SRC_URI="https://github.com/nipy/nipype/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-# Tests fail with numpy import error:
-# https://github.com/nipy/nipype/issues/3626
-RESTRICT="test"
-
-DEPEND="
-       dev-python/numpy[${PYTHON_USEDEP}]
-       dev-python/prov[${PYTHON_USEDEP}]
-       sci-libs/nibabel[${PYTHON_USEDEP}]
-       test? (
-               dev-python/mock[${PYTHON_USEDEP}]
-               dev-python/pytest[${PYTHON_USEDEP}]
-               ${RDEPEND}
-               )
-"
-
-RDEPEND="
-       dev-python/click[${PYTHON_USEDEP}]
-       dev-python/filelock[${PYTHON_USEDEP}]
-       dev-python/looseversion[${PYTHON_USEDEP}]
-       dev-python/networkx[${PYTHON_USEDEP}]
-       dev-python/packaging[${PYTHON_USEDEP}]
-       dev-python/pydot[${PYTHON_USEDEP}]
-       dev-python/python-dateutil[${PYTHON_USEDEP}]
-       dev-python/rdflib[${PYTHON_USEDEP}]
-       dev-python/scipy[${PYTHON_USEDEP}]
-       dev-python/simplejson[${PYTHON_USEDEP}]
-       <dev-python/traits-6.4.0[${PYTHON_USEDEP}]
-"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-1.8.4-no_etelemetry.patch"
-)
-
-src_prepare() {
-       # Remove etelemetry
-       # Doing this separately since the file is affected by another patch.
-       sed -i '/"etelemetry/d' nipype/info.py requirements.txt || die
-
-       # Mark failing tests
-       sed -i \
-               -e "/def test_no_et(tmp_path):/[email protected]('Known to 
fail by upstream: 
https://github.com/nipy/nipype/issues/3196#issuecomment-606003186')" \
-               nipype/tests/test_nipype.py || die
-       sed -i \
-               -e "/def test_fslversion():/[email protected]('Known to 
fail by upstream: 
https://github.com/nipy/nipype/issues/3196#issuecomment-605997462')" \
-               nipype/interfaces/fsl/tests/test_base.py || die
-       default
-}
-
-python_install_all() {
-       distutils-r1_python_install_all
-       doenvd "${FILESDIR}/98nipype"
-}
-
-# Reported upstream:
-# https://github.com/nipy/nipype/issues/3540
-EPYTEST_DESELECT=(
-       nipype/interfaces/tests/test_io.py::test_s3datagrabber_communication
-)
-
-python_test() {
-       # Setting environment variable to disable etelemetry version check:
-       # https://github.com/nipy/nipype/issues/3196#issuecomment-605980044
-       NIPYPE_NO_ET=1 epytest
-       # Upstream test configuration fails
-               #-c nipype/pytest.ini\
-               #--doctest-modules nipype\
-               #--cov nipype\
-               #--cov-config .coveragerc\
-               #--cov-report xml:cov.xml\
-}
-
-pkg_postinst() {
-       echo
-       einfo "Please run the following commands if you"
-       einfo "intend to use nipype from an existing shell:"
-       einfo "source /etc/profile"
-       echo
-}

Reply via email to