diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2011-08-04 17:36:44 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2011-08-04 17:36:44 +0000 |
commit | c568e1f432470805c1fb3b0cf38774c8d6685f21 (patch) | |
tree | 3b37ff04b3b348c5f02ad511beb92951fafdc43c /sci-libs | |
parent | Rename opts="reload" as extra_commands="reload" for baselayout-2. (diff) | |
download | historical-c568e1f432470805c1fb3b0cf38774c8d6685f21.tar.gz historical-c568e1f432470805c1fb3b0cf38774c8d6685f21.tar.bz2 historical-c568e1f432470805c1fb3b0cf38774c8d6685f21.zip |
Ebuild cleaning, make sure metis is linked
Package-Manager: portage-2.1.10.10/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/umfpack/ChangeLog | 7 | ||||
-rw-r--r-- | sci-libs/umfpack/Manifest | 16 | ||||
-rw-r--r-- | sci-libs/umfpack/files/5.5.1-autotools.patch (renamed from sci-libs/umfpack/files/umfpack-5.5.0-autotools.patch) | 38 | ||||
-rw-r--r-- | sci-libs/umfpack/umfpack-5.4.0.ebuild | 43 | ||||
-rw-r--r-- | sci-libs/umfpack/umfpack-5.5.0.ebuild | 49 | ||||
-rw-r--r-- | sci-libs/umfpack/umfpack-5.5.1.ebuild | 17 |
6 files changed, 35 insertions, 135 deletions
diff --git a/sci-libs/umfpack/ChangeLog b/sci-libs/umfpack/ChangeLog index d7d1ac295848..43fe15ce695c 100644 --- a/sci-libs/umfpack/ChangeLog +++ b/sci-libs/umfpack/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/umfpack # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/umfpack/ChangeLog,v 1.24 2011/06/21 14:45:09 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/umfpack/ChangeLog,v 1.25 2011/08/04 17:36:44 bicatali Exp $ + + 04 Aug 2011; SĂ©bastien Fabbro <bicatali@gentoo.org> + +files/5.5.1-autotools.patch, -umfpack-5.4.0.ebuild, -umfpack-5.5.0.ebuild, + -files/umfpack-5.5.0-autotools.patch, umfpack-5.5.1.ebuild: + Ebuild cleaning, make sure metis is linked 21 Jun 2011; Justin Lecher <jlec@gentoo.org> umfpack-5.2.0.ebuild, umfpack-5.4.0.ebuild, umfpack-5.5.0.ebuild, umfpack-5.5.1.ebuild: diff --git a/sci-libs/umfpack/Manifest b/sci-libs/umfpack/Manifest index f0549c1d1e6c..6a2c2071e620 100644 --- a/sci-libs/umfpack/Manifest +++ b/sci-libs/umfpack/Manifest @@ -1,22 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX 5.5.1-autotools.patch 19071 RMD160 0ea402f0311eb5502a4a01cef923521a4bad40e2 SHA1 3096c083ccb0ff6d0000312ecbe5e07f48593b00 SHA256 3d45dfdb89d6eb7b2eed1dabda7a16f406491916735f9237e41758f11e869cc8 AUX umfpack-5.2.0-autotools.patch 18317 RMD160 1a45245a299e831ea7d5bf5cd3c2fab166310bb6 SHA1 0656cc130ff6002520364edc88ca919a78277c63 SHA256 1fc1b6465d73582e61c0782b2d44f3b4e0f73ff22de9f65ffcdfc537c04d1452 -AUX umfpack-5.5.0-autotools.patch 19491 RMD160 104b780be4f53dc4cd9996249f8c27b5146a40c7 SHA1 a0a06ab560ed1ebd9ab533620b22a4b888ebae38 SHA256 5a94ae2807ad1b6bf1a4279c2c3d87cffd8435ef2c7e5580f79ac250f82e8543 DIST UMFPACK-5.2.0.tar.gz 1122066 RMD160 98cb8c6f3d62d0f78018f82714b063e9a4aaa4c0 SHA1 056df2b498c97a5e4ed0b396f55e4e4faf4ca346 SHA256 cdf1061c551625f7d572f6f887bad978b4e0e90c6e448a08013ba72c95691c1c -DIST UMFPACK-5.4.0.tar.gz 1105287 RMD160 bceee72614d676b0496458869afd4c5a7c42e016 SHA1 b9f7d1329d537fe42c8f1cb4a48e93846c197cd2 SHA256 a93854547441d17621cc341c89c7368d238886659f6776c2b727792c0a04c24f -DIST UMFPACK-5.5.0.tar.gz 1109053 RMD160 b32b8cbb7e0726dc43bddf9b2f3fc00ce5169871 SHA1 ddac11183b5953a68cce7db9dc5b769e97e7a61b SHA256 c14aff8f3b49e8772b372a7b311b008d144a6d42ab63520224a4379aa8fec85f DIST UMFPACK-5.5.1.tar.gz 1306153 RMD160 25aac43e40a2620977b95f959668d0c61e170853 SHA1 9443c9ec6278f469048356f089e7c3ef099930ce SHA256 79526b74d31aa3630a62bf4cf587b04b8b949837c2a357a4e99c61932475cb50 EBUILD umfpack-5.2.0.ebuild 1133 RMD160 1dcf4d7620dbfd1393a2807a42cef1ac1ca1e8ce SHA1 af068d3093bd4241a8bc8897671221332e563890 SHA256 1f742b4800e55aadb40de1add8ef83282c7876ade5833122d6e3fcc2c8601de7 -EBUILD umfpack-5.4.0.ebuild 1108 RMD160 f3ce9e4f270239c3fec2a03589851e5f3182906c SHA1 f6e3577e6d102bac40d97ed623451d4a1592a7fc SHA256 01e5d95581e7158ade6c9544f48122dd047815fcfac586ce36f16452a5c83ab4 -EBUILD umfpack-5.5.0.ebuild 1261 RMD160 8c28863ddef1fa98103c6b8116d2c2b870b9a991 SHA1 89cd3156492b70831fb484ba59d747b7a716656a SHA256 cc44f85d8e9f3b694bf9e9c9f223273fd3ba3600c9aaa40bf6895cf4cabbd350 -EBUILD umfpack-5.5.1.ebuild 1261 RMD160 0e7eb7beb2041a883391afab4a40d96ca5801eb8 SHA1 6fc8d60c505cf27afb0b5e18effd135bdc980be8 SHA256 ff68f4aa506c71afd998c9a8d5b4903aedf9d0a0423081a65fa92dd1444b69ff -MISC ChangeLog 3858 RMD160 f5186213bbdf1c6992b32c189d775d53195724cf SHA1 e70168f7cf618a14109c5c158e7a337fbd089636 SHA256 75bf15be2c63c9e88f0a9f461e8df32788cc8955072116453f88ba8398ff3a41 +EBUILD umfpack-5.5.1.ebuild 1093 RMD160 d71355d6d13c00f2d69bd4d25c5bb8e73787bc62 SHA1 7c2c26af85d8ae6dd6a1680abe194c3fa2ee269b SHA256 76f9602c3678a3a6d975b858b11a10ef1264115328117b2dd13de9cf221e4d41 +MISC ChangeLog 4103 RMD160 1479d54115450bc5498da37412ad9b452ddd09fb SHA1 c8978ddb9acb659169a535b71d22b669979a7528 SHA256 71cd66d101334e1bf1b00661a1243be4f60878dac41c9bfea280515bc3b59b4d MISC metadata.xml 568 RMD160 cd2f888cdbc42ce5bc5b6177496aa0f2f876f99a SHA1 c9f1ab800f67a8d0041b391c4789a30b6fd108cf SHA256 3e0de3bbddf611f5e7d37f5393a51426811b72d88fd6c71c6774901570023526 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk4ArnsACgkQgAnW8HDreRbqigCfbEB3v4eXklOoEzrF5G4rVBQ0 -inwAniUmtcB4iFzzUVx2CRv1KHtja0+b -=fThb +iEYEARECAAYFAk462LUACgkQ1ycZbhPLE2CBDwCgo/1BGPgcm0OTaqA0XAd4wvxp +97oAn2/G7ipzv7oyKZvQmD+1nwcHLLH0 +=ax3g -----END PGP SIGNATURE----- diff --git a/sci-libs/umfpack/files/umfpack-5.5.0-autotools.patch b/sci-libs/umfpack/files/5.5.1-autotools.patch index 3da771940d66..645ea56f27fd 100644 --- a/sci-libs/umfpack/files/umfpack-5.5.0-autotools.patch +++ b/sci-libs/umfpack/files/5.5.1-autotools.patch @@ -1,6 +1,5 @@ -diff -Nur UMFPACK.orig/acx_blas.m4 UMFPACK/acx_blas.m4 ---- UMFPACK.orig/acx_blas.m4 1970-01-01 01:00:00.000000000 +0100 -+++ UMFPACK/acx_blas.m4 2010-05-16 16:36:04.000000000 +0100 +--- acx_blas.m4 1970-01-01 01:00:00.000000000 +0100 ++++ acx_blas.m4 2010-05-16 16:36:04.000000000 +0100 @@ -0,0 +1,191 @@ +##### http://autoconf-archive.cryp.to/acx_blas.html +# @@ -193,13 +192,12 @@ diff -Nur UMFPACK.orig/acx_blas.m4 UMFPACK/acx_blas.m4 + $2 +fi +])dnl ACX_BLAS -diff -Nur UMFPACK.orig/configure.ac UMFPACK/configure.ac ---- UMFPACK.orig/configure.ac 1970-01-01 01:00:00.000000000 +0100 -+++ UMFPACK/configure.ac 2010-05-16 16:37:29.000000000 +0100 -@@ -0,0 +1,45 @@ +--- configure.ac 1970-01-01 01:00:00.000000000 +0100 ++++ configure.ac 2010-05-16 16:37:29.000000000 +0100 +@@ -0,0 +1,47 @@ +# -*- Autoconf -*- +AC_PREREQ(2.59) -+AC_INIT(umfpack, 5.5.0, davis@cise.ufl.edu) ++AC_INIT(umfpack, 5.5.1, davis@cise.ufl.edu) +AC_CONFIG_SRCDIR([Source/umf_solve.c]) +AM_INIT_AUTOMAKE([foreign]) +AC_PROG_INSTALL @@ -228,9 +226,11 @@ diff -Nur UMFPACK.orig/configure.ac UMFPACK/configure.ac + PKG_CHECK_MODULES([metis], [metis]) + else + AC_CHECK_HEADERS(metis.h) -+ AC_CHECK_LIB(metis, METIS_NodeND, [METIS_LIBS=-lmetis], \ ++ AC_CHECK_LIB(metis, METIS_NodeND, [metis_LIBS=-lmetis], \ + [AC_MSG_ERROR([CHOLMOD needs metis. Cannot find libmetis])]) + fi ++ LIBS="${LIBS} ${metis_LIBS}" ++ CPPFLAGS="${CPPFLAGS} ${metis_CFLAGS}" +else + AC_DEFINE(NCHOLMOD) +fi @@ -242,9 +242,8 @@ diff -Nur UMFPACK.orig/configure.ac UMFPACK/configure.ac + Demo/Makefile + Makefile]) +AC_OUTPUT -diff -Nur UMFPACK.orig/Demo/Makefile.am UMFPACK/Demo/Makefile.am ---- UMFPACK.orig/Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100 -+++ UMFPACK/Demo/Makefile.am 2010-05-16 16:36:04.000000000 +0100 +--- Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ Demo/Makefile.am 2010-05-16 16:36:04.000000000 +0100 @@ -0,0 +1,44 @@ +AM_CPPFLAGS = -I$(top_srcdir)/Include +LDADD = $(top_builddir)/Source/libumfpack.la @@ -290,9 +289,8 @@ diff -Nur UMFPACK.orig/Demo/Makefile.am UMFPACK/Demo/Makefile.am + echo "*** ERROR: $$failed/$$total tests failed!!!"; \ + echo "Please check the failures before reporting"; \ + fi -diff -Nur UMFPACK.orig/Include/Makefile.am UMFPACK/Include/Makefile.am ---- UMFPACK.orig/Include/Makefile.am 1970-01-01 01:00:00.000000000 +0100 -+++ UMFPACK/Include/Makefile.am 2010-05-16 16:36:04.000000000 +0100 +--- Include/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ Include/Makefile.am 2010-05-16 16:36:04.000000000 +0100 @@ -0,0 +1,34 @@ +include_HEADERS = \ + umfpack.h \ @@ -328,15 +326,13 @@ diff -Nur UMFPACK.orig/Include/Makefile.am UMFPACK/Include/Makefile.am + umfpack_transpose.h \ + umfpack_triplet_to_col.h \ + umfpack_wsolve.h -diff -Nur UMFPACK.orig/Makefile.am UMFPACK/Makefile.am ---- UMFPACK.orig/Makefile.am 1970-01-01 01:00:00.000000000 +0100 -+++ UMFPACK/Makefile.am 2010-05-16 16:36:04.000000000 +0100 +--- Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ Makefile.am 2010-05-16 16:36:04.000000000 +0100 @@ -0,0 +1,2 @@ +SUBDIRS = Source Include Demo +EXTRA_DIST = README.txt -diff -Nur UMFPACK.orig/Source/Makefile.am UMFPACK/Source/Makefile.am ---- UMFPACK.orig/Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100 -+++ UMFPACK/Source/Makefile.am 2010-05-16 16:36:04.000000000 +0100 +--- Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100 ++++ Source/Makefile.am 2010-05-16 16:36:04.000000000 +0100 @@ -0,0 +1,221 @@ +AM_CPPFLAGS = -I$(top_srcdir)/Include +lib_LTLIBRARIES = libumfpack.la diff --git a/sci-libs/umfpack/umfpack-5.4.0.ebuild b/sci-libs/umfpack/umfpack-5.4.0.ebuild deleted file mode 100644 index c20d941d1090..000000000000 --- a/sci-libs/umfpack/umfpack-5.4.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/umfpack/umfpack-5.4.0.ebuild,v 1.4 2011/06/21 14:45:09 jlec Exp $ - -EAPI=2 -inherit autotools eutils fortran-2 - -MY_PN=UMFPACK - -DESCRIPTION="Unsymmetric multifrontal sparse LU factorization library" -HOMEPAGE="http://www.cise.ufl.edu/research/sparse/umfpack" -SRC_URI="http://www.cise.ufl.edu/research/sparse/${PN}/${MY_PN}-${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" -IUSE="doc" -RDEPEND=" - virtual/fortran - virtual/blas - sci-libs/amd" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -S="${WORKDIR}/${MY_PN}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-5.2.0-autotools.patch - eautoreconf -} - -src_configure() { - econf --with-blas="$(pkg-config --libs blas)" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc README.txt Doc/ChangeLog || die "dodoc failed" - if use doc; then - insinto /usr/share/doc/${PF} - doins Doc/*.pdf || die "doins failed" - fi -} diff --git a/sci-libs/umfpack/umfpack-5.5.0.ebuild b/sci-libs/umfpack/umfpack-5.5.0.ebuild deleted file mode 100644 index 2a5cbd1d0331..000000000000 --- a/sci-libs/umfpack/umfpack-5.5.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/umfpack/umfpack-5.5.0.ebuild,v 1.4 2011/06/21 14:45:09 jlec Exp $ - -EAPI=2 -inherit autotools eutils fortran-2 - -MY_PN=UMFPACK - -DESCRIPTION="Unsymmetric multifrontal sparse LU factorization library" -HOMEPAGE="http://www.cise.ufl.edu/research/sparse/umfpack" -SRC_URI="http://www.cise.ufl.edu/research/sparse/${PN}/${MY_PN}-${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" -IUSE="doc metis static-libs" -RDEPEND=" - virtual/fortran - virtual/blas - sci-libs/amd - metis? ( sci-libs/cholmod[metis] )" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -S="${WORKDIR}/${MY_PN}" - -src_prepare() { - cd "${WORKDIR}" - epatch "${FILESDIR}"/${PN}-5.5.0-autotools.patch - cd "${S}" - eautoreconf -} - -src_configure() { - econf \ - --with-blas="$(pkg-config --libs blas)" \ - $(use_enable static-libs static) \ - $(use_with metis cholmod) -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc README.txt Doc/ChangeLog || die "dodoc failed" - if use doc; then - insinto /usr/share/doc/${PF} - doins Doc/*.pdf || die "doins failed" - fi -} diff --git a/sci-libs/umfpack/umfpack-5.5.1.ebuild b/sci-libs/umfpack/umfpack-5.5.1.ebuild index 884468c8dbbd..72fb560562e7 100644 --- a/sci-libs/umfpack/umfpack-5.5.1.ebuild +++ b/sci-libs/umfpack/umfpack-5.5.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/umfpack/umfpack-5.5.1.ebuild,v 1.3 2011/06/21 14:45:09 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/umfpack/umfpack-5.5.1.ebuild,v 1.4 2011/08/04 17:36:44 bicatali Exp $ -EAPI=2 +EAPI=4 inherit autotools eutils fortran-2 MY_PN=UMFPACK @@ -26,9 +26,7 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_PN}" src_prepare() { - cd "${WORKDIR}" - epatch "${FILESDIR}"/${PN}-5.5.0-autotools.patch - cd "${S}" + epatch "${FILESDIR}"/${PV}-autotools.patch eautoreconf } @@ -40,10 +38,7 @@ src_configure() { } src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc README.txt Doc/ChangeLog || die "dodoc failed" - if use doc; then - insinto /usr/share/doc/${PF} - doins Doc/*.pdf || die "doins failed" - fi + default + dodoc README.txt Doc/ChangeLog + use doc && dodoc Doc/*.pdf } |