commit:     030d616e0dbb91f18a34fdb6c5cb72024b33915f
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  4 13:41:54 2020 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Apr  4 14:04:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=030d616e

sci-libs/suitesparse: new version 5.4.0.

All of the individual suitesparse components have been updated, but I
didn't realize there was a metapackage. And the 4.x versions of the
metapackage have incorrect dependencies that are trying to pull in the
components that belong to suitesparse-5.4.0. This is producing some
confusing errors. This commit adds a new version of the metapackage
with correct dependencies (tied to the versions of the components that
ship with suitesparse-5.4.0), and should let ~arch users upgrade
everything after switching from USE=metis to USE=partition. At some
later point, we can prune the 4.x metapackage and components and be
dont with that.

Bug: https://bugs.gentoo.org/711610
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-libs/suitesparse/metadata.xml             | 19 +++++++++++++++----
 sci-libs/suitesparse/suitesparse-5.4.0.ebuild | 27 +++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 4 deletions(-)

diff --git a/sci-libs/suitesparse/metadata.xml 
b/sci-libs/suitesparse/metadata.xml
index a30fdd382ec..d8c0d9a2971 100644
--- a/sci-libs/suitesparse/metadata.xml
+++ b/sci-libs/suitesparse/metadata.xml
@@ -26,11 +26,22 @@
     * RBio: MATLAB toolbox for reading/writing sparse matrices
     * LINFACTOR: solve Ax=b using LU or CHOL
     * MESHND: 2D and 3D mesh generation and nested dissection
-    * SSMULT: sparse matrix times sparse matrix 
+    * SSMULT: sparse matrix times sparse matrix
 </longdescription>
 <use>
-  <flag name="cuda">Enable nvidia cuda toolkit for speeding up 
computations</flag>
-  <flag name="metis">Enable the Partition module to cholmod using 
<pkg>sci-libs/metis</pkg></flag>
-  <flag name="tbb">Enable multithreading with the Intel Threads Building Block 
<pkg>dev-cpp/tbb</pkg></flag>
+  <flag name="cuda">
+    Enable nvidia cuda toolkit for speeding up computations
+  </flag>
+  <flag name="metis">
+    Enable the Partition module to cholmod using <pkg>sci-libs/metis</pkg>
+  </flag>
+  <flag name="partition">
+    Enable graph partitioning and graph-partition-based orderings
+    through <pkg>sci-libs/metis</pkg> or <pkg>sci-libs/parmetis</pkg>
+  </flag>
+  <flag name="tbb">
+    Enable multithreading with the Intel Threads Building Block
+    <pkg>dev-cpp/tbb</pkg>
+  </flag>
 </use>
 </pkgmetadata>

diff --git a/sci-libs/suitesparse/suitesparse-5.4.0.ebuild 
b/sci-libs/suitesparse/suitesparse-5.4.0.ebuild
new file mode 100644
index 00000000000..2098b080496
--- /dev/null
+++ b/sci-libs/suitesparse/suitesparse-5.4.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Metapackage for a suite of sparse matrix tools"
+HOMEPAGE="http://faculty.cse.tamu.edu/davis/suitesparse.html";
+
+LICENSE="metapackage"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="cuda doc lapack partition tbb"
+DEPEND=""
+RDEPEND="
+       ~sci-libs/suitesparseconfig-${PV}
+       ~sci-libs/amd-2.4.6[doc?]
+       ~sci-libs/btf-1.2.6
+       ~sci-libs/camd-2.4.6[doc?]
+       ~sci-libs/ccolamd-2.9.6
+       ~sci-libs/cholmod-3.0.13[cuda?,doc?,partition?,lapack?]
+       ~sci-libs/colamd-2.9.6
+       ~sci-libs/cxsparse-3.2.0
+       ~sci-libs/klu-1.3.9[doc?]
+       ~sci-libs/ldl-2.2.6[doc?]
+       ~sci-libs/spqr-2.0.9[doc?,partition?,tbb?]
+       ~sci-libs/umfpack-5.7.9[doc?,cholmod]"

Reply via email to