commit:     a1fb6e9d2b23596ae7f5df600b789ca8b7ecd4d6
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 30 13:13:39 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Nov 30 13:13:39 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a1fb6e9d

sci-libs/tmglib: Version Bump, fix python support, clean old

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

 sci-libs/tmglib/tmglib-3.5.0.ebuild                        | 10 +++++++---
 .../tmglib/{tmglib-3.4.2.ebuild => tmglib-3.6.0.ebuild}    | 14 +++++++++-----
 2 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/sci-libs/tmglib/tmglib-3.5.0.ebuild 
b/sci-libs/tmglib/tmglib-3.5.0.ebuild
index e93941e..4b5358f 100644
--- a/sci-libs/tmglib/tmglib-3.5.0.ebuild
+++ b/sci-libs/tmglib/tmglib-3.5.0.ebuild
@@ -1,10 +1,12 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-inherit cmake-utils fortran-2
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils fortran-2 python-any-r1
 
 MYP=lapack-${PV}
 
@@ -17,7 +19,9 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs"
 
-RDEPEND="
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
        virtual/blas
        virtual/lapack"
 DEPEND="${RDEPEND}

diff --git a/sci-libs/tmglib/tmglib-3.4.2.ebuild 
b/sci-libs/tmglib/tmglib-3.6.0.ebuild
similarity index 82%
rename from sci-libs/tmglib/tmglib-3.4.2.ebuild
rename to sci-libs/tmglib/tmglib-3.6.0.ebuild
index 9d98070..cf243a5 100644
--- a/sci-libs/tmglib/tmglib-3.4.2.ebuild
+++ b/sci-libs/tmglib/tmglib-3.6.0.ebuild
@@ -4,9 +4,11 @@
 
 EAPI=5
 
-inherit cmake-utils fortran-2
+PYTHON_COMPAT=( python2_7 )
 
-MYP=lapack-3.4.2
+inherit cmake-utils fortran-2 python-any-r1
+
+MYP=lapack-${PV}
 
 DESCRIPTION="Test Matrix Generator library for LAPACK"
 HOMEPAGE="http://www.netlib.org/lapack/";
@@ -17,7 +19,9 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs"
 
-RDEPEND="
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
        virtual/blas
        virtual/lapack"
 DEPEND="${RDEPEND}
@@ -56,6 +60,6 @@ src_compile() {
 
 src_install() {
        cmake-utils_src_install -C TESTING/MATGEN
-       use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
-                       cmake-utils_src_install -C TESTING/MATGEN
+       use static-libs \
+               && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" 
cmake-utils_src_install -C TESTING/MATGEN
 }

Reply via email to