From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/normaliz/
Date: Mon, 22 May 2023 01:40:53 +0000 (UTC) [thread overview]
Message-ID: <1684719563.82385f2e4c92e90ec78581d80a91d2f5c2659e99.mjo@gentoo> (raw)
commit: 82385f2e4c92e90ec78581d80a91d2f5c2659e99
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun May 21 22:45:43 2023 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon May 22 01:39:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82385f2e
sci-mathematics/normaliz: add 3.10.0
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
sci-mathematics/normaliz/Manifest | 1 +
sci-mathematics/normaliz/normaliz-3.10.0.ebuild | 73 +++++++++++++++++++++++++
2 files changed, 74 insertions(+)
diff --git a/sci-mathematics/normaliz/Manifest b/sci-mathematics/normaliz/Manifest
index dca93e793264..29d799e77b20 100644
--- a/sci-mathematics/normaliz/Manifest
+++ b/sci-mathematics/normaliz/Manifest
@@ -1 +1,2 @@
+DIST normaliz-3.10.0.tar.gz 5177794 BLAKE2B ef2ed089da0bf7b286f477837d8793466c1b030ea0f321cd74e910461a6bd28705f971d1b987ef59aa783311dc247e2838d5acf850cb1948e429c98e1ca440f0 SHA512 febc43f846607dcfca8bcf462e8ccf655e2e6e10dcb2741412c08489fc9b2e99410306dc4b078084bfe73e41113849b201e6f7f5a8e2ae07508ebf1c043f95a3
DIST normaliz-3.9.3.tar.gz 4946498 BLAKE2B 3faff64fda86216ee11b0f55ba1341d70988472f65eedafe5b52bf6b05abd817add2dbab45144de0a43d02c501caf3c4a89d66c2b2d621b81188a2a5100d158f SHA512 5d6866cc35835c196d22d6b4b0d5f0e3e2e00f772553115fbbabd8415b20388cf367cf9a282904a72c03c2ef482b804f7009d67e3334add4fc37f3bab675da6c
diff --git a/sci-mathematics/normaliz/normaliz-3.10.0.ebuild b/sci-mathematics/normaliz/normaliz-3.10.0.ebuild
new file mode 100644
index 000000000000..055e1f8973ca
--- /dev/null
+++ b/sci-mathematics/normaliz/normaliz-3.10.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools 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/${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_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_prepare() {
+ # Fix C standard compliance.
+ default
+ eautoreconf
+}
+
+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
+}
next reply other threads:[~2023-05-22 1:40 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-22 1:40 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
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
2022-05-08 16:35 Michael Orlitzky
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=1684719563.82385f2e4c92e90ec78581d80a91d2f5c2659e99.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