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/libcmatrix: ChangeLog libcmatrix-3.11.0.ebuild
Date: Thu, 27 Dec 2012 18:55:44
Message-Id: 20121227185534.0ABA32171D@flycatcher.gentoo.org
1 jlec 12/12/27 18:55:33
2
3 Modified: ChangeLog libcmatrix-3.11.0.ebuild
4 Log:
5 sci-libs/libcmatrix: Moved to EAPI=5 and autotools-utils.eclass
6
7 (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
8
9 Revision Changes Path
10 1.14 sci-libs/libcmatrix/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/libcmatrix/ChangeLog?rev=1.14&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/libcmatrix/ChangeLog?rev=1.14&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/libcmatrix/ChangeLog?r1=1.13&r2=1.14
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-libs/libcmatrix/ChangeLog,v
19 retrieving revision 1.13
20 retrieving revision 1.14
21 diff -u -r1.13 -r1.14
22 --- ChangeLog 27 Dec 2012 18:31:20 -0000 1.13
23 +++ ChangeLog 27 Dec 2012 18:55:33 -0000 1.14
24 @@ -1,6 +1,9 @@
25 # ChangeLog for sci-libs/libcmatrix
26 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/libcmatrix/ChangeLog,v 1.13 2012/12/27 18:31:20 jlec Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libcmatrix/ChangeLog,v 1.14 2012/12/27 18:55:33 jlec Exp $
29 +
30 + 27 Dec 2012; Justin Lecher <jlec@g.o> libcmatrix-3.11.0.ebuild:
31 + Moved to EAPI=5 and autotools-utils.eclass
32
33 27 Dec 2012; Justin Lecher <jlec@g.o> metadata.xml:
34 Drop local USE
35
36
37
38 1.6 sci-libs/libcmatrix/libcmatrix-3.11.0.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/libcmatrix/libcmatrix-3.11.0.ebuild?rev=1.6&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/libcmatrix/libcmatrix-3.11.0.ebuild?rev=1.6&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/libcmatrix/libcmatrix-3.11.0.ebuild?r1=1.5&r2=1.6
43
44 Index: libcmatrix-3.11.0.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/sci-libs/libcmatrix/libcmatrix-3.11.0.ebuild,v
47 retrieving revision 1.5
48 retrieving revision 1.6
49 diff -u -r1.5 -r1.6
50 --- libcmatrix-3.11.0.ebuild 27 Dec 2012 18:30:44 -0000 1.5
51 +++ libcmatrix-3.11.0.ebuild 27 Dec 2012 18:55:33 -0000 1.6
52 @@ -1,10 +1,12 @@
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/libcmatrix/libcmatrix-3.11.0.ebuild,v 1.5 2012/12/27 18:30:44 jlec Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libcmatrix/libcmatrix-3.11.0.ebuild,v 1.6 2012/12/27 18:55:33 jlec Exp $
57
58 -EAPI="3"
59 +EAPI=5
60
61 -inherit autotools eutils
62 +AUTOTOOLS_AUTORECONF=true
63 +
64 +inherit autotools-utils
65
66 MY_P="${PN}${PV}_lite"
67
68 @@ -18,38 +20,36 @@
69 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
70 IUSE="sse threads"
71
72 -RDEPEND="
73 - sci-libs/atlas[lapack]
74 - sci-libs/minuit"
75 +RDEPEND="sci-libs/minuit"
76 DEPEND="${RDEPEND}"
77
78 S="${WORKDIR}"/${PN}R3
79
80 -src_prepare() {
81 - epatch \
82 - "${FILESDIR}"/${PV}-shared.patch \
83 - "${FILESDIR}"/3.2.1-minuit2.patch \
84 - "${FILESDIR}"/3.2.1-gcc4.4.patch \
85 - "${FILESDIR}"/3.2.1-gcc4.6.patch \
86 - "${FILESDIR}"/3.2.1-gcc4.7.patch \
87 - "${FILESDIR}"/3.9.0-atlas.patch
88 - eautoreconf
89 -}
90 +PATCHES=(
91 + "${FILESDIR}"/${PV}-shared.patch
92 + "${FILESDIR}"/3.2.1-minuit2.patch
93 + "${FILESDIR}"/3.2.1-gcc4.4.patch
94 + "${FILESDIR}"/3.2.1-gcc4.6.patch
95 + "${FILESDIR}"/3.2.1-gcc4.7.patch
96 + "${FILESDIR}"/3.9.0-atlas.patch
97 + )
98 +
99 +AUTOTOOLS_IN_SOURCE_BUILD=1
100
101 src_configure() {
102 econf \
103 --with-minuit \
104 - --with-atlas \
105 + --without-atlas \
106 --with-sysroot="${EROOT}" \
107 $(use_with sse) \
108 $(use_with threads)
109 }
110
111 src_install() {
112 - dolib.so lib/*.so* || die "install failed"
113 + dolib.so lib/*.so*
114
115 insinto /usr/include/${PN}R3
116 - doins include/* || die "no includes"
117 + doins include/*
118
119 - dodoc CHANGES docs/* || die "no docs"
120 + dodoc CHANGES docs/*
121 }