diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2011-08-03 20:23:43 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2011-08-03 20:23:43 +0000 |
commit | ed55c2bffbb03fee520b81f52c43d4b13367bdcc (patch) | |
tree | 7e922d04e0678a21d77ca01c1026c2cb76285e45 | |
parent | Update the qt patch as the 3.4 branch lacks quite few commits. (diff) | |
download | historical-ed55c2bffbb03fee520b81f52c43d4b13367bdcc.tar.gz historical-ed55c2bffbb03fee520b81f52c43d4b13367bdcc.tar.bz2 historical-ed55c2bffbb03fee520b81f52c43d4b13367bdcc.zip |
Version bump. Adapted autotools patch to work for all versions
Package-Manager: portage-2.1.10.9/cvs/Linux x86_64
-rw-r--r-- | sci-libs/parmetis/ChangeLog | 10 | ||||
-rw-r--r-- | sci-libs/parmetis/Manifest | 16 | ||||
-rw-r--r-- | sci-libs/parmetis/files/parmetis-3.1.1-autotools.patch | 40 | ||||
-rw-r--r-- | sci-libs/parmetis/parmetis-3.1.1.ebuild | 6 | ||||
-rw-r--r-- | sci-libs/parmetis/parmetis-3.2.0.ebuild | 40 |
5 files changed, 75 insertions, 37 deletions
diff --git a/sci-libs/parmetis/ChangeLog b/sci-libs/parmetis/ChangeLog index 3d9bd4a3b87f..6244529f0d4f 100644 --- a/sci-libs/parmetis/ChangeLog +++ b/sci-libs/parmetis/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/parmetis -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/parmetis/ChangeLog,v 1.6 2010/12/22 20:05:13 bicatali Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/parmetis/ChangeLog,v 1.7 2011/08/03 20:23:43 bicatali Exp $ + +*parmetis-3.2.0 (03 Aug 2011) + + 03 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> parmetis-3.1.1.ebuild, + files/parmetis-3.1.1-autotools.patch, +parmetis-3.2.0.ebuild: + Version bump. Adapted autotools patch to work for all versions 22 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> parmetis-3.1.1.ebuild: Added static-libs flag diff --git a/sci-libs/parmetis/Manifest b/sci-libs/parmetis/Manifest index b78471a576fd..95e874fd031e 100644 --- a/sci-libs/parmetis/Manifest +++ b/sci-libs/parmetis/Manifest @@ -1,15 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX parmetis-3.1.1-autotools.patch 11867 RMD160 71355dccb898e2e8291a69c052e4502628221744 SHA1 c4763b93f0225d5f73c1da64850dfce6eb2f5dc2 SHA256 09dfa012f7f5daecd7d881a28fd9af28713ff27f95b0272600575e2a67beeef5 +AUX parmetis-3.1.1-autotools.patch 10971 RMD160 d289cc21e76a88d62635c4bdc87b839ff19cee81 SHA1 af3a5506ff3fbf03150562bb26094fa6086e2bad SHA256 a72047b7467f39a2058f29c3f6a7a847c58e7c0a85d6233eda7388dbd139a887 DIST ParMetis-3.1.1.tar.gz 5292017 RMD160 e6c59f24857e7af9d31b8b596aee00f2966b9401 SHA1 e01fc35fb7f05ea1c265ac96fbc465d615385945 SHA256 44ed920e4ff5cec8755eb06fd05ecbb2bc3eccd7ab943b9d38d0fd2a21f30d5c -EBUILD parmetis-3.1.1.ebuild 978 RMD160 f1b3a3e57e03a73b9545e42413096cc7a4e7485a SHA1 b196cde967a74cd957852e603d5148b82b9d60c4 SHA256 c3dfcca92c2db4669a84ce79a32b5c5b3ad6bb0822ec133f16b9b06f94527025 -MISC ChangeLog 1270 RMD160 cd6a2cb42fa42b289dcc5abed88cfdf88982363b SHA1 f6e064bb72f5eadee378766b909c0fc88b65c40f SHA256 a43b88565905dbd71145a9b1a49a285253d3c7abec58d80efd9c2d57839876ca +DIST ParMetis-3.2.0.tar.gz 5291841 RMD160 32a8d5ce0044d289288866fb59432a5b197b096e SHA1 58c28cc6fb245c27fe942e2626c00bdac5a316b3 SHA256 35e8b869d70b6478e0d5f4f51efba00c4783a5020ec90c6a7e7a63a56f141bde +EBUILD parmetis-3.1.1.ebuild 950 RMD160 de4503c0538c4289dec67566268c43d8efa8dc54 SHA1 cf6736ba1b8249dfa8ad9b6f1e04baed6c875a55 SHA256 1952ecafdbc18117f7bc03880d8ded0db72e2093e28bbbeeb30ed686fca4f0d1 +EBUILD parmetis-3.2.0.ebuild 956 RMD160 525b88567df3d86c1b04d6e466f4da821d732e94 SHA1 d43c42f072c84493b803288e5e40f59ed9ed2a3f SHA256 10fa97c85caca6da3c99501260de68ef0968f931e963c41d8c7d27fbecc71949 +MISC ChangeLog 1509 RMD160 0e54f3412df7fc823089ce6dd2fc8add692d7094 SHA1 dedd45d33a4afffb731911fd7b58af18f1c93f6f SHA256 ec40858a7724736c005d06a39a7db226f26a4a6963d842e0b1d694a5649df5c9 MISC metadata.xml 567 RMD160 0565f147e7f67469216f64490469c39a78040073 SHA1 619ff63c86b9da320ad0d6af86c83a78e748ef7d SHA256 e7b13d4ac35de3236571c5efd0cbf9143333a4978e9dbe277b45ba3a5b4bd29a -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) +Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk0SWgIACgkQ1ycZbhPLE2CV6wCeMdASSGIuVpRR9bYU3sMN9CTa -H+4An1kJftIVA+1njOjt0m0tf700i15C -=XQ84 +iEYEARECAAYFAk45rl0ACgkQ1ycZbhPLE2BkwgCfT0aaRu2gf2UvrnTXYDzzLY8I +do0AnA1lvCo2q68YiU6Ch7IkuEhMaRSL +=7suD -----END PGP SIGNATURE----- diff --git a/sci-libs/parmetis/files/parmetis-3.1.1-autotools.patch b/sci-libs/parmetis/files/parmetis-3.1.1-autotools.patch index 0c4ef28b5bc4..d38a2f7575cf 100644 --- a/sci-libs/parmetis/files/parmetis-3.1.1-autotools.patch +++ b/sci-libs/parmetis/files/parmetis-3.1.1-autotools.patch @@ -1,6 +1,5 @@ -diff -Nur ParMetis-3.1.1.orig/configure.ac ParMetis-3.1.1/configure.ac ---- ParMetis-3.1.1.orig/configure.ac 1970-01-01 01:00:00.000000000 +0100 -+++ ParMetis-3.1.1/configure.ac 2009-03-14 11:37:58.804041439 +0000 +--- configure.ac 1970-01-01 01:00:00.000000000 +0100 ++++ configure.ac 2009-03-14 11:37:58.804041439 +0000 @@ -0,0 +1,18 @@ +# -*- Autoconf -*- +AC_PREREQ(2.59) @@ -20,18 +19,16 @@ diff -Nur ParMetis-3.1.1.orig/configure.ac ParMetis-3.1.1/configure.ac + METISLib/Makefile + Programs/Makefile]) +AC_OUTPUT -diff -Nur ParMetis-3.1.1.orig/Makefile.am ParMetis-3.1.1/Makefile.am ---- ParMetis-3.1.1.orig/Makefile.am 1970-01-01 01:00:00.000000000 +0100 -+++ ParMetis-3.1.1/Makefile.am 2009-03-14 11:37:15.700900498 +0000 +--- Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ Makefile.am 2009-03-14 11:37:15.700900498 +0000 @@ -0,0 +1,5 @@ +SUBDIRS = METISLib ParMETISLib Programs +EXTRA_DIST = CHANGES VERSION parmetis.pc.in metis.pc.in +include_HEADERS = parmetis.h +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = metis.pc parmetis.pc -diff -Nur ParMetis-3.1.1.orig/METISLib/Makefile.am ParMetis-3.1.1/METISLib/Makefile.am ---- ParMetis-3.1.1.orig/METISLib/Makefile.am 1970-01-01 01:00:00.000000000 +0100 -+++ ParMetis-3.1.1/METISLib/Makefile.am 2009-03-14 11:37:15.700900498 +0000 +--- METISLib/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ METISLib/Makefile.am 2009-03-14 11:37:15.700900498 +0000 @@ -0,0 +1,18 @@ +pkginclude_HEADERS = defs.h macros.h metis.h proto.h rename.h \ + stdheaders.h struct.h @@ -51,9 +48,8 @@ diff -Nur ParMetis-3.1.1.orig/METISLib/Makefile.am ParMetis-3.1.1/METISLib/Makef + kvmetis.c kwayvolrefine.c kwayvolfm.c subdomains.c \ + mfm.c memory.c mrefine.c checkgraph.c +libmetis_la_LDFLAGS = -no-undefined -version-info 4:1:0 -diff -Nur ParMetis-3.1.1.orig/metis.pc.in ParMetis-3.1.1/metis.pc.in ---- ParMetis-3.1.1.orig/metis.pc.in 1970-01-01 01:00:00.000000000 +0100 -+++ ParMetis-3.1.1/metis.pc.in 2009-03-14 11:37:15.700900498 +0000 +--- metis.pc.in 1970-01-01 01:00:00.000000000 +0100 ++++ metis.pc.in 2009-03-14 11:37:15.700900498 +0000 @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ @@ -65,9 +61,8 @@ diff -Nur ParMetis-3.1.1.orig/metis.pc.in ParMetis-3.1.1/metis.pc.in +Version: @VERSION@ +Libs: -L${libdir} -lmetis +Cflags: -I${includedir}/metis -diff -Nur ParMetis-3.1.1.orig/ParMETISLib/Makefile.am ParMetis-3.1.1/ParMETISLib/Makefile.am ---- ParMetis-3.1.1.orig/ParMETISLib/Makefile.am 1970-01-01 01:00:00.000000000 +0100 -+++ ParMetis-3.1.1/ParMETISLib/Makefile.am 2009-03-14 11:57:08.006017954 +0000 +--- ParMETISLib/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ ParMETISLib/Makefile.am 2009-03-14 11:57:08.006017954 +0000 @@ -0,0 +1,21 @@ +pkginclude_HEADERS = defs.h macros.h parmetislib.h proto.h \ + rename.h stdheaders.h struct.h @@ -90,9 +85,8 @@ diff -Nur ParMetis-3.1.1.orig/ParMETISLib/Makefile.am ParMetis-3.1.1/ParMETISLib + mmetis.c mesh.c memory.c weird.c backcompat.c +libparmetis_la_LDFLAGS = -no-undefined -version-info 3:1:1 +libparmetis_la_LIBADD = @MPILIBS@ $(top_builddir)/METISLib/libmetis.la -diff -Nur ParMetis-3.1.1.orig/parmetis.pc.in ParMetis-3.1.1/parmetis.pc.in ---- ParMetis-3.1.1.orig/parmetis.pc.in 1970-01-01 01:00:00.000000000 +0100 -+++ ParMetis-3.1.1/parmetis.pc.in 2009-03-14 11:37:15.700900498 +0000 +--- parmetis.pc.in 1970-01-01 01:00:00.000000000 +0100 ++++ parmetis.pc.in 2009-03-14 11:37:15.700900498 +0000 @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ @@ -105,9 +99,8 @@ diff -Nur ParMetis-3.1.1.orig/parmetis.pc.in ParMetis-3.1.1/parmetis.pc.in +Requires: metis +Libs: -L${libdir} -lparmetis +Cflags: -I${includedir} -diff -Nur ParMetis-3.1.1.orig/Programs/Makefile.am ParMetis-3.1.1/Programs/Makefile.am ---- ParMetis-3.1.1.orig/Programs/Makefile.am 1970-01-01 01:00:00.000000000 +0100 -+++ ParMetis-3.1.1/Programs/Makefile.am 2009-03-14 11:37:15.700900498 +0000 +--- Programs/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ Programs/Makefile.am 2009-03-14 11:37:15.700900498 +0000 @@ -0,0 +1,13 @@ +AM_CPPFLAGS = -I$(top_srcdir)/ParMETISLib +LDADD = $(top_builddir)/METISLib/libmetis.la \ @@ -122,9 +115,8 @@ diff -Nur ParMetis-3.1.1.orig/Programs/Makefile.am ParMetis-3.1.1/Programs/Makef +check-local: $(check_PROGRAMS) + $(MPIRUN) ptest ../Graphs/rotor.graph + $(MPIRUN) mtest ../Graphs/bricks.hex3d 2 -diff -Nur ParMetis-3.1.1.orig/ax_mpi.m4 ParMetis-3.1.1/ax_mpi.m4 ---- ParMetis-3.1.1.orig/ax_mpi.m4 1970-01-01 01:00:00.000000000 +0100 -+++ ParMetis-3.1.1/ax_mpi.m4 2010-01-20 20:33:15.000000000 +0000 +--- ax_mpi.m4 1970-01-01 01:00:00.000000000 +0100 ++++ ax_mpi.m4 2010-01-20 20:33:15.000000000 +0000 @@ -0,0 +1,178 @@ +# =========================================================================== +# http://www.nongnu.org/autoconf-archive/ax_mpi.html diff --git a/sci-libs/parmetis/parmetis-3.1.1.ebuild b/sci-libs/parmetis/parmetis-3.1.1.ebuild index b98762316d1f..51b9b8fef4c6 100644 --- a/sci-libs/parmetis/parmetis-3.1.1.ebuild +++ b/sci-libs/parmetis/parmetis-3.1.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/parmetis/parmetis-3.1.1.ebuild,v 1.2 2010/12/22 20:05:13 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/parmetis/parmetis-3.1.1.ebuild,v 1.3 2011/08/03 20:23:43 bicatali Exp $ EAPI=2 inherit eutils autotools @@ -23,9 +23,7 @@ RDEPEND="${DEPEND} S="${WORKDIR}/${MYP}" src_prepare() { - cd "${WORKDIR}" epatch "${FILESDIR}"/${P}-autotools.patch - cd "${S}" eautoreconf export CC=mpicc } diff --git a/sci-libs/parmetis/parmetis-3.2.0.ebuild b/sci-libs/parmetis/parmetis-3.2.0.ebuild new file mode 100644 index 000000000000..698748bb9b12 --- /dev/null +++ b/sci-libs/parmetis/parmetis-3.2.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/parmetis/parmetis-3.2.0.ebuild,v 1.1 2011/08/03 20:23:43 bicatali Exp $ + +EAPI=4 +inherit eutils autotools + +MYP=ParMetis-${PV} + +DESCRIPTION="Parallel graph partitioner" +HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/parmetis/" +SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/${MYP}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="free-noncomm" +SLOT="0" +IUSE="doc static-libs" + +DEPEND="virtual/mpi" +RDEPEND="${DEPEND} + !sci-libs/metis" + +S="${WORKDIR}/${MYP}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-3.1.1-autotools.patch + sed -i -e "s/3.1.1/${PV}/" configure.ac || die + sed -i -e 's/order.c//' -e 's/lmatch.c//' ParMETISLib/Makefile.am || die + eautoreconf + export CC=mpicc +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + use doc && dodoc Manual/*.pdf +} |