Gentoo Archives: gentoo-commits

From: Horea Christian <horea.christ@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/samri/
Date: Mon, 14 Jan 2019 17:39:20
Message-Id: 1547487535.9b73be5982c6c1dffb122a1cd10f5997d4d50731.chymera@gentoo
1 commit: 9b73be5982c6c1dffb122a1cd10f5997d4d50731
2 Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
3 AuthorDate: Mon Jan 14 17:36:42 2019 +0000
4 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
5 CommitDate: Mon Jan 14 17:38:55 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=9b73be59
7
8 sci-biology/samri: testing required atlases
9
10 Package-Manager: Portage-2.3.55, Repoman-2.3.12
11 Signed-off-by: Horea Christian <horea.christ <AT> yandex.com>
12
13 sci-biology/samri/samri-0.2.ebuild | 4 +++-
14 sci-biology/samri/samri-9999.ebuild | 4 +++-
15 2 files changed, 6 insertions(+), 2 deletions(-)
16
17 diff --git a/sci-biology/samri/samri-0.2.ebuild b/sci-biology/samri/samri-0.2.ebuild
18 index af8210de2..12c8d5e01 100644
19 --- a/sci-biology/samri/samri-0.2.ebuild
20 +++ b/sci-biology/samri/samri-0.2.ebuild
21 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/IBT-FMI/SAMRI/archive/${PV}.tar.gz -> ${P}.tar.gz"
22
23 LICENSE="GPL-3"
24 SLOT="0"
25 -IUSE="atlases labbookdb test"
26 +IUSE="+atlases labbookdb test"
27 KEYWORDS="~amd64 ~x86"
28
29 # Numpy dependency to circumvent scikits_learn dependency bug:
30 @@ -47,6 +47,8 @@ RDEPEND="
31 sci-biology/nilearn[${PYTHON_USEDEP}]
32 "
33
34 +REQUIRED_USE="test? ( atlases )"
35 +
36 S="${WORKDIR}/SAMRI-${PV}"
37
38 python_test() {
39
40 diff --git a/sci-biology/samri/samri-9999.ebuild b/sci-biology/samri/samri-9999.ebuild
41 index ad9b6a35c..4f2c64bc7 100644
42 --- a/sci-biology/samri/samri-9999.ebuild
43 +++ b/sci-biology/samri/samri-9999.ebuild
44 @@ -14,7 +14,7 @@ EGIT_REPO_URI="https://github.com/IBT-FMI/SAMRI"
45
46 LICENSE="GPL-3"
47 SLOT="0"
48 -IUSE="atlases labbookdb test"
49 +IUSE="+atlases labbookdb test"
50 KEYWORDS=""
51
52 # Numpy dependency to circumvent scikits_learn dependency bug:
53 @@ -48,6 +48,8 @@ RDEPEND="
54 sci-biology/nilearn[${PYTHON_USEDEP}]
55 "
56
57 +REQUIRED_USE="test? ( atlases )"
58 +
59 python_test() {
60 distutils_install_for_testing
61 export MPLBACKEND="agg"