commit: 4711195e23c6fc14eb8209349b817d5186f01d6f Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Sat Dec 13 23:27:22 2025 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Sat Dec 13 23:36:41 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4711195e
sci-mathematics/normaliz: add 3.11.0 It looks like bug 920192 was fixed upstream in 3b5e756f. Closes: https://bugs.gentoo.org/920192 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> sci-mathematics/normaliz/Manifest | 1 + sci-mathematics/normaliz/normaliz-3.11.0.ebuild | 67 +++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/sci-mathematics/normaliz/Manifest b/sci-mathematics/normaliz/Manifest index 1f11a3d24b84..ef5905206bcd 100644 --- a/sci-mathematics/normaliz/Manifest +++ b/sci-mathematics/normaliz/Manifest @@ -1,3 +1,4 @@ DIST normaliz-3.10.1.tar.gz 6795274 BLAKE2B 49bef9b5826daa4e3f483a7f5e67c3e5770ad11eaae85524f3ad2e81853eda033cffd28516efb1b0664a8d2ea971f101cf7880e465b0cf3182035a7a12ea9705 SHA512 363ee2c9388d0c88181742399be1d9bd21b27394a306ce095382f60fb8544a39feea7d10ce2bce1edf0ba6407c9bd1becc237ef1a58c7509e84e1b9f2712ba0c DIST normaliz-3.10.5.tar.gz 6997871 BLAKE2B c7ce58ffa8350594c0e2c0183f9fc318d223cb4e64313d9901b4dc7e0a50eebbb4111ac3eabb8989f6029c548f5dbc125c346b1dbd639bb834833b8188f2ff8d SHA512 cc309c224df91cc7a3bb134e893915e4ecdb6eb81837a17dd6f706eb6c78aa00eee2370a29f60f7409e1e99f678eb8baf6c57cd28e1ac93fc6b6d95181575f3f +DIST normaliz-3.11.0.tar.gz 6978759 BLAKE2B 8e41b63ebf3085e567eb9708ea2250fb98ab6fb9e7caaa257efe2e4124d366753ec03c97ad9a93939199fe84cb479eaefa121fd8c6a2353c228e17c2018d7300 SHA512 8dfc2cd04fd0bcd580d64a6576ddae1e2c71258143d09a9aa2c3cab9cc90e25151146deeab0ecc9fe8639cb4e8e9f03f88821674f68044611a59a0d30eaf7d81 DIST normaliz-3.9.3.tar.gz 4946498 BLAKE2B 3faff64fda86216ee11b0f55ba1341d70988472f65eedafe5b52bf6b05abd817add2dbab45144de0a43d02c501caf3c4a89d66c2b2d621b81188a2a5100d158f SHA512 5d6866cc35835c196d22d6b4b0d5f0e3e2e00f772553115fbbabd8415b20388cf367cf9a282904a72c03c2ef482b804f7009d67e3334add4fc37f3bab675da6c diff --git a/sci-mathematics/normaliz/normaliz-3.11.0.ebuild b/sci-mathematics/normaliz/normaliz-3.11.0.ebuild new file mode 100644 index 000000000000..aa4135843240 --- /dev/null +++ b/sci-mathematics/normaliz/normaliz-3.11.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 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_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && 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 +}
