commit: c1ff71885f1648f5729bba279c33750ec21fe4b7
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Fri Jan 10 12:44:27 2020 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Fri Jan 10 12:44:27 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c1ff7188
sci-biology/nilearn: deprecated versions and PYTHON_COMPAT
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
sci-biology/nilearn/nilearn-0.3.1.ebuild | 51 ------------------------------
sci-biology/nilearn/nilearn-0.4.1.ebuild | 53 --------------------------------
sci-biology/nilearn/nilearn-0.5.0.ebuild | 4 +--
sci-biology/nilearn/nilearn-0.5.2.ebuild | 4 +--
4 files changed, 4 insertions(+), 108 deletions(-)
diff --git a/sci-biology/nilearn/nilearn-0.3.1.ebuild
b/sci-biology/nilearn/nilearn-0.3.1.ebuild
deleted file mode 100644
index 49f7a1a33..000000000
--- a/sci-biology/nilearn/nilearn-0.3.1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-
-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}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+plot test"
-
-DEPEND="
- test? (
- ${RDEPEND}
- dev-python/nose[${PYTHON_USEDEP}]
- )
- dev-python/setuptools[${PYTHON_USEDEP}]
- "
-RDEPEND="
- dev-python/joblib[${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]
- sci-libs/scikits_learn[${PYTHON_USEDEP}]
- sci-libs/scipy[${PYTHON_USEDEP}]
- sci-libs/nibabel[${PYTHON_USEDEP}]
- plot? ( dev-python/matplotlib[${PYTHON_USEDEP}] )"
-
-# upstream is reluctant to *not* depend on bundled scikits_learn:
-# https://github.com/nilearn/nilearn/pull/1398
-python_prepare_all() {
- local f
- for f in nilearn/{*/*/,*/,}*.py; do
- sed -r \
- -e '/^from/s/(sklearn|\.|)\.externals\.joblib/joblib/' \
- -e 's/from (sklearn|\.|)\.externals import/import/' \
- -i $f || die
- done
-
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- echo "backend: Agg" > matplotlibrc
- MPLCONFIGDIR=. nosetests -v || die
-}
diff --git a/sci-biology/nilearn/nilearn-0.4.1.ebuild
b/sci-biology/nilearn/nilearn-0.4.1.ebuild
deleted file mode 100644
index 80d3e2910..000000000
--- a/sci-biology/nilearn/nilearn-0.4.1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
-
-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}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+plot test"
-
-DEPEND="
- test? (
- ${RDEPEND}
- dev-python/nose[${PYTHON_USEDEP}]
- )
- dev-python/setuptools[${PYTHON_USEDEP}]
- "
-RDEPEND="
- dev-python/joblib[${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]
- sci-libs/scikits_learn[${PYTHON_USEDEP}]
- sci-libs/scipy[${PYTHON_USEDEP}]
- sci-libs/nibabel[${PYTHON_USEDEP}]
- plot? ( dev-python/matplotlib[${PYTHON_USEDEP}] )"
-
-PATCHES=( "${FILESDIR}/${PV}-bundled_joblib_test.patch" )
-
-python_prepare_all() {
- # upstream is reluctant to *not* depend on bundled scikits_learn:
- # https://github.com/nilearn/nilearn/pull/1398
- local f
- for f in nilearn/{*/*/,*/,}*.py; do
- sed -r \
- -e '/^from/s/(sklearn|\.|)\.externals\.joblib/joblib/' \
- -e 's/from (sklearn|\.|)\.externals import/import/' \
- -i $f || die
- done
-
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- echo "backend: Agg" > matplotlibrc
- MPLCONFIGDIR=. nosetests -v || die
-}
diff --git a/sci-biology/nilearn/nilearn-0.5.0.ebuild
b/sci-biology/nilearn/nilearn-0.5.0.ebuild
index 3380e73c6..a38871f47 100644
--- a/sci-biology/nilearn/nilearn-0.5.0.ebuild
+++ b/sci-biology/nilearn/nilearn-0.5.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
diff --git a/sci-biology/nilearn/nilearn-0.5.2.ebuild
b/sci-biology/nilearn/nilearn-0.5.2.ebuild
index 81a34ee9f..e88c48c88 100644
--- a/sci-biology/nilearn/nilearn-0.5.2.ebuild
+++ b/sci-biology/nilearn/nilearn-0.5.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_COMPAT=( python3_6 )
inherit distutils-r1