diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-01-26 10:52:12 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-01-26 10:52:12 +0000 |
commit | c4fd761a7f464f5eb3f9ed3d0d1d32e7c9ee90df (patch) | |
tree | b8377dfe8d13d21671bae8defd13487dd0f23339 /sci-libs | |
parent | Drop firewalled ftp.silug.org from alsaproject mirror list. Timeouts suck. (diff) | |
download | historical-c4fd761a7f464f5eb3f9ed3d0d1d32e7c9ee90df.tar.gz historical-c4fd761a7f464f5eb3f9ed3d0d1d32e7c9ee90df.tar.bz2 historical-c4fd761a7f464f5eb3f9ed3d0d1d32e7c9ee90df.zip |
version Bump and new upstream, bundles mostly all downstream patches, old upstream is dead
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/arpack/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/arpack/Manifest | 14 | ||||
-rw-r--r-- | sci-libs/arpack/arpack-3.0.2.ebuild | 108 | ||||
-rw-r--r-- | sci-libs/arpack/metadata.xml | 4 |
4 files changed, 126 insertions, 9 deletions
diff --git a/sci-libs/arpack/ChangeLog b/sci-libs/arpack/ChangeLog index af03827a930e..5a0c8c4b3996 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.33 2012/01/23 15:29:58 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/arpack/ChangeLog,v 1.34 2012/01/26 10:52:12 jlec Exp $ + +*arpack-3.0.2 (26 Jan 2012) + + 26 Jan 2012; Justin Lecher <jlec@gentoo.org> +arpack-3.0.2.ebuild, + metadata.xml: + version Bump and new upstream, bundles mostly all downstream patches, old + upstream is dead 23 Jan 2012; Tobias Klausmann <klausman@gentoo.org> arpack-96-r3.ebuild: Stable on alpha, bug #388475 diff --git a/sci-libs/arpack/Manifest b/sci-libs/arpack/Manifest index fca20420095f..4d776ffdd3e2 100644 --- a/sci-libs/arpack/Manifest +++ b/sci-libs/arpack/Manifest @@ -1,20 +1,22 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA512 DIST arpack-96-patches-2.tar.bz2 504621 RMD160 bd6e20320a732ae7d5d0319cb4d12b1b0c05e3d8 SHA1 a4a17efd5a6488aa24934cb3d5d3de94d8d7ee87 SHA256 ecb2aa94feff0ff6d9df3416c205d3c3715073e6abaa58dc3a39786ca7e686fc DIST arpack-96-patches.tar.bz2 503753 RMD160 2708ffa25ea003b4c0122e93868e48ff517a5bc1 SHA1 dca33500f2b10667b6fc356b52882e2c70788197 SHA256 98a0af4bada8dcce7dcda009962e65f774c5f707e12f72438187e1e4cc5db6ba 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-3.0.2.ebuild 2847 RMD160 c2579306cca8c1a6691a624b4508d2b1c1a840a1 SHA1 a95ceef550545825bfdd5c1441eef205c308ac11 SHA256 baa4d3e2bb1bfc5f36e969dfa5e296ef77a266129341c8aab7c4f6f2c45e486a EBUILD arpack-96-r2.ebuild 3139 RMD160 dcf2f36a0ed0b940b1f15f4111920fa1497c4178 SHA1 318a7afc05a04e952e62526203af88d33880dfaa SHA256 d0662e59bec3e10efa59fccd12e6835e4623f8e8120a97bf766d7fa701de62aa EBUILD arpack-96-r3.ebuild 3198 RMD160 a3296f382615e613faba03d3140c14f9a2904414 SHA1 33c735ef699bc5a77b1e5a84ef6f01802ed4bf9f SHA256 f39f84f407509faeefd93db77faee9db5e68d06ea00ac16a3163df9e9e494edb -MISC ChangeLog 5257 RMD160 81ef81c6181de4670edd5de3fb0d9e69a9d30edf SHA1 6f95ae03848f56c47d93bd921e8c5b750292481e SHA256 80bdacb18caa01f033ea37ce6f83bc4774a7556ba53ac9e192a073d0ccf1666a -MISC metadata.xml 778 RMD160 a17303d8e0a33f121e91431bc79c29c474b89621 SHA1 48a7c028e4a85b44a816ee160da700b85eb6c81f SHA256 9322966357560a8ec46b992b22a95797cb52fb5df194e7fbca78ae05226e2fb3 +MISC ChangeLog 5463 RMD160 e7353cf64c66c93e4dc3f665a5a82e050de8dded SHA1 65abeb50bfc0ba6fd1b823a1a2554b1801c3eae3 SHA256 6db4dcb0bc5ba748dc6b10b2de56697a358e695a43ee55bd657b9dac1e4c9247 +MISC metadata.xml 780 RMD160 7bdcd29715bd22a10e912793bbe19e9b572278a8 SHA1 0303748e73216804219e58ac7ce41fe7fe3ddce3 SHA256 1659d401ed1234e0fe882567ead9df9761a2f50cd5e1e5788fb4cd305863fb54 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk8dfQMACgkQA+4Doc5dVOg9fQCeJ5h8mS5MGpsgzkBE71JNk/Vn -QfIAn3RZenyctR4sQ/gUo9I/7QKW96My -=CEYA +iEYEAREKAAYFAk8hMGEACgkQgAnW8HDreRbeMwCgmMM40glFy1zVy5hu6YvGzBsM +WVQAnRvI0NuXpDnKJV4+DUyM6V7AR4M9 +=7UrA -----END PGP SIGNATURE----- diff --git a/sci-libs/arpack/arpack-3.0.2.ebuild b/sci-libs/arpack/arpack-3.0.2.ebuild new file mode 100644 index 000000000000..2e2ff0f24326 --- /dev/null +++ b/sci-libs/arpack/arpack-3.0.2.ebuild @@ -0,0 +1,108 @@ +# 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.0.2.ebuild,v 1.1 2012/01/26 10:52:12 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}_${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 ~sparc ~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} + dev-util/pkgconfig" + +S="${WORKDIR}/${PN}-ng-${PV}" + +src_prepare() { + # fix examples library paths + sed \ + -e '/^include/d' \ + -e "s:\$(ALIBS):-larpack $(pkg-config --libs blas lapack):g" \ + -e 's:$(FFLAGS):$(FFLAGS) $(LDFLAGS):g' \ + -i EXAMPLES/*/makefile || die "sed failed" + + sed \ + -e '/^include/d' \ + -e "s:\$(PLIBS):-larpack -lparpack $(pkg-config --libs blas lapack):g" \ + -e 's:_$(PLAT)::g' \ + -e 's:$(PFC):mpif77:g' \ + -e 's:$(PFFLAGS):$(FFLAGS) $(LDFLAGS) $(EXTOBJS):g' \ + -i 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/ + + autotools-utils_src_prepare +} + +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() { + pushd EXAMPLES/SIMPLE + 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 PARPACK/EXAMPLES/MPI + emake \ + FC=mpif77 \ + LDFLAGS="${LDFLAGS} -L${AUTOTOOLS_BUILD_DIR}/.libs -L${AUTOTOOLS_BUILD_DIR}/PARPACK/.libs ${LIBS}" \ + pdndrv + 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/metadata.xml b/sci-libs/arpack/metadata.xml index b177f1085672..3ae32bd2b8eb 100644 --- a/sci-libs/arpack/metadata.xml +++ b/sci-libs/arpack/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>sci</herd> -<longdescription lang="en"> + <herd>sci</herd> + <longdescription lang="en"> The ARnoldi PACKage is a library of routines capable of solving large scale symmetric, nonsymmetric, and generalized eigenproblems. The software is designed to compute a few eigenvalues with user specified features such as those of largest real |