commit:     7bef2d2f75737e2e890d9c947ab3c8c571fececa
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 30 14:49:57 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Nov 30 14:49:57 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=7bef2d2f

sci-libs/tmglib: Only require python for tests

Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-libs/tmglib/tmglib-3.5.0.ebuild | 7 ++++---
 sci-libs/tmglib/tmglib-3.6.0.ebuild | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/sci-libs/tmglib/tmglib-3.5.0.ebuild 
b/sci-libs/tmglib/tmglib-3.5.0.ebuild
index 4b5358f..36512bd 100644
--- a/sci-libs/tmglib/tmglib-3.5.0.ebuild
+++ b/sci-libs/tmglib/tmglib-3.5.0.ebuild
@@ -17,14 +17,15 @@ SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz";
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs"
+IUSE="static-libs test"
 
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
 
-RDEPEND="${PYTHON_DEPS}
+RDEPEND="
        virtual/blas
        virtual/lapack"
 DEPEND="${RDEPEND}
+       test? ( ${PYTHON_DEPS} )
        virtual/pkgconfig"
 
 S="${WORKDIR}/${MYP}"

diff --git a/sci-libs/tmglib/tmglib-3.6.0.ebuild 
b/sci-libs/tmglib/tmglib-3.6.0.ebuild
index cf243a5..4f66f45 100644
--- a/sci-libs/tmglib/tmglib-3.6.0.ebuild
+++ b/sci-libs/tmglib/tmglib-3.6.0.ebuild
@@ -17,14 +17,15 @@ SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz";
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs"
+IUSE="static-libs test"
 
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
 
-RDEPEND="${PYTHON_DEPS}
+RDEPEND="
        virtual/blas
        virtual/lapack"
 DEPEND="${RDEPEND}
+       test? ( ${PYTHON_DEPS} )
        virtual/pkgconfig"
 
 S="${WORKDIR}/${MYP}"

Reply via email to