Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/umfpack/
Date: Mon, 02 Mar 2020 17:21:41
Message-Id: 1583169646.d3ff37a807618fd1463a8e667d088a2ba818b3de.mjo@gentoo
1 commit: d3ff37a807618fd1463a8e667d088a2ba818b3de
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 2 00:50:45 2020 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 2 17:20:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3ff37a8
7
8 sci-libs/umfpack: new version 5.7.9.
9
10 Update to EAPI=7 and fix the HOMEPAGE, SRC_URI, and LICENSE. This is
11 part of a larger SuiteSparse v5.4.0 upgrade thanks to François Bissey
12 whose sage-on-gentoo ebuilds I'm using. There's a newer release
13 (v5.7.1) of SuiteSparse, but v5.4.0 has seen more testing.
14
15 The dependency on cholmod probably needs some USE flags, because the
16 previous version dependend on !minimal. I can't figure out which of
17 the modules implied by !minimal are necessary, though, now that the
18 flags have been separated out.
19
20 Package-Manager: Portage-2.3.84, Repoman-2.3.20
21 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
22
23 sci-libs/umfpack/Manifest | 1 +
24 sci-libs/umfpack/umfpack-5.7.9.ebuild | 31 +++++++++++++++++++++++++++++++
25 2 files changed, 32 insertions(+)
26
27 diff --git a/sci-libs/umfpack/Manifest b/sci-libs/umfpack/Manifest
28 index cb66bb19477..8c04f60db6f 100644
29 --- a/sci-libs/umfpack/Manifest
30 +++ b/sci-libs/umfpack/Manifest
31 @@ -1 +1,2 @@
32 DIST umfpack-5.6.2.tar.bz2 780204 BLAKE2B 9e0f4abe92139e3cd6604be63d7fea0ffe50e0669081cafe07eef5d16a4c99493ace16a36a13470d617944cef2c505a3feadb5324e0add4a7f7fe6cbaa732fd3 SHA512 7b206235e837e84885c871322c1f0d4378a048008d9c110bd96204e9bc1bd9c72c6909da513fd78b6225fddc7b91e1ceebf1a5147e99943b3f0fff48682403dc
33 +DIST umfpack-5.7.9.tar.bz2 772026 BLAKE2B 6d6dc1ba47b8f473884c1cb17d3eaa363d88281512e33586a0af0c2bcb7a523272bef4d8da0a29e2a5a84c8f0cd0ee6830ec10247971db63b4c319e6fa9a3c42 SHA512 5ad57467b5b7e4579f3cc9e2e7c92a0262ac2ef991a606d079b749b66e10da60aceaa4b0e741c116f8866da23c0f7c06368fe2b08d66d51383683f0dcbeddba3
34
35 diff --git a/sci-libs/umfpack/umfpack-5.7.9.ebuild b/sci-libs/umfpack/umfpack-5.7.9.ebuild
36 new file mode 100644
37 index 00000000000..d4c065afcad
38 --- /dev/null
39 +++ b/sci-libs/umfpack/umfpack-5.7.9.ebuild
40 @@ -0,0 +1,31 @@
41 +# Copyright 1999-2020 Gentoo Authors
42 +# Distributed under the terms of the GNU General Public License v2
43 +
44 +EAPI=7
45 +
46 +inherit toolchain-funcs
47 +
48 +DESCRIPTION="Unsymmetric multifrontal sparse LU factorization library"
49 +HOMEPAGE="http://faculty.cse.tamu.edu/davis/suitesparse.html"
50 +SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2"
51 +
52 +LICENSE="GPL-2+"
53 +SLOT="0"
54 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
55 +IUSE="doc +cholmod static-libs"
56 +
57 +BDEPEND="virtual/pkgconfig
58 + doc? ( virtual/latex-base )"
59 +DEPEND="sci-libs/amd
60 + >=sci-libs/suitesparseconfig-5.4.0
61 + virtual/blas
62 + cholmod? ( sci-libs/cholmod )"
63 +RDEPEND="${DEPEND}"
64 +
65 +src_configure() {
66 + econf \
67 + --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
68 + $(use_with doc) \
69 + $(use_enable static-libs static) \
70 + $(use_with cholmod)
71 +}