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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B86B0158041 for ; Wed, 6 Mar 2024 13:38:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9FCBE29D2; Wed, 6 Mar 2024 13:38:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 9C6ABE29D2 for ; Wed, 6 Mar 2024 13:38:46 +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 C9F24342FF8 for ; Wed, 6 Mar 2024 13:38:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C722B3D for ; Wed, 6 Mar 2024 13:38:44 +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: <1709731930.28d3931d4aa32d5da2b028127131c382051a5bab.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/palp/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/palp/Manifest sci-mathematics/palp/metadata.xml sci-mathematics/palp/palp-2.21.ebuild X-VCS-Directories: sci-mathematics/palp/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 28d3931d4aa32d5da2b028127131c382051a5bab X-VCS-Branch: master Date: Wed, 6 Mar 2024 13:38:44 +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: 48b6e019-3bf2-436c-a4b0-792598f2fc66 X-Archives-Hash: b72ef9e30181466ec925edf66ed160b0 commit: 28d3931d4aa32d5da2b028127131c382051a5bab Author: Michael Orlitzky gentoo org> AuthorDate: Wed Mar 6 13:03:46 2024 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Wed Mar 6 13:32:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28d3931d sci-mathematics/palp: new package, add 2.21 Closes: https://bugs.gentoo.org/230441 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/palp/Manifest | 2 ++ sci-mathematics/palp/metadata.xml | 26 ++++++++++++++++++++ sci-mathematics/palp/palp-2.21.ebuild | 45 +++++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+) diff --git a/sci-mathematics/palp/Manifest b/sci-mathematics/palp/Manifest new file mode 100644 index 000000000000..2d53f34d0249 --- /dev/null +++ b/sci-mathematics/palp/Manifest @@ -0,0 +1,2 @@ +DIST PALP-v2.21.tar.bz2 226701 BLAKE2B f2b57b916b011089b11e3e90e42653b243cbc999c4650b867f3a8c22f7a1bc883778d9678310fe4ecce497690b92c6cef71378ee2177da130b4b14c207f2383b SHA512 ab38469fbd78e0e5db437d892e44aec181810c3d5fbe67739081396ea97db2e47facf658335790b8ea6a7e422a090dde95d79413a7980d29a65db1854aa52dc2 +DIST palp-manual-v1.pdf 517953 BLAKE2B 7243794d8bc62c58c8329a9db32958c1929feb27fae1779874a31c16c1e4fd641e4089d029402ad5188f385b4f20dd77fc82506990bcf252289b21ca1b084b58 SHA512 3cf9fe7038981a5c7aa9d73623e17dc7b944bd8b09b32964c196b2231c1621fbe6014e2b45b2b9db092adbdce27cbb72ea65ced5da0b1f010388fbbef1f534f7 diff --git a/sci-mathematics/palp/metadata.xml b/sci-mathematics/palp/metadata.xml new file mode 100644 index 000000000000..b5439949c063 --- /dev/null +++ b/sci-mathematics/palp/metadata.xml @@ -0,0 +1,26 @@ + + + + + mjo@gentoo.org + + + + frp.bissey@gmail.com + François Bissey + + + + proxy-maint@gentoo.org + Proxy Maintainers + + + + sci-mathematics@gentoo.org + Gentoo Mathematics Project + + + + stringstuwien/PALP + + diff --git a/sci-mathematics/palp/palp-2.21.ebuild b/sci-mathematics/palp/palp-2.21.ebuild new file mode 100644 index 000000000000..92c0a3cb307c --- /dev/null +++ b/sci-mathematics/palp/palp-2.21.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +# The arXiv version of the PDF manual +MANUAL_PV=v1 + +DESCRIPTION="A Package for Analyzing Lattice Polytopes (PALP)" +HOMEPAGE="http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html + https://gitlab.com/stringstuwien/PALP" +SRC_URI="https://gitlab.com/stringstuwien/PALP/-/archive/v${PV}/PALP-v${PV}.tar.bz2 + https://arxiv.org/pdf/1205.4147${MANUAL_PV}.pdf -> ${PN}-manual-${MANUAL_PV}.pdf" +S="${WORKDIR}/PALP-v${PV}" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +# The "mori.x" program pipes input to "Singular". +RDEPEND="sci-mathematics/singular" + +src_compile() { + # Build the additional foo-Nd.x (for N=4,5,6,11) programs needed by + # SageMath. + emake CC=$(tc-getCC) all-dims +} + +src_install() { + einstalldocs + newdoc "${DISTDIR}/${PN}-manual-${MANUAL_PV}.pdf" "manual-${MANUAL_PV}.pdf" + + local PROGS=( class cws mori nef poly ) + local DIMS=( 4 5 6 11 ) + for prog in "${PROGS[@]}"; do + for N in "${DIMS[@]}"; do + dobin "${prog}-${N}d.x" + done + # The default "make" builds only one variant of each program, + # foo.x, corresponding to foo-6d.x. Users will expect those + # names, so we create a symlink from them to foo-6d.x. + dosym "${prog}-6d.x" "/usr/bin/${prog}.x" + done +}