summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-06-13 10:57:51 +0000
committerJustin Lecher <jlec@gentoo.org>2012-06-13 10:57:51 +0000
commit8633571a2d016026aaf93fc0d59beb48f8731e84 (patch)
treeb659622aa35a9231559593a923426210c83b10a9 /sci-libs/arpack
parentMask XXXXXXX versions in order to ease upgrade to latest version (diff)
downloadgentoo-2-8633571a2d016026aaf93fc0d59beb48f8731e84.tar.gz
gentoo-2-8633571a2d016026aaf93fc0d59beb48f8731e84.tar.bz2
gentoo-2-8633571a2d016026aaf93fc0d59beb48f8731e84.zip
sci-libs/arpack: Change Version numbers from 96 to 0.96 in order to be able to follow upstream new versioning scheme; Drop old unstable
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'sci-libs/arpack')
-rw-r--r--sci-libs/arpack/ChangeLog9
-rw-r--r--sci-libs/arpack/arpack-0.96-r3.ebuild (renamed from sci-libs/arpack/arpack-96-r2.ebuild)36
2 files changed, 30 insertions, 15 deletions
diff --git a/sci-libs/arpack/ChangeLog b/sci-libs/arpack/ChangeLog
index fc8aad453404..6fe3635a2b4d 100644
--- a/sci-libs/arpack/ChangeLog
+++ b/sci-libs/arpack/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-libs/arpack
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/arpack/ChangeLog,v 1.40 2012/05/30 19:03:49 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/arpack/ChangeLog,v 1.41 2012/06/13 10:57:51 jlec Exp $
+
+*arpack-0.96-r3 (13 Jun 2012)
+
+ 13 Jun 2012; Justin Lecher <jlec@gentoo.org> +arpack-0.96-r3.ebuild,
+ -arpack-96-r2.ebuild:
+ Change Version numbers from 96 to 0.96 in order to be able to follow upstream
+ new versioning scheme; Drop old unstable
30 May 2012; Justin Lecher <jlec@gentoo.org> arpack-3.1.1.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
diff --git a/sci-libs/arpack/arpack-96-r2.ebuild b/sci-libs/arpack/arpack-0.96-r3.ebuild
index 13c62205dd7f..791382fbeee1 100644
--- a/sci-libs/arpack/arpack-96-r2.ebuild
+++ b/sci-libs/arpack/arpack-0.96-r3.ebuild
@@ -1,17 +1,20 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/arpack/arpack-96-r2.ebuild,v 1.27 2012/05/04 08:22:53 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/arpack/arpack-0.96-r3.ebuild,v 1.1 2012/06/13 10:57:51 jlec Exp $
-EAPI=2
+EAPI=4
-inherit autotools eutils fortran-2 toolchain-funcs
+inherit autotools eutils flag-o-matic fortran-2 toolchain-funcs
+
+MY_PV="96"
+MY_P="${PN}-${MY_PV}"
DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems."
HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/"
SRC_URI="
- http://www.caam.rice.edu/software/ARPACK/SRC/${PN}${PV}.tar.gz
- http://www.caam.rice.edu/software/ARPACK/SRC/p${PN}${PV}.tar.gz
- http://dev.gentoo.org/~bicatali/${P}-patches.tar.bz2
+ http://www.caam.rice.edu/software/ARPACK/SRC/${PN}${MY_PV}.tar.gz
+ http://www.caam.rice.edu/software/ARPACK/SRC/p${PN}${MY_PV}.tar.gz
+ http://dev.gentoo.org/~bicatali/${MY_P}-patches-2.tar.bz2
doc? (
http://www.caam.rice.edu/software/ARPACK/SRC/ug.ps.gz
http://www.caam.rice.edu/software/ARPACK/DOCS/tutorial.ps.gz )"
@@ -39,7 +42,10 @@ src_unpack() {
src_prepare() {
cd "${WORKDIR}"
epatch "${WORKDIR}"/${PN}-arscnd.patch
+ # http://savannah.gnu.org/bugs/?func=detailitem&item_id=31479
+ epatch "${WORKDIR}"/${PN}-neupd.patch
epatch "${WORKDIR}"/${PN}-autotools.patch
+
cd "${S}"
# fix examples library paths
sed -i \
@@ -55,6 +61,10 @@ src_prepare() {
-e 's:$(PFC):mpif77:g' \
-e 's:$(PFFLAGS):$(FFLAGS) $(LDFLAGS) $(EXTOBJS):g' \
PARPACK/EXAMPLES/MPI/makefile || die "sed failed"
+
+ # bug #354993
+ rm -f PARPACK/{SRC,UTIL,EXAMPLES}/MPI/mpif.h
+ #ln -s "${EPREFIX}"/usr/include/mpif*.h PARPACK/SRC/MPI/
eautoreconf
}
@@ -98,19 +108,17 @@ src_test() {
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake DESTDIR="${D}" install
- dodoc README DOCUMENTS/*.doc || die "dodoc failed"
- newdoc DOCUMENTS/README README.doc || die "newdoc failed"
- if use doc; then
- dodoc "${WORKDIR}"/*.ps || die "dodoc postscript failed"
- fi
+ dodoc README DOCUMENTS/*.doc
+ newdoc DOCUMENTS/README README.doc
+ use doc && dodoc "${WORKDIR}"/*.ps
if use examples; then
insinto /usr/share/doc/${PF}
- doins -r EXAMPLES || die "doins examples failed"
+ doins -r EXAMPLES
if use mpi; then
insinto /usr/share/doc/${PF}/EXAMPLES/PARPACK
- doins -r PARPACK/EXAMPLES/MPI || die "doins mpi examples failed"
+ doins -r PARPACK/EXAMPLES/MPI
fi
fi
}