commit:     9b73be5982c6c1dffb122a1cd10f5997d4d50731
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Mon Jan 14 17:36:42 2019 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon Jan 14 17:38:55 2019 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=9b73be59

sci-biology/samri: testing required atlases

Package-Manager: Portage-2.3.55, Repoman-2.3.12
Signed-off-by: Horea Christian <horea.christ <AT> yandex.com>

 sci-biology/samri/samri-0.2.ebuild  | 4 +++-
 sci-biology/samri/samri-9999.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sci-biology/samri/samri-0.2.ebuild 
b/sci-biology/samri/samri-0.2.ebuild
index af8210de2..12c8d5e01 100644
--- a/sci-biology/samri/samri-0.2.ebuild
+++ b/sci-biology/samri/samri-0.2.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/IBT-FMI/SAMRI/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="atlases labbookdb test"
+IUSE="+atlases labbookdb test"
 KEYWORDS="~amd64 ~x86"
 
 # Numpy dependency to circumvent scikits_learn dependency bug:
@@ -47,6 +47,8 @@ RDEPEND="
        sci-biology/nilearn[${PYTHON_USEDEP}]
        "
 
+REQUIRED_USE="test? ( atlases )"
+
 S="${WORKDIR}/SAMRI-${PV}"
 
 python_test() {

diff --git a/sci-biology/samri/samri-9999.ebuild 
b/sci-biology/samri/samri-9999.ebuild
index ad9b6a35c..4f2c64bc7 100644
--- a/sci-biology/samri/samri-9999.ebuild
+++ b/sci-biology/samri/samri-9999.ebuild
@@ -14,7 +14,7 @@ EGIT_REPO_URI="https://github.com/IBT-FMI/SAMRI";
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="atlases labbookdb test"
+IUSE="+atlases labbookdb test"
 KEYWORDS=""
 
 # Numpy dependency to circumvent scikits_learn dependency bug:
@@ -48,6 +48,8 @@ RDEPEND="
        sci-biology/nilearn[${PYTHON_USEDEP}]
        "
 
+REQUIRED_USE="test? ( atlases )"
+
 python_test() {
        distutils_install_for_testing
        export MPLBACKEND="agg"

Reply via email to