1 |
commit: 55c76cbf01847da2c4887679b52c414ac1aa10c5 |
2 |
Author: Horea Christian <h.chr <AT> mail <DOT> ru> |
3 |
AuthorDate: Thu Nov 19 00:27:15 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 19 00:27:15 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=55c76cbf |
7 |
|
8 |
dev-python/nilearn: added test flag and test dependency |
9 |
|
10 |
Package-Manager: portage-2.2.23 |
11 |
|
12 |
dev-python/nilearn/ChangeLog | 4 ++++ |
13 |
dev-python/nilearn/nilearn-0.1.4.1.ebuild | 3 ++- |
14 |
dev-python/nilearn/nilearn-9999.ebuild | 9 ++++++++- |
15 |
3 files changed, 14 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/nilearn/ChangeLog b/dev-python/nilearn/ChangeLog |
18 |
index 4cf4d12..19503f2 100644 |
19 |
--- a/dev-python/nilearn/ChangeLog |
20 |
+++ b/dev-python/nilearn/ChangeLog |
21 |
@@ -2,6 +2,10 @@ |
22 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
23 |
# $Id$ |
24 |
|
25 |
+ 19 Nov 2015; <chymera@g.o> nilearn-0.1.4.1.ebuild, |
26 |
+ nilearn-9999.ebuild: |
27 |
+ dev-python/nilearn: added test flag and test dependency |
28 |
+ |
29 |
14 Nov 2015; Horea Christian <h.chr@××××.ru> nilearn-0.1.4.1.ebuild: |
30 |
dev-python/nilearn: added test function |
31 |
|
32 |
|
33 |
diff --git a/dev-python/nilearn/nilearn-0.1.4.1.ebuild b/dev-python/nilearn/nilearn-0.1.4.1.ebuild |
34 |
index d8c0ded..90623f8 100644 |
35 |
--- a/dev-python/nilearn/nilearn-0.1.4.1.ebuild |
36 |
+++ b/dev-python/nilearn/nilearn-0.1.4.1.ebuild |
37 |
@@ -16,12 +16,13 @@ SRC_URI="mirror://pypi/n/${PN}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz" |
38 |
LICENSE="BSD" |
39 |
SLOT="0" |
40 |
KEYWORDS="~amd64 ~x86" |
41 |
-IUSE="+plot" |
42 |
+IUSE="+plot test" |
43 |
|
44 |
DEPEND=" |
45 |
dev-python/setuptools[${PYTHON_USEDEP}] |
46 |
" |
47 |
RDEPEND=" |
48 |
+ test? ( dev-python/nose[${PYTHON_USEDEP}] ) |
49 |
dev-python/numpy[${PYTHON_USEDEP}] |
50 |
sci-libs/scikits_learn[${PYTHON_USEDEP}] |
51 |
sci-libs/scipy[${PYTHON_USEDEP}] |
52 |
|
53 |
diff --git a/dev-python/nilearn/nilearn-9999.ebuild b/dev-python/nilearn/nilearn-9999.ebuild |
54 |
index a1b3989..5282afe 100644 |
55 |
--- a/dev-python/nilearn/nilearn-9999.ebuild |
56 |
+++ b/dev-python/nilearn/nilearn-9999.ebuild |
57 |
@@ -16,14 +16,21 @@ EGIT_REPO_URI="git://github.com/nilearn/nilearn" |
58 |
LICENSE="BSD" |
59 |
SLOT="0" |
60 |
KEYWORDS="" |
61 |
-IUSE="+plot" |
62 |
+IUSE="+plot test" |
63 |
|
64 |
DEPEND=" |
65 |
dev-python/setuptools[${PYTHON_USEDEP}] |
66 |
" |
67 |
RDEPEND=" |
68 |
+ test? ( dev-python/nose[${PYTHON_USEDEP}] ) |
69 |
dev-python/numpy[${PYTHON_USEDEP}] |
70 |
sci-libs/scikits_learn[${PYTHON_USEDEP}] |
71 |
sci-libs/scipy[${PYTHON_USEDEP}] |
72 |
sci-libs/nibabel[${PYTHON_USEDEP}] |
73 |
plot? ( dev-python/matplotlib[${PYTHON_USEDEP}] )" |
74 |
+ |
75 |
+src_test() { |
76 |
+ emake test-code |
77 |
+} |
78 |
+ |
79 |
+ |