1 |
commit: 5a44063457f2ff8711d1b96fba5e92852620750e |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 29 01:36:35 2020 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 2 17:20:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a440634 |
7 |
|
8 |
sci-libs/suitesparseconfig: new version 5.4.0. |
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 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
16 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
17 |
|
18 |
sci-libs/suitesparseconfig/Manifest | 1 + |
19 |
.../suitesparseconfig-5.4.0.ebuild | 29 ++++++++++++++++++++++ |
20 |
2 files changed, 30 insertions(+) |
21 |
|
22 |
diff --git a/sci-libs/suitesparseconfig/Manifest b/sci-libs/suitesparseconfig/Manifest |
23 |
index 3bb36d978e7..ea9fb1eba34 100644 |
24 |
--- a/sci-libs/suitesparseconfig/Manifest |
25 |
+++ b/sci-libs/suitesparseconfig/Manifest |
26 |
@@ -1 +1,2 @@ |
27 |
DIST suitesparseconfig-4.2.1.tar.bz2 256308 BLAKE2B 74993d9a43117e9b71e21856c7b27d4aa6627c64a4235d7d37efa282a0a8e54fa8c6d6aea1cd447902ab8b18bfff1aa1e0d67a6b86d86c2feaf6a9f716ac2f0f SHA512 2363f8adb962d1f932b4390ac54e7203b5eec6005f9275dc155a4b178fd5259ddd42dc34c663a4c82546452c0f1e05619522567a69be1a58efc5d032b6d7a61d |
28 |
+DIST suitesparseconfig-5.4.0.tar.bz2 257352 BLAKE2B 3832e34281c742a7d704dde866c53c742420486d782075e047b605fb2062d77353cda8670138c4bef62c73d16e123a8a74f65272a01766f124c1e53f9ba32e9d SHA512 e91f60f426b73add473c6341e30512b8fbe65b7850cd83f3852e78f1e74ce067b7ae1577ccc795698e680a841a9d32c2ca073651a4fe95f0b723578721aec874 |
29 |
|
30 |
diff --git a/sci-libs/suitesparseconfig/suitesparseconfig-5.4.0.ebuild b/sci-libs/suitesparseconfig/suitesparseconfig-5.4.0.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..6e48d59fa27 |
33 |
--- /dev/null |
34 |
+++ b/sci-libs/suitesparseconfig/suitesparseconfig-5.4.0.ebuild |
35 |
@@ -0,0 +1,29 @@ |
36 |
+# Copyright 1999-2020 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+inherit multilib-minimal |
42 |
+ |
43 |
+DESCRIPTION="Common configurations for all packages in suitesparse" |
44 |
+HOMEPAGE="http://faculty.cse.tamu.edu/davis/suitesparse.html" |
45 |
+SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2" |
46 |
+ |
47 |
+# Upstream says, "no licensing restrictions apply to this file or to the |
48 |
+# SuiteSparse_config directory". |
49 |
+LICENSE="public-domain" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" |
52 |
+IUSE="static-libs" |
53 |
+ |
54 |
+multilib_src_configure() { |
55 |
+ ECONF_SOURCE="${S}" \ |
56 |
+ econf \ |
57 |
+ $(use_enable static-libs static) |
58 |
+} |
59 |
+ |
60 |
+multilib_src_install_all() { |
61 |
+ if ! use static-libs; then |
62 |
+ find "${ED}" -name "*.la" -delete || die |
63 |
+ fi |
64 |
+} |