Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/arpack/
Date: Sun, 27 Dec 2020 03:37:07
Message-Id: 1609038670.b41573ad26db26cb1ed156a4ea80bf3681784e49.sam@gentoo
1 commit: b41573ad26db26cb1ed156a4ea80bf3681784e49
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Sat Dec 26 10:32:45 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 27 03:11:10 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b41573ad
7
8 sci-libs/arpack: Bump to 3.8.0
9
10 Closes: https://bugs.gentoo.org/761292
11 Closes: https://bugs.gentoo.org/740222
12 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 sci-libs/arpack/Manifest | 1 +
16 sci-libs/arpack/arpack-3.8.0.ebuild | 59 +++++++++++++++++++++++++++++++++++++
17 2 files changed, 60 insertions(+)
18
19 diff --git a/sci-libs/arpack/Manifest b/sci-libs/arpack/Manifest
20 index 78188d3b5d3..b578f3ff68d 100644
21 --- a/sci-libs/arpack/Manifest
22 +++ b/sci-libs/arpack/Manifest
23 @@ -1,3 +1,4 @@
24 DIST arpack-3.7.0.tar.gz 989570 BLAKE2B bdab72f080d223ebbe5a279102d54fc196aac3ad1b8360be0e3814cb5e14e8f26a1f37b4b27b66db4b88b0c651c039666aa94a98fcdb34977feea7fc7d10808c SHA512 cc07cdd1fba4881907b507ff6b6c9bce9e3dadd8ef744194f08ee718a6210c039ac0c51c12edd720503f8e59bcd11c178fc323e1a59696be8c3b8262cf47a452
25 +DIST arpack-3.8.0.tar.gz 1014494 BLAKE2B 6daf8a237fdfce527935d777292df150b2f78892d9975f8696a37024fcb78174b29afd300e7abca2684c1907eeda658eb4478f09f580835896c0e10d106cdbbd SHA512 8969c74c4c0459ea2d29ea49d5260f668fd33f73886df0da78a42a94aea93c9f5fb70f5df035266db68807ab09a92c13487a7a4e6ca64922145aade8a148a2de
26 DIST tutorial.ps.gz 105599 BLAKE2B 99570e6a0cc1c020b9c271e8ce1cc224f69ff5333cc818c10b063dc8ffbaf66a9f5c6ede99541b4212286d422146b1c4e332eba7e1635c99efa0e4c2620f0630 SHA512 a7b8fefd1a572ed477ae208d49094c1c65c9368990d12de9b3528e33fed546c947659f74e54a810d04154b4a1b0f9a94bcba4db0cf59d379e20786a261066aa4
27 DIST ug.ps.gz 248543 BLAKE2B ac010aef470060636fa00360636ba093f0d24d219fa927c79fb1726b798160eda74fa8b4be6c7dff94f5759efcf30afa99ad310e7959115e028738beb8aa125d SHA512 3349117fb10b07207ffbab2ffa31b406d026855ea4c16e8649b14c7d70bc94e11b5730672e34acd654817799136d4bd76569ac50ec78d787df5582d18ed61328
28
29 diff --git a/sci-libs/arpack/arpack-3.8.0.ebuild b/sci-libs/arpack/arpack-3.8.0.ebuild
30 new file mode 100644
31 index 00000000000..e5986de25b7
32 --- /dev/null
33 +++ b/sci-libs/arpack/arpack-3.8.0.ebuild
34 @@ -0,0 +1,59 @@
35 +# Copyright 1999-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +inherit autotools fortran-2 toolchain-funcs
41 +
42 +DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems"
43 +HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/ https://github.com/opencollab/arpack-ng"
44 +SRC_URI="
45 + https://github.com/opencollab/${PN}-ng/archive/${PV}.tar.gz -> ${P}.tar.gz
46 + doc? (
47 + http://www.caam.rice.edu/software/ARPACK/SRC/ug.ps.gz
48 + http://www.caam.rice.edu/software/ARPACK/DOCS/tutorial.ps.gz )"
49 +
50 +LICENSE="BSD"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
53 +IUSE="doc examples mpi"
54 +
55 +RDEPEND="
56 + virtual/blas
57 + virtual/lapack
58 + mpi? ( virtual/mpi[fortran] )"
59 +DEPEND="${RDEPEND}"
60 +BDEPEND="virtual/pkgconfig"
61 +
62 +S="${WORKDIR}/${PN}-ng-${PV}"
63 +
64 +src_prepare() {
65 + default
66 + eautoreconf
67 +}
68 +
69 +src_configure() {
70 + econf \
71 + --disable-static \
72 + --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
73 + --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" \
74 + $(use_enable mpi)
75 +}
76 +
77 +src_install() {
78 + default
79 +
80 + dodoc DOCUMENTS/*.doc
81 + newdoc DOCUMENTS/README README.doc
82 + use doc && dodoc "${WORKDIR}"/*.ps
83 + if use examples; then
84 + dodoc -r EXAMPLES
85 + if use mpi; then
86 + docinto EXAMPLES/PARPACK
87 + dodoc -r PARPACK/EXAMPLES/MPI
88 + fi
89 + fi
90 +
91 + # no static archives
92 + find "${ED}" -name '*.la' -delete || die
93 +}