public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/spqr/
Date: Mon,  2 Mar 2020 17:21:32 +0000 (UTC)	[thread overview]
Message-ID: <1583169646.1703eb051609561a08bf1f267a30e9e68f9ef60a.mjo@gentoo> (raw)

commit:     1703eb051609561a08bf1f267a30e9e68f9ef60a
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  2 00:44:48 2020 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Mar  2 17:20:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1703eb05

sci-libs/spqr: new version 2.0.9.

Update to EAPI=7 and fix the HOMEPAGE, SRC_URI, and LICENSE. This is
part of a larger SuiteSparse v5.4.0 upgrade thanks to François Bissey
whose sage-on-gentoo ebuilds I'm using. There's a newer release
(v5.7.1) of SuiteSparse, but v5.4.0 has seen more testing.

This version uses a "partition" USE flag instead of "metis", to more
closely match the terminology used upstream and by sci-libs/cholmod.

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

 sci-libs/spqr/Manifest          |  1 +
 sci-libs/spqr/metadata.xml      |  4 ++++
 sci-libs/spqr/spqr-2.0.9.ebuild | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 38 insertions(+)

diff --git a/sci-libs/spqr/Manifest b/sci-libs/spqr/Manifest
index 2ce771078d8..0e91983a946 100644
--- a/sci-libs/spqr/Manifest
+++ b/sci-libs/spqr/Manifest
@@ -1,2 +1,3 @@
 DIST SPQR-1.2.3.tar.gz 1090017 BLAKE2B 7ecd180f2147229bea7d9230c5f645c1d835e7260d58930ab8021c7d90b3b7992d708af942beaa728bce86e83e008db9ecb7d69cb7a3b1245bab1c9c9bf7c4c6 SHA512 1abcde88e157bc99445e3589cacd6aba875429f1cdef87e36e1d6943c1474a2f8df9a65eff99e92d72e346c02f11194b6ec6829c158f42f689f95845c9b11599
 DIST spqr-1.3.1.tar.bz2 1115795 BLAKE2B 027509745cd336d3ccff27a4f36e51493fb9008fabb84448ba559b561269861be97d86ec841674c2bc944eb86623675b223947fcccf0716052a899ce17850d32 SHA512 1c7644da2bb7a14b9bc26066b84355626ce5d7c396afe5ce496ae72a5ef54431dc817178bfe7dd69ddf586b661c44066ee0850c91dba846a32787d52607749bf
+DIST spqr-2.0.9.tar.bz2 2161068 BLAKE2B a662983d2543a65ce36a367749db5585308acb56b016f69a35c46a84e9c12a678f57a3cfd459cc2e887fff2819b00f99981efaadb73831f1b4c54cbef5e1c367 SHA512 54b203e0d68b266473b8a2b7b3b3a55476df54a3ebd5748b70faa7bad1d0a5a7387197f0674ba5f9a5d45887daa736117f8d6ffbbc2eb02482b3374a3babf721

diff --git a/sci-libs/spqr/metadata.xml b/sci-libs/spqr/metadata.xml
index c7ab54f2c47..0d8618db411 100644
--- a/sci-libs/spqr/metadata.xml
+++ b/sci-libs/spqr/metadata.xml
@@ -14,6 +14,10 @@
 </longdescription>
 <use>
   <flag name="metis">Use <pkg>sci-libs/metis</pkg> or <pkg>sci-libs/parmetis</pkg> for partitioning</flag>
+  <flag name="partition">
+    Use the partition module of <pkg>sci-libs/cholmod</pkg> for
+    partitioning
+  </flag>
   <flag name="tbb">Enable multithreading with the Intel Threads
   Building Block <pkg>dev-cpp/tbb</pkg></flag>
 </use>

diff --git a/sci-libs/spqr/spqr-2.0.9.ebuild b/sci-libs/spqr/spqr-2.0.9.ebuild
new file mode 100644
index 00000000000..16aea9c33e7
--- /dev/null
+++ b/sci-libs/spqr/spqr-2.0.9.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Multithreaded multifrontal sparse QR factorization library"
+HOMEPAGE="http://faculty.cse.tamu.edu/davis/suitesparse.html"
+SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc partition static-libs tbb"
+
+BDEPEND="virtual/pkgconfig
+	doc? ( virtual/latex-base )"
+# We require the cholmod supernodal module that is enabled with
+# USE=lapack, and cholmod has to have partition support if spqr is going
+# to have it (the ./configure script for spqr checks this). Note that
+# spqr links to metis directly, too.
+DEPEND="virtual/lapack
+	>=sci-libs/cholmod-2[lapack,partition?]
+	partition? ( >=sci-libs/metis-5.1.0 )
+	tbb? ( dev-cpp/tbb )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	econf \
+		$(use_with doc) \
+		$(use_enable static-libs static) \
+		$(use_with partition) \
+		$(use_with tbb)
+}


             reply	other threads:[~2020-03-02 17:21 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-02 17:21 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-20 17:04 [gentoo-commits] repo/gentoo:master commit in: sci-libs/spqr/ Arthur Zamarin
2024-12-05 12:29 Sam James
2024-08-26 13:13 Eli Schwartz
2024-08-26 13:13 Eli Schwartz
2023-06-20  0:02 Michael Orlitzky
2023-06-20  0:02 Michael Orlitzky
2023-06-20  0:02 Michael Orlitzky
2023-06-20  0:02 Michael Orlitzky
2023-06-03 11:15 Arthur Zamarin
2022-12-04  9:23 WANG Xuerui
2022-11-19 11:41 Andrew Ammerlaan
2021-12-02  1:25 Sam James
2021-11-11  3:49 Sam James
2021-10-29 22:23 Sam James
2021-10-02 23:17 Sam James
2021-07-14 16:14 Marek Szuba
2020-08-23 17:01 David Seifert
2020-07-19 16:03 Sam James
2020-06-22  6:57 Agostino Sarubbo
2020-06-21 17:08 Agostino Sarubbo
2020-06-21 17:03 Agostino Sarubbo
2020-06-02 22:21 Mart Raudsepp
2020-05-15 17:33 Sergei Trofimovich
2020-04-13 22:19 Sergei Trofimovich
2017-09-30  2:58 Sergei Trofimovich
2017-07-01  9:52 Sergei Trofimovich
2017-04-29 16:21 Jeroen Roovers
2017-04-05 15:36 Michael Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1583169646.1703eb051609561a08bf1f267a30e9e68f9ef60a.mjo@gentoo \
    --to=mjo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox