Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/metis: metadata.xml metis-4.0.1.ebuild Manifest metis-5.0_pre2.ebuild ChangeLog
Date: Tue, 05 Feb 2008 17:56:04
Message-Id: E1JMS14-0005U5-6Y@stork.gentoo.org
1 bicatali 08/02/05 17:55:30
2
3 Added: metadata.xml metis-4.0.1.ebuild Manifest
4 metis-5.0_pre2.ebuild ChangeLog
5 Log:
6 Initial import. Closing bug #53394.
7 (Portage version: 2.1.4)
8
9 Revision Changes Path
10 1.1 sci-libs/metis/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>sci</herd>
21 <longdescription lang="en">
22 METIS is a set of serial programs for partitioning graphs,
23 partitioning finite element meshes, and producing fill reducing
24 orderings for sparse matrices. The algorithms implemented in METIS are
25 based on the multilevel recursive-bisection, multilevel k-way, and
26 multi-constraint partitioning schemes.
27 </longdescription>
28 </pkgmetadata>
29
30
31
32 1.1 sci-libs/metis/metis-4.0.1.ebuild
33
34 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/metis-4.0.1.ebuild?rev=1.1&view=markup
35 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/metis-4.0.1.ebuild?rev=1.1&content-type=text/plain
36
37 Index: metis-4.0.1.ebuild
38 ===================================================================
39 # Copyright 1999-2008 Gentoo Foundation
40 # Distributed under the terms of the GNU General Public License v2
41 # $Header: /var/cvsroot/gentoo-x86/sci-libs/metis/metis-4.0.1.ebuild,v 1.1 2008/02/05 17:55:29 bicatali Exp $
42
43 inherit autotools eutils
44
45 MYP=${PN}-4.0
46 DESCRIPTION="A package for unstructured serial graph partitioning"
47 HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/metis/index.html"
48 SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/${MYP}.tar.gz"
49
50 KEYWORDS="~amd64 ~x86"
51 LICENSE="free-noncomm"
52
53 IUSE="doc"
54 SLOT="4"
55
56 DEPEND=""
57 S="${WORKDIR}/${MYP}"
58
59 src_unpack() {
60 unpack ${A}
61 cd "${S}"
62 epatch "${FILESDIR}"/${P}-autotools.patch
63 eautoreconf
64 }
65
66 src_install() {
67 emake DESTDIR="${D}" install || die "emake install failed"
68 dodoc CHANGES || die "dodoc failed"
69 use doc && dodoc Doc/manual.ps
70 }
71
72
73
74 1.1 sci-libs/metis/Manifest
75
76 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/Manifest?rev=1.1&view=markup
77 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/Manifest?rev=1.1&content-type=text/plain
78
79 Index: Manifest
80 ===================================================================
81 AUX metis-4.0.1-autotools.patch 2509 RMD160 0596ad205da8e8c6d08753949c085548baaff13d SHA1 637d00f949f41dcceda69ace40d0b36bd6b013bf SHA256 88f26e11ceec1fee301e29cb25ab7ae6a1c82b8331fae01fe1c912434f2efacc
82 AUX metis-5.0_pre2-autotools.patch 14933 RMD160 e5e45adb71b663d5922f88556d6a7c3c55edd296 SHA1 8510245b49fe087e3be40079e67f674acdb93fa4 SHA256 4a4caabf919d5e5710365992e7c0496e851772ede958d8d9c44effcbaa72281f
83 DIST metis-4.0.tar.gz 508601 RMD160 21dc1451b9385d292afa428f0c17e8283b00f6b7 SHA1 580568308e1fa40e5a7a77cacbf27f865d6c01af SHA256 60c792b3fd22684ef16e336d654466753365006b6f9932e031ded79a9b6bd352
84 DIST metis-5.0pre2.tar.gz 1762166 RMD160 f73bc5c9b5b2458065dd2ebdc6aa3881541016c1 SHA1 7f94fac339b7bc52eb3e874b5046f563ee3c9e07 SHA256 3a81ee72ddcaa573afbec005e777a273717cb9d6475f381f07f78f89180f58aa
85 EBUILD metis-4.0.1.ebuild 718 RMD160 d214eb644bdb0bebff2fc6aa0a8fc4687f6cc6bb SHA1 1ad65818d8f77ddb96f682aa926cdc31925ec937 SHA256 c01df09a63c00415b8a9064acbdbe9112d2ba60d9f5371ef44f9175a24ccb192
86 EBUILD metis-5.0_pre2.ebuild 1502 RMD160 edd3663547c6a7e95f6b9180528c8a864290d0b7 SHA1 e7fe5d020493717838bd3987c016bb45e153c675 SHA256 4eb2ee033eca10e928f6b1379c5800749499ead0c2cb2c3d71946c8e4f9b14b9
87 MISC ChangeLog 463 RMD160 cdc4d78ec48090ecf3a91653e5a8dab2030b0062 SHA1 5d0a69b3966ae8e0bd4d291e3b3ba8d3da0e6da1 SHA256 14094cbe0e111d4f93cccc5bd04527a87f54bd7df3fa825832aae3c59fea8410
88 MISC metadata.xml 513 RMD160 bc0c018b8844b7d882938fb4f51c3707fe5eb8af SHA1 1e036b838879d7b2d8a7e95bf622628470df4bea SHA256 a1b475d5c8575f5dff7e31ec60f7a95593c141f0c3e1ab032d8986725dc53719
89
90
91
92 1.1 sci-libs/metis/metis-5.0_pre2.ebuild
93
94 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/metis-5.0_pre2.ebuild?rev=1.1&view=markup
95 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/metis-5.0_pre2.ebuild?rev=1.1&content-type=text/plain
96
97 Index: metis-5.0_pre2.ebuild
98 ===================================================================
99 # Copyright 1999-2008 Gentoo Foundation
100 # Distributed under the terms of the GNU General Public License v2
101 # $Header: /var/cvsroot/gentoo-x86/sci-libs/metis/metis-5.0_pre2.ebuild,v 1.1 2008/02/05 17:55:29 bicatali Exp $
102
103 inherit autotools eutils
104
105 MY_PV=${PV/_/}
106
107 DESCRIPTION="A package for unstructured serial graph partitioning"
108 HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/metis/index.html"
109 SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-${MY_PV}.tar.gz"
110
111 KEYWORDS="~amd64 ~x86"
112 LICENSE="free-noncomm"
113
114 IUSE="pcre openmp int64 threads"
115 SLOT="5"
116
117 DEPEND="pcre? ( dev-libs/libpcre )
118 openmp? ( || ( >=sys-devel/gcc-4.2 >=dev-lang/icc-9 ) )"
119
120 S="${WORKDIR}/metis-${MY_PV}"
121
122 pkg_setup() {
123 if use openmp \
124 && [[ $(tc-getCC) == *gcc ]] \
125 && [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]]; then
126 eerror "You need gcc >= 4.2 to use openmp features."
127 eerror "Please use gcc-config to switch gcc version >= 4.2"
128 die "setup gcc failed"
129 fi
130 }
131
132 src_unpack() {
133 unpack ${A}
134 cd "${S}"
135 epatch "${FILESDIR}"/${P}-autotools.patch
136 if use int64; then
137 sed -e 's/\(#define IDXTYPEWIDTH\).*32/\1 64/' \
138 -i include/metis.h \
139 || die "sed for int64 failed"
140 fi
141 if use threads; then
142 sed -e 's/\(#define HAVE_THREADLOCALSTORAGE\).*0/\1 1/' \
143 -i include/metis.h \
144 || die "sed for threads failed"
145 fi
146 eautoreconf
147 }
148
149 src_compile() {
150 econf \
151 $(use_enable pcre) \
152 $(use_enable openmp) \
153 || die "econf failed"
154 emake || die "emake failed"
155 }
156
157
158 src_install() {
159 emake DESTDIR="${D}" install || die "emake install failed"
160 dodoc CHANGES.v5 || die "dodoc failed"
161 }
162
163
164
165 1.1 sci-libs/metis/ChangeLog
166
167 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/ChangeLog?rev=1.1&view=markup
168 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/metis/ChangeLog?rev=1.1&content-type=text/plain
169
170 Index: ChangeLog
171 ===================================================================
172 # ChangeLog for sci-libs/metis
173 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
174 # $Header: /var/cvsroot/gentoo-x86/sci-libs/metis/ChangeLog,v 1.1 2008/02/05 17:55:29 bicatali Exp $
175
176 *metis-5.0_pre2 (05 Feb 2008)
177 *metis-4.0.1 (05 Feb 2008)
178
179 05 Feb 2008; Sébastien Fabbro <bicatali@g.o>
180 +files/metis-4.0.1-autotools.patch, +files/metis-5.0_pre2-autotools.patch,
181 +metadata.xml, +metis-4.0.1.ebuild, +metis-5.0_pre2.ebuild:
182 Initial import. Closing bug #53394. Thanks Tiago Quintinho, Justin Bronder
183 for their work.
184
185
186
187
188 --
189 gentoo-commits@l.g.o mailing list