1 |
bicatali 08/03/27 19:04:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: metis-5.0_pre2-r1.ebuild metis-4.0.1-r1.ebuild |
5 |
Removed: metis-4.0.1.ebuild metis-5.0_pre2.ebuild |
6 |
Log: |
7 |
Added pkg-config files in patch, removed slot, added blocking for parmetis. See bug #49953. Removed incompatible versions. |
8 |
(Portage version: 2.1.4.4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 sci-libs/metis/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/ChangeLog?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/ChangeLog?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/ChangeLog?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/metis/ChangeLog,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- ChangeLog 5 Feb 2008 17:55:29 -0000 1.1 |
24 |
+++ ChangeLog 27 Mar 2008 19:04:34 -0000 1.2 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for sci-libs/metis |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/metis/ChangeLog,v 1.1 2008/02/05 17:55:29 bicatali Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/metis/ChangeLog,v 1.2 2008/03/27 19:04:34 bicatali Exp $ |
30 |
+ |
31 |
+*metis-5.0_pre2-r1 (27 Mar 2008) |
32 |
+*metis-4.0.1-r1 (27 Mar 2008) |
33 |
+ |
34 |
+ 27 Mar 2008; Sébastien Fabbro <bicatali@g.o> |
35 |
+ files/metis-4.0.1-autotools.patch, files/metis-5.0_pre2-autotools.patch, |
36 |
+ +metis-4.0.1-r1.ebuild, +metis-5.0_pre2-r1.ebuild: |
37 |
+ Added pkg-config files in patch, removed slot, added blocking for |
38 |
+ parmetis. See bug #49953 |
39 |
|
40 |
*metis-5.0_pre2 (05 Feb 2008) |
41 |
*metis-4.0.1 (05 Feb 2008) |
42 |
|
43 |
|
44 |
|
45 |
1.1 sci-libs/metis/metis-5.0_pre2-r1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/metis-5.0_pre2-r1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/metis-5.0_pre2-r1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: metis-5.0_pre2-r1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2008 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/metis/metis-5.0_pre2-r1.ebuild,v 1.1 2008/03/27 19:04:34 bicatali Exp $ |
55 |
|
56 |
inherit autotools eutils |
57 |
|
58 |
MY_PV=${PV/_/} |
59 |
|
60 |
DESCRIPTION="A package for unstructured serial graph partitioning" |
61 |
HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/metis/index.html" |
62 |
SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-${MY_PV}.tar.gz" |
63 |
|
64 |
KEYWORDS="~amd64 ~x86" |
65 |
LICENSE="free-noncomm" |
66 |
|
67 |
IUSE="pcre openmp int64 threads" |
68 |
SLOT="0" |
69 |
|
70 |
DEPEND="pcre? ( dev-libs/libpcre ) |
71 |
openmp? ( || ( >=sys-devel/gcc-4.2 >=dev-lang/icc-9 ) )" |
72 |
|
73 |
RDEPEND="${DEPEND} |
74 |
!sci-libs/parmetis" |
75 |
|
76 |
S="${WORKDIR}/metis-${MY_PV}" |
77 |
|
78 |
pkg_setup() { |
79 |
if use openmp \ |
80 |
&& [[ $(tc-getCC) == *gcc ]] \ |
81 |
&& [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]]; then |
82 |
eerror "You need gcc >= 4.2 to use openmp features." |
83 |
eerror "Please use gcc-config to switch gcc version >= 4.2" |
84 |
die "setup gcc failed" |
85 |
fi |
86 |
} |
87 |
|
88 |
src_unpack() { |
89 |
unpack ${A} |
90 |
cd "${S}" |
91 |
epatch "${FILESDIR}"/${P}-autotools.patch |
92 |
if use int64; then |
93 |
sed -e 's/\(#define IDXTYPEWIDTH\).*32/\1 64/' \ |
94 |
-i include/metis.h \ |
95 |
|| die "sed for int64 failed" |
96 |
fi |
97 |
if use threads; then |
98 |
sed -e 's/\(#define HAVE_THREADLOCALSTORAGE\).*0/\1 1/' \ |
99 |
-i include/metis.h \ |
100 |
|| die "sed for threads failed" |
101 |
fi |
102 |
eautoreconf |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
econf \ |
107 |
$(use_enable pcre) \ |
108 |
$(use_enable openmp) \ |
109 |
|| die "econf failed" |
110 |
emake || die "emake failed" |
111 |
} |
112 |
|
113 |
src_install() { |
114 |
emake DESTDIR="${D}" install || die "emake install failed" |
115 |
dodoc CHANGES.v5 || die "dodoc failed" |
116 |
} |
117 |
|
118 |
|
119 |
|
120 |
1.1 sci-libs/metis/metis-4.0.1-r1.ebuild |
121 |
|
122 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/metis-4.0.1-r1.ebuild?rev=1.1&view=markup |
123 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/metis-4.0.1-r1.ebuild?rev=1.1&content-type=text/plain |
124 |
|
125 |
Index: metis-4.0.1-r1.ebuild |
126 |
=================================================================== |
127 |
# Copyright 1999-2008 Gentoo Foundation |
128 |
# Distributed under the terms of the GNU General Public License v2 |
129 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/metis/metis-4.0.1-r1.ebuild,v 1.1 2008/03/27 19:04:34 bicatali Exp $ |
130 |
|
131 |
inherit autotools eutils |
132 |
|
133 |
MYP=${PN}-4.0 |
134 |
DESCRIPTION="A package for unstructured serial graph partitioning" |
135 |
HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/metis/index.html" |
136 |
SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/${MYP}.tar.gz" |
137 |
|
138 |
KEYWORDS="~amd64 ~x86" |
139 |
LICENSE="free-noncomm" |
140 |
|
141 |
IUSE="doc" |
142 |
SLOT="0" |
143 |
|
144 |
DEPEND="" |
145 |
RDEPEND="!sci-libs/parmetis" |
146 |
|
147 |
S="${WORKDIR}/${MYP}" |
148 |
|
149 |
src_unpack() { |
150 |
unpack ${A} |
151 |
cd "${S}" |
152 |
epatch "${FILESDIR}"/${P}-autotools.patch |
153 |
eautoreconf |
154 |
} |
155 |
|
156 |
src_install() { |
157 |
emake DESTDIR="${D}" install || die "emake install failed" |
158 |
dodoc CHANGES || die "dodoc failed" |
159 |
use doc && dodoc Doc/manual.ps |
160 |
} |
161 |
|
162 |
|
163 |
|
164 |
-- |
165 |
gentoo-commits@l.g.o mailing list |