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-mathematics/normaliz/
Date: Sun,  8 May 2022 16:35:18 +0000 (UTC)	[thread overview]
Message-ID: <1652027606.a19d0d5d6c440cb475e14288136f7ac71f7616a9.mjo@gentoo> (raw)

commit:     a19d0d5d6c440cb475e14288136f7ac71f7616a9
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun May  8 15:33:03 2022 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun May  8 16:33:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a19d0d5d

sci-mathematics/normaliz: new upstream version 3.9.3.

  * EAPI=8
  * No more autotools.eclass (upstream provides a real release).
  * Install the quick reference doc.
  * Support USE=nauty for automorphism group computation.
  * Pass --without-foo for remaining unsupported options.
  * Use the default src_test().
  * Fix QA warning about pre-stripped files.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/normaliz/Manifest              |  1 +
 sci-mathematics/normaliz/metadata.xml          |  8 +++-
 sci-mathematics/normaliz/normaliz-3.9.3.ebuild | 63 ++++++++++++++++++++++++++
 3 files changed, 71 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/normaliz/Manifest b/sci-mathematics/normaliz/Manifest
index 683077b4d89a..526cf8e4b9a9 100644
--- a/sci-mathematics/normaliz/Manifest
+++ b/sci-mathematics/normaliz/Manifest
@@ -1,2 +1,3 @@
 DIST normaliz-3.1.3.tar.gz 3075453 BLAKE2B 0860b466dfa5335a58a496c21f7567e7e4682b07c73e36dbbd947eb65500e03758577d32355adb02fa4e271ca2f49bc5cb0449e26f1bdd11eab2dd5dbafd8f17 SHA512 c7fb1620e758dc59de88f0d7c55f50db0f67be772a00af27205e478f30c3836b7cf012a16a8adfdee3f0367d3adb4e3f887dc7d03793a7ca1601968ddb1946ce
 DIST normaliz-3.8.10.tar.gz 5086191 BLAKE2B b40de665718dc1cee8a7246ccfb9b8496bdfa0754408f0260421352f1b4776133047ed1a5e8e0f044bdc15dde63a9f7d9ea1721773f36ecdccce3a8575493772 SHA512 8755011b1305b571d6bef7b6200e01bb56dbadce3f67de022fae0ef42c69c095b1f7cd2a2a432282098277ee39aa17caeffda15c806b28a6060a737930d5b82c
+DIST normaliz-3.9.3.tar.gz 4946498 BLAKE2B 3faff64fda86216ee11b0f55ba1341d70988472f65eedafe5b52bf6b05abd817add2dbab45144de0a43d02c501caf3c4a89d66c2b2d621b81188a2a5100d158f SHA512 5d6866cc35835c196d22d6b4b0d5f0e3e2e00f772553115fbbabd8415b20388cf367cf9a282904a72c03c2ef482b804f7009d67e3334add4fc37f3bab675da6c

diff --git a/sci-mathematics/normaliz/metadata.xml b/sci-mathematics/normaliz/metadata.xml
index e7b4f0b40e9a..802b12e6eb3d 100644
--- a/sci-mathematics/normaliz/metadata.xml
+++ b/sci-mathematics/normaliz/metadata.xml
@@ -6,7 +6,13 @@
     <name>Gentoo Mathematics Project</name>
   </maintainer>
   <use>
-    <flag name="extras"> Install Macaulay2 and <pkg>sci-mathematics/singular</pkg>packages as shipped by upstream</flag>
+    <flag name="extras">
+      Install Macaulay2 and <pkg>sci-mathematics/singular</pkg>packages
+      as shipped by upstream
+    </flag>
+    <flag name="nauty">
+      Use <pkg>sci-mathematics/nauty</pkg> to compute automorphism groups.
+    </flag>
   </use>
   <longdescription lang="en">
     Normaliz is a (command line) tool for computations in affine

diff --git a/sci-mathematics/normaliz/normaliz-3.9.3.ebuild b/sci-mathematics/normaliz/normaliz-3.9.3.ebuild
new file mode 100644
index 000000000000..7b7436eeb4e9
--- /dev/null
+++ b/sci-mathematics/normaliz/normaliz-3.9.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Tool for computations in affine monoids and more"
+HOMEPAGE="https://www.normaliz.uni-osnabrueck.de/"
+SRC_URI="https://github.com/Normaliz/Normaliz/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0/3"
+KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc extras nauty openmp"
+
+RDEPEND="
+	dev-libs/gmp:=[cxx(+)]
+	nauty? ( sci-mathematics/nauty )
+"
+DEPEND="
+	${RDEPEND}
+	dev-libs/boost
+"
+# Only a boost header is needed -> not RDEPEND
+
+pkg_setup() {
+	use openmp && tc-check-openmp
+}
+
+src_configure() {
+	# flint (and arb, which doesn't make an appearance in ./configure --help)
+	# is somehow connected to e-antic, which we do not yet package. Likewise
+	# we have no packages for cocoalib or hashlibrary.
+	econf \
+		$(use_enable openmp) \
+		$(use_with nauty) \
+		--without-cocoalib \
+		--without-hashlibrary \
+		--without-flint \
+		--without-e-antic \
+		--disable-static
+}
+
+src_compile() {
+	# Clobber the default "AM_LDFLAGS = -Wl,-s" to avoid QA warnings
+	# about pre-stripped binaries.
+	emake AM_LDFLAGS=""
+}
+
+src_install() {
+	default
+
+	use doc && dodoc doc/Normaliz.pdf doc/NmzShortRef.pdf
+	if use extras; then
+		newdoc Singular/normaliz.pdf singular-normaliz.pdf
+		insinto /usr/share/${PN}
+		doins Singular/normaliz.lib
+		doins Macaulay2/Normaliz.m2
+	fi
+
+	find "${ED}" -type f -name "*.la" -delete || die
+}


             reply	other threads:[~2022-05-08 16:35 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-08 16:35 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-16 16:17 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/normaliz/ Arthur Zamarin
2023-08-23 11:40 Michael Orlitzky
2023-06-09 15:06 Arthur Zamarin
2023-05-22  1:40 Michael Orlitzky
2022-08-16 11:37 Michael Orlitzky
2022-08-16  7:48 Agostino Sarubbo
2022-08-16  7:43 Agostino Sarubbo
2022-05-14 21:30 David Seifert
2021-12-29 13:46 Yixun Lan
2021-06-18 13:15 David Seifert
2021-05-27 21:06 David Seifert
2021-05-27 21:06 David Seifert
2020-02-16  6:32 Michał Górny
2017-07-31 18:12 Sebastien Fabbro
2017-03-10 21:59 Mike Frysinger
2016-12-21 10:27 Tobias Klausmann
2016-11-08 23:52 Manuel Rüger
2016-10-26  7:26 Thomas Kahle
2016-10-26  7:26 Thomas Kahle
2016-09-25 12:01 Thomas Kahle
2016-06-08  7:35 Thomas Kahle
2016-05-13 14:51 Agostino Sarubbo
2016-04-08  8:22 Thomas Kahle
2016-03-22 14:32 Agostino Sarubbo
2016-03-21 11:19 Thomas Kahle
2016-03-21 11:19 Thomas Kahle
2016-03-02 19:30 Markus Meier
2016-02-20  9:26 Thomas Kahle

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=1652027606.a19d0d5d6c440cb475e14288136f7ac71f7616a9.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