commit: da3cb7011c5016b41f5cd4b6ec856099625d6a20 Author: Horea Christian <h.chr <AT> mail <DOT> ru> AuthorDate: Mon Oct 19 11:43:56 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Mon Oct 19 11:43:56 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=da3cb701
dev-python/nilearn: added plot use flag, added MY_PV, removed deprecated dependency version Package-Manager: portage-2.2.23 dev-python/nilearn/ChangeLog | 5 +++++ dev-python/nilearn/metadata.xml | 9 ++++++--- dev-python/nilearn/nilearn-0.1.4.1.ebuild | 9 +++++++-- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/dev-python/nilearn/ChangeLog b/dev-python/nilearn/ChangeLog index 8d63e86..ad01f8f 100644 --- a/dev-python/nilearn/ChangeLog +++ b/dev-python/nilearn/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Id$ + 19 Oct 2015; Horea Christian <h....@mail.ru> metadata.xml, + nilearn-0.1.4.1.ebuild: + dev-python/nilearn: added plot use flag, added MY_PV, removed deprecated + dependency version + 19 Oct 2015; Horea Christian <h....@mail.ru> nilearn-9999.ebuild: dev-python/nilearn: dropped empty IUSE, added PYTHON_USEDEP diff --git a/dev-python/nilearn/metadata.xml b/dev-python/nilearn/metadata.xml index f7bdd3f..8b11434 100644 --- a/dev-python/nilearn/metadata.xml +++ b/dev-python/nilearn/metadata.xml @@ -7,10 +7,13 @@ <name>Horea Christian</name> </maintainer> <longdescription lang="en"> - Nilearn is a Python module for fast and easy statistical learning on NeuroImaging data. - It leverages the scikit-learn Python toolbox for multivariate statistics with applications - such as predictive modelling, classification, decoding, or connectivity analysis. + Nilearn is a Python module for fast and easy statistical learning on NeuroImaging data. + It leverages the scikit-learn Python toolbox for multivariate statistics with applications + such as predictive modelling, classification, decoding, or connectivity analysis. </longdescription> + <use> + <flag name="plot">Adds optional dependency needed for plotting function subset.</flag> + </use> <upstream> <remote-id type="pypi">nilearn</remote-id> </upstream> diff --git a/dev-python/nilearn/nilearn-0.1.4.1.ebuild b/dev-python/nilearn/nilearn-0.1.4.1.ebuild index 5277778..62b5427 100644 --- a/dev-python/nilearn/nilearn-0.1.4.1.ebuild +++ b/dev-python/nilearn/nilearn-0.1.4.1.ebuild @@ -8,13 +8,15 @@ PYTHON_COMPAT=( python2_7 python3_4 ) inherit distutils-r1 +MY_PV="0.1.4.post1" DESCRIPTION="Fast and easy statistical learning on NeuroImaging data" HOMEPAGE="http://nilearn.github.io/" -SRC_URI="mirror://pypi/n/${PN}/${PN}-0.1.4.post1.tar.gz -> ${P}.tar.gz" +SRC_URI="mirror://pypi/n/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="+plot" DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] @@ -23,4 +25,7 @@ RDEPEND=" dev-python/numpy[${PYTHON_USEDEP}] sci-libs/scikits_learn[${PYTHON_USEDEP}] sci-libs/scipy[${PYTHON_USEDEP}] - >=sci-libs/nibabel-1.1.0[${PYTHON_USEDEP}]" + sci-libs/nibabel[${PYTHON_USEDEP}] + plot? ( dev-python/matplotlib[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${PN}-${MY_PV}"