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/lapack-reference/
Date: Tue, 01 Dec 2015 06:52:15
Message-Id: 1448952717.5cc6855b8f846521f1c354e79c943fa3120bea34.jlec@gentoo
1 commit: 5cc6855b8f846521f1c354e79c943fa3120bea34
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 1 06:51:57 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 1 06:51:57 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5cc6855b
7
8 sci-libs/lapack-reference: Add USE to build deprecated routines
9
10 Package-Manager: portage-2.2.25
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild | 3 ++-
14 sci-libs/lapack-reference/metadata.xml | 6 ++++--
15 2 files changed, 6 insertions(+), 3 deletions(-)
16
17 diff --git a/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild b/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild
18 index 8623bef..ac88f98 100644
19 --- a/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild
20 +++ b/sci-libs/lapack-reference/lapack-reference-3.6.0.ebuild
21 @@ -20,7 +20,7 @@ SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz"
22 LICENSE="BSD"
23 SLOT="0/${PV}"
24 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
25 -IUSE="static-libs test xblas"
26 +IUSE="+deprecated static-libs test xblas"
27
28 REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
29
30 @@ -82,6 +82,7 @@ src_configure() {
31 -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs ${blas_profname})"
32 $(cmake-utils_use_build test TESTING)
33 $(cmake-utils_use_use xblas XBLAS)
34 + $(cmake-utils_use_build deprecated DEPRECATED)
35 -DCMAKE_C_FLAGS="$($(tc-getPKG_CONFIG) --cflags ${blas_profname}) ${CFLAGS}"
36 -DCMAKE_CXX_FLAGS="$($(tc-getPKG_CONFIG) --cflags ${blas_profname}) ${CXXFLAGS}"
37 -DCMAKE_Fortran_FLAGS="$($(tc-getPKG_CONFIG) --cflags ${blas_profname}) $(get_abi_CFLAGS) $(numeric-int64_get_fortran_int64_abi_fflags) ${FCFLAGS}"
38
39 diff --git a/sci-libs/lapack-reference/metadata.xml b/sci-libs/lapack-reference/metadata.xml
40 index f9de0d5..520530d 100644
41 --- a/sci-libs/lapack-reference/metadata.xml
42 +++ b/sci-libs/lapack-reference/metadata.xml
43 @@ -13,8 +13,10 @@
44 Algebra Subprogram (BLAS).
45 </longdescription>
46 <use>
47 + <flag name="deprecated">Build deprecated routines</flag>
48 <flag name="int64">Build the 64 bits integer library</flag>
49 - <flag name="xblas">Build LAPACK with extra precision (needs
50 - <pkg>sci-libs/xblas</pkg>)</flag>
51 + <flag name="xblas">
52 + Build LAPACK with extra precision (needs <pkg>sci-libs/xblas</pkg>)
53 + </flag>
54 </use>
55 </pkgmetadata>