From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D212815810D for ; Mon, 22 May 2023 01:40:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12BEFE0A7D; Mon, 22 May 2023 01:40:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC035E0A7D for ; Mon, 22 May 2023 01:40:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E4C84340C96 for ; Mon, 22 May 2023 01:40:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 12EDFA67 for ; Mon, 22 May 2023 01:40:53 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1684719563.82385f2e4c92e90ec78581d80a91d2f5c2659e99.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/normaliz/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/normaliz/Manifest sci-mathematics/normaliz/normaliz-3.10.0.ebuild X-VCS-Directories: sci-mathematics/normaliz/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 82385f2e4c92e90ec78581d80a91d2f5c2659e99 X-VCS-Branch: master Date: Mon, 22 May 2023 01:40:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 217172a4-f928-45a8-b92a-771a84de17d6 X-Archives-Hash: 49759c71f4481c1fd63252030347e47e commit: 82385f2e4c92e90ec78581d80a91d2f5c2659e99 Author: Michael Orlitzky gentoo org> AuthorDate: Sun May 21 22:45:43 2023 +0000 Commit: Michael Orlitzky gentoo 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 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 +}