summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-09-05 19:54:42 +0000
committerJustin Lecher <jlec@gentoo.org>2012-09-05 19:54:42 +0000
commite1ad82dc2cab22f4f4d71474c5331f289197ed13 (patch)
tree679c597a52889ac94fa2e32803c5d7047f5cbfbb
parentFix handling of EPREFIX with whitespace. Patch by Arfrever. (diff)
downloadhistorical-e1ad82dc2cab22f4f4d71474c5331f289197ed13.tar.gz
historical-e1ad82dc2cab22f4f4d71474c5331f289197ed13.tar.bz2
historical-e1ad82dc2cab22f4f4d71474c5331f289197ed13.zip
sci-libs/arpack: Version bump
Package-Manager: portage-2.2.0_alpha124/cvs/Linux x86_64
-rw-r--r--sci-libs/arpack/ChangeLog8
-rw-r--r--sci-libs/arpack/Manifest37
-rw-r--r--sci-libs/arpack/arpack-3.1.2.ebuild88
-rw-r--r--sci-libs/arpack/files/arpack-3.1.2-test.patch36
4 files changed, 151 insertions, 18 deletions
diff --git a/sci-libs/arpack/ChangeLog b/sci-libs/arpack/ChangeLog
index 6fe3635a2b4d..b0738fb7d033 100644
--- a/sci-libs/arpack/ChangeLog
+++ b/sci-libs/arpack/ChangeLog
@@ -1,6 +1,12 @@
# 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.41 2012/06/13 10:57:51 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/arpack/ChangeLog,v 1.42 2012/09/05 19:54:42 jlec Exp $
+
+*arpack-3.1.2 (05 Sep 2012)
+
+ 05 Sep 2012; Justin Lecher <jlec@gentoo.org> +arpack-3.1.2.ebuild,
+ +files/arpack-3.1.2-test.patch:
+ Version bump
*arpack-0.96-r3 (13 Jun 2012)
diff --git a/sci-libs/arpack/Manifest b/sci-libs/arpack/Manifest
index a2170a132331..062f3b6c3651 100644
--- a/sci-libs/arpack/Manifest
+++ b/sci-libs/arpack/Manifest
@@ -1,24 +1,27 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
-DIST arpack-96-patches-2.tar.bz2 504621 RMD160 bd6e20320a732ae7d5d0319cb4d12b1b0c05e3d8 SHA1 a4a17efd5a6488aa24934cb3d5d3de94d8d7ee87 SHA256 ecb2aa94feff0ff6d9df3416c205d3c3715073e6abaa58dc3a39786ca7e686fc
-DIST arpack-ng_3.1.1.tar.gz 1295404 RMD160 fcce84166af3af61e3b122f80bd9ec3e919ac98e SHA1 45b282d0aee768d9504c1a8d5440d069aa39dd62 SHA256 be250947a7d6eac7dff8c058102fce9922c524aa06be2a090b6e0bb2d1e228cd
-DIST arpack96.tar.gz 636865 RMD160 3d1c1c307223961506066f895b7ab291861e73fe SHA1 3f91de2b39b484bc8365f8048c9eb109e0306e1c SHA256 c6a47eca30a256cbae60e69c606251b84b6a0f352ba527b2dcbd4789ce85ecfc
-DIST arpack_3.0.2.tar.gz 1245583 RMD160 26c74ff0a5ecd300eb61a1a0abea5bdbaa6e358d SHA1 1092e4da3a28707ee3a143defaa99f8fa26bba9f SHA256 4add769386e0f6b0484491bcff129c6f5234190dbf58e07cc068fbd5dc7278bf
-DIST parpack96.tar.gz 509316 RMD160 224d61ef7ff9eec5f59b747d669f3deb74eb2ba5 SHA1 ebcb4de09639a2faa929bb1a46ba7350d1aa58da SHA256 3b6a1ceec06f14e2a06c323721baa908c2f7823d1da79cdfd3f91961f8b6b926
-DIST tutorial.ps.gz 105599 RMD160 aaba42a6d5ce212e56f312d6187ba932d3b674b7 SHA1 70961d4e3463d012b33a1bbe25b5761d2a25a4d0 SHA256 2f745fe80b0a4fcdf1c273995ed67bc6cf03684ccbaa44442ad1187ea41b81c0
-DIST ug.ps.gz 248543 RMD160 29911161dbc7f496ee16db3c98047dae0be51da2 SHA1 6ad34e7ddee64a340e756d55690a2f4e4f46e767 SHA256 ff1faac74bfc42442955906132756ecd7f0034803898d507dbd1bc960f6f4ab0
-EBUILD arpack-0.96-r3.ebuild 3228 RMD160 5ae683e4755084d523a1e8c3cb2876e4ee8a774a SHA1 ae4cb6b50c4e5a390ec234bb8de83a8b49f51ae8 SHA256 b9c76e740fee1a5f4adb54acaf57ec2a206cac3867231e943fa08489b67420ac
-EBUILD arpack-3.0.2.ebuild 2841 RMD160 00cbd6956a61fefa5525d8e7fe2eedf22518cfcd SHA1 ffb9036549bfb1743570f00547fa3482b9388fc5 SHA256 5db76d26a7f37cd66d10a8553518ab3bdda24fe42eeb7566708ce3f9a2164c74
-EBUILD arpack-3.1.1.ebuild 2842 RMD160 70bafa6fc0d1d511f3811cadac74f93203a9ef40 SHA1 9bfc6acca7992fc4fbe502f6e675f0ba2ce29843 SHA256 ed75179e5e868785f6da5f1e1a1fd558b5cee986d68b6e38a20e397881e9bd4c
-EBUILD arpack-96-r3.ebuild 3186 RMD160 a55d23982999b72f0ce6389c36bc8e74ac722176 SHA1 3dacd0fa8d0da25a0720e8982872c7cb4116f365 SHA256 2a8b4620fd4d7bc3f7f511ba07502ffbc6a2a3d1b0fe3becd1e59782ce065987
-MISC ChangeLog 6456 RMD160 a8441083c7643c86c426174fa85898ae09f9cb37 SHA1 716ac2e484f1ed7a18903d7749cf0ce888dce0bc SHA256 3cba1134f852e11163102d7b4f658432197b80fd05c85d49d410c5862f81102b
-MISC metadata.xml 780 RMD160 7bdcd29715bd22a10e912793bbe19e9b572278a8 SHA1 0303748e73216804219e58ac7ce41fe7fe3ddce3 SHA256 1659d401ed1234e0fe882567ead9df9761a2f50cd5e1e5788fb4cd305863fb54
+AUX arpack-3.1.2-test.patch 1472 SHA256 28df2f0146810feefbbf8c703f74b68d03a89bc5025456ec0cd5a67cafa741a3 SHA512 8f43bf145b0b510f1d4aa47985fc51a22103772973c53739a6c776eb86480ca8fc7e5f0492924f989aa0eeb42697200cd8ee22df8771a222f985fa02d1045c2f WHIRLPOOL 802adf79984b969604584e7f2c2489e9ca54d15b98ad3bfa9dba86b6af2a29a7ce99e57a2335864477742e8cfbcc119cf983276dc34d63240ad207958ea35284
+DIST arpack-96-patches-2.tar.bz2 504621 SHA256 ecb2aa94feff0ff6d9df3416c205d3c3715073e6abaa58dc3a39786ca7e686fc SHA512 5f661198730fb5dd5d79d02d01cef9abb09f4b3f3bf29586ff65cfbb7d257f99ae4386381ecc2bafba25e59d9fc4a0d1ab1adbce103434ff94e5694333ee15da WHIRLPOOL fc62cc4eb78647ff0b45ff4a10599ca54036c0c60f45840a48a5009b36754e60ee0eb8bbf87fe8c8c854c8b0db8ca6ce023649cbd5b33b4c8569f48d3dc180fb
+DIST arpack-ng_3.1.1.tar.gz 1295404 SHA256 be250947a7d6eac7dff8c058102fce9922c524aa06be2a090b6e0bb2d1e228cd SHA512 394c727690559c8446a8f40ea3ebc4baa106bf1995fbd6cbe6f95303682de26f66cff6d148e8312eda01cdb933e8535f53218acc5208ecccea72adc4ada50c85 WHIRLPOOL 31cf97aeff462ce7240cbbc18c8b817d82467141961dcd210880413c37c3b89be99b2b2135af22c6b4c5d56c81e12aa621d76b5971e83d58c16dd99456fd93cb
+DIST arpack-ng_3.1.2.tar.gz 1299556 SHA256 9338bda5bef5a4bafd99c18f327acb54f8be4ffc5c53d0a186e4aa27db3260f2 SHA512 ddf07c83a4b5230822c6ed709d9a18cd01fef78826602d4876fa7dc3e6c4b90e3581519eb50601b8c62023db7610a92ef5dd568c385fde4942cfe0a501e4cc9c WHIRLPOOL 29614e2f0b6b5fea87aa655c217c4f46f32b83f0b4286c7f07395f8d97c6fc7a391c2476cbd269a6236a4ea39f4a9aa9dde2a76cce115ae30ea01bad7a659df7
+DIST arpack96.tar.gz 636865 SHA256 c6a47eca30a256cbae60e69c606251b84b6a0f352ba527b2dcbd4789ce85ecfc SHA512 504beb3220393c055377d4268e62ca325f8800890fb09e87c094441a3e3491ddec1cb2ae1e4101227ae4916ef50afe1b6a25b975447083dbe74b1ab1f68dc1f6 WHIRLPOOL 5b7b738d39e692a38700b1b38fd1066c42d9c6b779fa88233f858d405796745c52e31f339fd4737bc9e8caf794b3f62275824b1cb2adfbc5014960f999e31913
+DIST arpack_3.0.2.tar.gz 1245583 SHA256 4add769386e0f6b0484491bcff129c6f5234190dbf58e07cc068fbd5dc7278bf SHA512 6a6018e3616fe3b75545ad9bb2c1bbe9dc09e4472b5f46ed5896b89df13a1584dad4279a7c9aeda7070ffbea048d8e63125f420ca7fadce6908f210df2f3d385 WHIRLPOOL f09c067796c1521b4414cd1cf92bb711f286849a0420e84b3daf6abbb2d1cd880622e4191cbbd300c6b45d3d201f47325dbfa332df4b4ee3728abb4e2934caad
+DIST parpack96.tar.gz 509316 SHA256 3b6a1ceec06f14e2a06c323721baa908c2f7823d1da79cdfd3f91961f8b6b926 SHA512 c8198195283b986e778004b621e3d05d41b8871195a5508a8d1ba549874d568b6e83d4f35785d00a2b74c82f562d8d1704b406bd5f8f20711ee244032b97331c WHIRLPOOL 1d3e31c1b0a6055ff7b8b7955a03891796786e0fa602b985b35359fbd32e53bd291637aafdfbe5b3dbadeeb7ff0d2cf9b20201d1a941080a38f8b5ec92a3e4d7
+DIST tutorial.ps.gz 105599 SHA256 2f745fe80b0a4fcdf1c273995ed67bc6cf03684ccbaa44442ad1187ea41b81c0
+DIST ug.ps.gz 248543 SHA256 ff1faac74bfc42442955906132756ecd7f0034803898d507dbd1bc960f6f4ab0
+EBUILD arpack-0.96-r3.ebuild 3228 SHA256 b9c76e740fee1a5f4adb54acaf57ec2a206cac3867231e943fa08489b67420ac SHA512 0d6c9d82c3978dceeee783440424d94d358b6e21e8a751ecd2ea72d4c0f9cf653f18bf53079408ad8c21d91ccb4f9c29eb833fdf3df520167f10099639e14d90 WHIRLPOOL f54f496186843f1c6132d0f9cd33410f937c8837af6aa2d87d73bae0d3ce848ad9088c6da2a8487b75b309baaa383443567772ac4bdc66ab349ed3a5b8080a72
+EBUILD arpack-3.0.2.ebuild 2841 SHA256 5db76d26a7f37cd66d10a8553518ab3bdda24fe42eeb7566708ce3f9a2164c74 SHA512 a9fde1a26af01f2bd042fdfe6b0b299f299b7ff3b6c3220f7510f92671112338c6d262431ee9427d85e9cdf1f784a6c016f132b1f4f0b2358857f35b315a602f WHIRLPOOL 42c2cd9b4d068b5efb0202edf70e9714a3dbc12971e443078483b38aa7b4daadd37ee09445c24191d414511135e2d28e8b2f78ecb51669bf786172e2f9fa8f8f
+EBUILD arpack-3.1.1.ebuild 2842 SHA256 ed75179e5e868785f6da5f1e1a1fd558b5cee986d68b6e38a20e397881e9bd4c SHA512 505916b0a3e218aad11c23ef5c7e96d03428464343f3af4bd6d448ce3b90edde9e4584f4a7ff39f72870f4123b567554dcb4f71facae6eceb9df18224790d691 WHIRLPOOL 970b044f2476f9b4160c9ef1720fe963b862e03d3ff5683c1fa921e7072c9dfc5d233aac36ffc228b4e68fab9d5b825487ca896469557c0de7dc8610701b0d35
+EBUILD arpack-3.1.2.ebuild 2285 SHA256 ae510e750a9ebf093e647d600939463f4726a86ce9cba922ae7243f76e65621a SHA512 1a6ae34160918cd057fb811f49cb0c7a4596864d709f5db4e3014a62da878ac8f2ff2d4bb53322aed9fdcb54279b50fba9613b278730e74fccf4160874335c8b WHIRLPOOL ddb4b42c8437c2029ae2c40471004f70b4f74ea6a47cb7b2dc10e4cd590f95d36c948a0d932b16075db0baca8a731a135e155783103c2a738ea0cb4b60b930b7
+EBUILD arpack-96-r3.ebuild 3186 SHA256 2a8b4620fd4d7bc3f7f511ba07502ffbc6a2a3d1b0fe3becd1e59782ce065987 SHA512 c6e257b2e9a196aa647132604e9a26024c9e6b664fd9f4feeb12d4d75b95ba5e6e220a5e02410eb4f478037f6311f572498a0f9bee3f911aca8b4713ba60baf4 WHIRLPOOL e6f5ed870f215e70981da01f45f37a8bf831c74c6cd9f1996ecf09b1aafb7d4ded7c549e967256ca8f3bc56b4ffe6de4389ffe947916f06472e7cf614ee209cd
+MISC ChangeLog 6604 SHA256 1c4d4ab96b85059cfaccee06aa4a6333c558b4cf8daa4b7a171b86a1b449a5bf SHA512 e09561404499c47ca12d1f3d8c284f93831e404465d950d4fb1100f9b9f24324181d807554627c9609e6095c1683c4c34c93d9eb121fb9ed3a0396068be8836a WHIRLPOOL 53bdea672ee644960e353c0fcb233c616df7ace7b59c002d0569139de42083cf4d3f7ea5779f33e11b5defedee09ba8e0f370a700f62cfeb5693d14437c16bdd
+MISC metadata.xml 780 SHA256 1659d401ed1234e0fe882567ead9df9761a2f50cd5e1e5788fb4cd305863fb54 SHA512 4842b463e47fbfd6d8ddd7d13171827b1ca14496452e01313b8a4a01125de138bfa08fc77e46c251fbbd430d6e2068ca8764f97e37410328fad5d990a5332107 WHIRLPOOL 523d2d4595859d006b7e9017db2d157242db7cb9ed0b143d562dc28780539d2528b6a323a061ee89593bdcf37349c8c1bff15fde3fb5294ea50813e8f01181bd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: GPGTools - http://gpgtools.org
-iEYEAREKAAYFAk/YcjQACgkQgAnW8HDreRbKwwCbBDkseJkT9Ku/kVmsclwlkFFz
-6hMAoKbgRQD0uvrM7qhVvVM/fcciVqCO
-=LpJv
+iEYEAREIAAYFAlBHrhEACgkQgAnW8HDreRYVxQCbBriO2+6iWmFUr1lzyDvY5pDI
+oM4AoJw/NgEkqbAYMc1vhoMmavebwVO2
+=OCwb
-----END PGP SIGNATURE-----
diff --git a/sci-libs/arpack/arpack-3.1.2.ebuild b/sci-libs/arpack/arpack-3.1.2.ebuild
new file mode 100644
index 000000000000..fff9d4a62e7c
--- /dev/null
+++ b/sci-libs/arpack/arpack-3.1.2.ebuild
@@ -0,0 +1,88 @@
+# 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-3.1.2.ebuild,v 1.1 2012/09/05 19:54:42 jlec Exp $
+
+EAPI=4
+
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils eutils flag-o-matic fortran-2 toolchain-funcs
+
+DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems"
+HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/"
+SRC_URI="
+ http://forge.scilab.org/upload/arpack-ng/files/${PN}-ng_${PV}.tar.gz
+ doc? (
+ http://www.caam.rice.edu/software/ARPACK/SRC/ug.ps.gz
+ http://www.caam.rice.edu/software/ARPACK/DOCS/tutorial.ps.gz )"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc examples mpi static-libs"
+
+RDEPEND="
+ virtual/fortran
+ virtual/blas
+ virtual/lapack
+ mpi? ( virtual/mpi[fortran] )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${PN}-ng_${PV}"
+
+PATCHES=( "${FILESDIR}"/${P}-test.patch )
+
+src_configure() {
+ local myeconfargs=(
+ --with-blas="$(pkg-config --libs blas)"
+ --with-lapack="$(pkg-config --libs lapack)"
+ $(use_enable mpi)
+ )
+ autotools-utils_src_configure
+}
+
+src_test() {
+ default
+ pushd EXAMPLES/SIMPLE
+ touch ../../ARmake.inc
+ emake simple FC=$(tc-getFC) LDFLAGS="${LDFLAGS} -L${AUTOTOOLS_BUILD_DIR}/.libs"
+ local prog=
+ for p in ss ds sn dn cn zn; do
+ prog=${p}simp
+ LD_LIBRARY_PATH="${AUTOTOOLS_BUILD_DIR}/.libs" ./${prog} \
+ || die "${prog} test failed"
+ rm -f ${prog} *.o || die
+ done
+ popd
+
+ if use mpi; then
+ pushd "${AUTOTOOLS_BUILD_DIR}"/PARPACK/EXAMPLES/MPI
+ emake \
+ FC=mpif77 \
+ LDFLAGS="${LDFLAGS} -L${AUTOTOOLS_BUILD_DIR}/.libs -L${AUTOTOOLS_BUILD_DIR}/PARPACK/.libs ${LIBS}"
+ for p in 1 3; do
+ prog=pdndrv${p}
+ LD_LIBRARY_PATH="${AUTOTOOLS_BUILD_DIR}/.libs:${AUTOTOOLS_BUILD_DIR}/PARPACK/.libs" \
+ ./${prog} || die "${prog} test failed"
+ rm -f ${prog} *.o || die
+ done
+ popd
+ fi
+}
+
+src_install() {
+ autotools-utils_src_install
+
+ dodoc DOCUMENTS/*.doc
+ newdoc DOCUMENTS/README README.doc
+ use doc && dodoc "${WORKDIR}"/*.ps
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r EXAMPLES
+ if use mpi; then
+ insinto /usr/share/doc/${PF}/EXAMPLES/PARPACK
+ doins -r PARPACK/EXAMPLES/MPI
+ fi
+ fi
+}
diff --git a/sci-libs/arpack/files/arpack-3.1.2-test.patch b/sci-libs/arpack/files/arpack-3.1.2-test.patch
new file mode 100644
index 000000000000..434fdb5b6c1b
--- /dev/null
+++ b/sci-libs/arpack/files/arpack-3.1.2-test.patch
@@ -0,0 +1,36 @@
+ EXAMPLES/SIMPLE/makefile | 14 +++++++-------
+ 1 file changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/EXAMPLES/SIMPLE/makefile b/EXAMPLES/SIMPLE/makefile
+index 9eb51db..0764b44 100644
+--- a/EXAMPLES/SIMPLE/makefile
++++ b/EXAMPLES/SIMPLE/makefile
+@@ -7,21 +7,21 @@
+ #\SCCS Information: @(#)
+ # FILE: makefile SID: 2.2 DATE OF SID: 9/24/96 RELEASE: 2
+ #
+-include ../../ARmake.inc
++#include ../../ARmake.inc
+ #
+ # simple drivers
+ #
+ simple: sssimp dssimp snsimp dnsimp cnsimp znsimp
+ #
+ sssimp: sssimp.o
+- $(FC) $(FFLAGS) sssimp.o $(ALIBS) -o sssimp
++ $(FC) $(FFLAGS) $(LDFLAGS) sssimp.o $(ALIBS) -o sssimp `pkg-config --libs blas lapack` -larpack
+ dssimp: dssimp.o
+- $(FC) $(FFLAGS) dssimp.o $(ALIBS) -o dssimp
++ $(FC) $(FFLAGS) $(LDFLAGS) dssimp.o $(ALIBS) -o dssimp `pkg-config --libs blas lapack` -larpack
+ snsimp: snsimp.o
+- $(FC) $(FFLAGS) snsimp.o $(ALIBS) -o snsimp
++ $(FC) $(FFLAGS) $(LDFLAGS) snsimp.o $(ALIBS) -o snsimp `pkg-config --libs blas lapack` -larpack
+ dnsimp: dnsimp.o
+- $(FC) $(FFLAGS) dnsimp.o $(ALIBS) -o dnsimp
++ $(FC) $(FFLAGS) $(LDFLAGS) dnsimp.o $(ALIBS) -o dnsimp `pkg-config --libs blas lapack` -larpack
+ cnsimp: cnsimp.o
+- $(FC) $(FFLAGS) cnsimp.o $(ALIBS) -o cnsimp
++ $(FC) $(FFLAGS) $(LDFLAGS) cnsimp.o $(ALIBS) -o cnsimp `pkg-config --libs blas lapack` -larpack
+ znsimp: znsimp.o
+- $(FC) $(FFLAGS) znsimp.o $(ALIBS) -o znsimp
++ $(FC) $(FFLAGS) $(LDFLAGS) znsimp.o $(ALIBS) -o znsimp `pkg-config --libs blas lapack` -larpack