Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/nilearn/
Date: Thu, 17 Dec 2015 11:06:54
Message-Id: 1445255036.da3cb7011c5016b41f5cd4b6ec856099625d6a20.jlec@gentoo
1 commit: da3cb7011c5016b41f5cd4b6ec856099625d6a20
2 Author: Horea Christian <h.chr <AT> mail <DOT> ru>
3 AuthorDate: Mon Oct 19 11:43:56 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 19 11:43:56 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=da3cb701
7
8 dev-python/nilearn: added plot use flag, added MY_PV, removed deprecated dependency version
9
10 Package-Manager: portage-2.2.23
11
12 dev-python/nilearn/ChangeLog | 5 +++++
13 dev-python/nilearn/metadata.xml | 9 ++++++---
14 dev-python/nilearn/nilearn-0.1.4.1.ebuild | 9 +++++++--
15 3 files changed, 18 insertions(+), 5 deletions(-)
16
17 diff --git a/dev-python/nilearn/ChangeLog b/dev-python/nilearn/ChangeLog
18 index 8d63e86..ad01f8f 100644
19 --- a/dev-python/nilearn/ChangeLog
20 +++ b/dev-python/nilearn/ChangeLog
21 @@ -2,6 +2,11 @@
22 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
23 # $Id$
24
25 + 19 Oct 2015; Horea Christian <h.chr@××××.ru> metadata.xml,
26 + nilearn-0.1.4.1.ebuild:
27 + dev-python/nilearn: added plot use flag, added MY_PV, removed deprecated
28 + dependency version
29 +
30 19 Oct 2015; Horea Christian <h.chr@××××.ru> nilearn-9999.ebuild:
31 dev-python/nilearn: dropped empty IUSE, added PYTHON_USEDEP
32
33
34 diff --git a/dev-python/nilearn/metadata.xml b/dev-python/nilearn/metadata.xml
35 index f7bdd3f..8b11434 100644
36 --- a/dev-python/nilearn/metadata.xml
37 +++ b/dev-python/nilearn/metadata.xml
38 @@ -7,10 +7,13 @@
39 <name>Horea Christian</name>
40 </maintainer>
41 <longdescription lang="en">
42 - Nilearn is a Python module for fast and easy statistical learning on NeuroImaging data.
43 - It leverages the scikit-learn Python toolbox for multivariate statistics with applications
44 - such as predictive modelling, classification, decoding, or connectivity analysis.
45 + Nilearn is a Python module for fast and easy statistical learning on NeuroImaging data.
46 + It leverages the scikit-learn Python toolbox for multivariate statistics with applications
47 + such as predictive modelling, classification, decoding, or connectivity analysis.
48 </longdescription>
49 + <use>
50 + <flag name="plot">Adds optional dependency needed for plotting function subset.</flag>
51 + </use>
52 <upstream>
53 <remote-id type="pypi">nilearn</remote-id>
54 </upstream>
55
56 diff --git a/dev-python/nilearn/nilearn-0.1.4.1.ebuild b/dev-python/nilearn/nilearn-0.1.4.1.ebuild
57 index 5277778..62b5427 100644
58 --- a/dev-python/nilearn/nilearn-0.1.4.1.ebuild
59 +++ b/dev-python/nilearn/nilearn-0.1.4.1.ebuild
60 @@ -8,13 +8,15 @@ PYTHON_COMPAT=( python2_7 python3_4 )
61
62 inherit distutils-r1
63
64 +MY_PV="0.1.4.post1"
65 DESCRIPTION="Fast and easy statistical learning on NeuroImaging data"
66 HOMEPAGE="http://nilearn.github.io/"
67 -SRC_URI="mirror://pypi/n/${PN}/${PN}-0.1.4.post1.tar.gz -> ${P}.tar.gz"
68 +SRC_URI="mirror://pypi/n/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
69
70 LICENSE="BSD"
71 SLOT="0"
72 KEYWORDS="~amd64 ~x86"
73 +IUSE="+plot"
74
75 DEPEND="
76 dev-python/setuptools[${PYTHON_USEDEP}]
77 @@ -23,4 +25,7 @@ RDEPEND="
78 dev-python/numpy[${PYTHON_USEDEP}]
79 sci-libs/scikits_learn[${PYTHON_USEDEP}]
80 sci-libs/scipy[${PYTHON_USEDEP}]
81 - >=sci-libs/nibabel-1.1.0[${PYTHON_USEDEP}]"
82 + sci-libs/nibabel[${PYTHON_USEDEP}]
83 + plot? ( dev-python/matplotlib[${PYTHON_USEDEP}] )"
84 +
85 +S="${WORKDIR}/${PN}-${MY_PV}"