Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/tmglib/
Date: Mon, 30 Nov 2015 18:33:42
Message-Id: 1448889219.a1fb6e9d2b23596ae7f5df600b789ca8b7ecd4d6.jlec@gentoo
1 commit: a1fb6e9d2b23596ae7f5df600b789ca8b7ecd4d6
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 30 13:13:39 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 30 13:13:39 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a1fb6e9d
7
8 sci-libs/tmglib: Version Bump, fix python support, clean old
9
10 Package-Manager: portage-2.2.25
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 sci-libs/tmglib/tmglib-3.5.0.ebuild | 10 +++++++---
14 .../tmglib/{tmglib-3.4.2.ebuild => tmglib-3.6.0.ebuild} | 14 +++++++++-----
15 2 files changed, 16 insertions(+), 8 deletions(-)
16
17 diff --git a/sci-libs/tmglib/tmglib-3.5.0.ebuild b/sci-libs/tmglib/tmglib-3.5.0.ebuild
18 index e93941e..4b5358f 100644
19 --- a/sci-libs/tmglib/tmglib-3.5.0.ebuild
20 +++ b/sci-libs/tmglib/tmglib-3.5.0.ebuild
21 @@ -1,10 +1,12 @@
22 -# Copyright 1999-2014 Gentoo Foundation
23 +# Copyright 1999-2015 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 # $Id$
26
27 EAPI=5
28
29 -inherit cmake-utils fortran-2
30 +PYTHON_COMPAT=( python2_7 )
31 +
32 +inherit cmake-utils fortran-2 python-any-r1
33
34 MYP=lapack-${PV}
35
36 @@ -17,7 +19,9 @@ SLOT="0"
37 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
38 IUSE="static-libs"
39
40 -RDEPEND="
41 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
42 +
43 +RDEPEND="${PYTHON_DEPS}
44 virtual/blas
45 virtual/lapack"
46 DEPEND="${RDEPEND}
47
48 diff --git a/sci-libs/tmglib/tmglib-3.4.2.ebuild b/sci-libs/tmglib/tmglib-3.6.0.ebuild
49 similarity index 82%
50 rename from sci-libs/tmglib/tmglib-3.4.2.ebuild
51 rename to sci-libs/tmglib/tmglib-3.6.0.ebuild
52 index 9d98070..cf243a5 100644
53 --- a/sci-libs/tmglib/tmglib-3.4.2.ebuild
54 +++ b/sci-libs/tmglib/tmglib-3.6.0.ebuild
55 @@ -4,9 +4,11 @@
56
57 EAPI=5
58
59 -inherit cmake-utils fortran-2
60 +PYTHON_COMPAT=( python2_7 )
61
62 -MYP=lapack-3.4.2
63 +inherit cmake-utils fortran-2 python-any-r1
64 +
65 +MYP=lapack-${PV}
66
67 DESCRIPTION="Test Matrix Generator library for LAPACK"
68 HOMEPAGE="http://www.netlib.org/lapack/"
69 @@ -17,7 +19,9 @@ SLOT="0"
70 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
71 IUSE="static-libs"
72
73 -RDEPEND="
74 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
75 +
76 +RDEPEND="${PYTHON_DEPS}
77 virtual/blas
78 virtual/lapack"
79 DEPEND="${RDEPEND}
80 @@ -56,6 +60,6 @@ src_compile() {
81
82 src_install() {
83 cmake-utils_src_install -C TESTING/MATGEN
84 - use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \
85 - cmake-utils_src_install -C TESTING/MATGEN
86 + use static-libs \
87 + && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install -C TESTING/MATGEN
88 }