commit: fac3ea3e18b84a8ba1bf7f8c5584a6bf346a3e12 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Tue Sep 7 12:56:19 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Tue Sep 7 12:56:23 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=fac3ea3e
sci-biology/nilearn: drop version 0.6.2 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> sci-biology/nilearn/nilearn-0.6.2.ebuild | 61 -------------------------------- 1 file changed, 61 deletions(-) diff --git a/sci-biology/nilearn/nilearn-0.6.2.ebuild b/sci-biology/nilearn/nilearn-0.6.2.ebuild deleted file mode 100644 index acea71fb2..000000000 --- a/sci-biology/nilearn/nilearn-0.6.2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -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" - -# Tests attempt to download external data. -RESTRICT="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/scikit-learn[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - sci-libs/nibabel[${PYTHON_USEDEP}] - plot? ( <dev-python/matplotlib-3.4.0[${PYTHON_USEDEP}] )" - -# (Temporarily) commented out, since Gentoo sci-libs/scikit-learn decided it -# is a mess to maintain system joblib usage -#PATCHES=( "${FILESDIR}/0.4.1-bundled_joblib_test.patch" ) - -python_prepare_all() { - # upstream is reluctant to *not* depend on bundled scikit-learn: - # https://github.com/nilearn/nilearn/pull/1398 - # (Temporarily) commented out, since Gentoo sci-libs/scikit-learn decided it - # is a mess to maintain system joblib usage - #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 - MPLCONFIGDIR=. pytest -vv || die -}