Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/superlu: metadata.xml ChangeLog superlu-4.3.ebuild
Date: Tue, 28 Feb 2012 14:21:05
Message-Id: 20120228142047.7A1CC2004B@flycatcher.gentoo.org
1 jlec 12/02/28 14:20:47
2
3 Modified: metadata.xml ChangeLog superlu-4.3.ebuild
4 Log:
5 Moved to autotools-utils, EAPI=4, fix blas/lapack detection and add USE=static-libs
6
7 (Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 sci-libs/superlu/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/superlu/metadata.xml?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/superlu/metadata.xml?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/superlu/metadata.xml?r1=1.1&r2=1.2
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-libs/superlu/metadata.xml,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- metadata.xml 9 Jun 2010 08:18:58 -0000 1.1
23 +++ metadata.xml 28 Feb 2012 14:20:47 -0000 1.2
24 @@ -1,8 +1,8 @@
25 <?xml version="1.0" encoding="UTF-8"?>
26 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 <pkgmetadata>
28 -<herd>sci</herd>
29 -<longdescription lang="en">
30 + <herd>sci</herd>
31 + <longdescription lang="en">
32 SuperLU is a general purpose library for the direct solution of large,
33 sparse, nonsymmetric systems of linear equations on high performance
34 machines. The library is written in C and is callable from either C or
35
36
37
38 1.14 sci-libs/superlu/ChangeLog
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/superlu/ChangeLog?rev=1.14&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/superlu/ChangeLog?rev=1.14&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/superlu/ChangeLog?r1=1.13&r2=1.14
43
44 Index: ChangeLog
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/sci-libs/superlu/ChangeLog,v
47 retrieving revision 1.13
48 retrieving revision 1.14
49 diff -u -r1.13 -r1.14
50 --- ChangeLog 27 Nov 2011 04:14:47 -0000 1.13
51 +++ ChangeLog 28 Feb 2012 14:20:47 -0000 1.14
52 @@ -1,6 +1,11 @@
53 # ChangeLog for sci-libs/superlu
54 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
55 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/superlu/ChangeLog,v 1.13 2011/11/27 04:14:47 bicatali Exp $
56 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
57 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/superlu/ChangeLog,v 1.14 2012/02/28 14:20:47 jlec Exp $
58 +
59 + 28 Feb 2012; Justin Lecher <jlec@g.o> superlu-4.3.ebuild,
60 + +files/superlu-4.3-autotools.patch, metadata.xml:
61 + Moved to autotools-utils, EAPI=4, fix blas/lapack detection and add
62 + USE=static-libs
63
64 *superlu-4.3 (27 Nov 2011)
65
66
67
68
69 1.2 sci-libs/superlu/superlu-4.3.ebuild
70
71 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/superlu/superlu-4.3.ebuild?rev=1.2&view=markup
72 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/superlu/superlu-4.3.ebuild?rev=1.2&content-type=text/plain
73 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/superlu/superlu-4.3.ebuild?r1=1.1&r2=1.2
74
75 Index: superlu-4.3.ebuild
76 ===================================================================
77 RCS file: /var/cvsroot/gentoo-x86/sci-libs/superlu/superlu-4.3.ebuild,v
78 retrieving revision 1.1
79 retrieving revision 1.2
80 diff -u -r1.1 -r1.2
81 --- superlu-4.3.ebuild 27 Nov 2011 04:14:47 -0000 1.1
82 +++ superlu-4.3.ebuild 28 Feb 2012 14:20:47 -0000 1.2
83 @@ -1,10 +1,12 @@
84 -# Copyright 1999-2011 Gentoo Foundation
85 +# Copyright 1999-2012 Gentoo Foundation
86 # Distributed under the terms of the GNU General Public License v2
87 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/superlu/superlu-4.3.ebuild,v 1.1 2011/11/27 04:14:47 bicatali Exp $
88 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/superlu/superlu-4.3.ebuild,v 1.2 2012/02/28 14:20:47 jlec Exp $
89
90 EAPI=4
91
92 -inherit autotools eutils fortran-2 toolchain-funcs multilib
93 +AUTOTOOLS_AUTORECONF=true
94 +
95 +inherit autotools-utils fortran-2 toolchain-funcs multilib
96
97 MY_PN=SuperLU
98
99 @@ -25,20 +27,16 @@
100
101 S="${WORKDIR}/${MY_PN}_${PV}"
102
103 -src_prepare() {
104 - epatch "${FILESDIR}"/${PN}-4.2-autotools.patch
105 - sed -i -e "s/4.2/${PV}/" configure.ac || die
106 - eautoreconf
107 -}
108 +AUTOTOOLS_IN_SOURCE_BUILD=1
109 +PATCHES=( "${FILESDIR}"/${P}-autotools.patch )
110
111 src_configure() {
112 - econf \
113 - --with-blas="$(pkg-config --libs blas)" \
114 - $(use_enable static-libs static)
115 + local myeconfargs=( --with-blas="$(pkg-config --libs blas)" )
116 + autotools-utils_src_configure
117 }
118
119 src_test() {
120 - cd TESTING
121 + cd "${AUTOTOOLS_BUILD_DIR}"/TESTING
122 emake -j1 \
123 CC="$(tc-getCC)" \
124 FORTRAN="$(tc-getFC)" \
125 @@ -53,7 +51,7 @@
126 }
127
128 src_install() {
129 - default
130 + autotools-utils_src_install
131 use doc && dodoc DOC/ug.pdf && dohtml DOC/html/*
132 if use examples; then
133 insinto /usr/share/doc/${PF}/examples