public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/palp/
@ 2024-03-06 13:38 Michael Orlitzky
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Orlitzky @ 2024-03-06 13:38 UTC (permalink / raw
  To: gentoo-commits

commit:     28d3931d4aa32d5da2b028127131c382051a5bab
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  6 13:03:46 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> 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 <mjo <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>mjo@gentoo.org</email>
+  </maintainer>
+
+  <maintainer type="person" proxied="yes">
+    <email>frp.bissey@gmail.com</email>
+    <name>François Bissey</name>
+  </maintainer>
+
+  <maintainer type="project" proxied="proxy">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
+
+  <maintainer type="project">
+    <email>sci-mathematics@gentoo.org</email>
+    <name>Gentoo Mathematics Project</name>
+  </maintainer>
+
+  <upstream>
+    <remote-id type="gitlab">stringstuwien/PALP</remote-id>
+  </upstream>
+</pkgmetadata>

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
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/palp/
@ 2024-06-06 14:53 Michael Orlitzky
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Orlitzky @ 2024-06-06 14:53 UTC (permalink / raw
  To: gentoo-commits

commit:     8f8db447103bf5c56c02b626d58b45af5dd18564
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  6 14:51:53 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Thu Jun  6 14:53:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f8db447

sci-mathematics/palp: stabilize 2.21 for amd64

Closes: https://bugs.gentoo.org/929009
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/palp/palp-2.21.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/palp/palp-2.21.ebuild b/sci-mathematics/palp/palp-2.21.ebuild
index 92c0a3cb307c..043002341a01 100644
--- a/sci-mathematics/palp/palp-2.21.ebuild
+++ b/sci-mathematics/palp/palp-2.21.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://gitlab.com/stringstuwien/PALP/-/archive/v${PV}/PALP-v${PV}.tar.
 S="${WORKDIR}/PALP-v${PV}"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 # The "mori.x" program pipes input to "Singular".
 RDEPEND="sci-mathematics/singular"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/palp/
@ 2024-08-20 14:28 Michael Orlitzky
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Orlitzky @ 2024-08-20 14:28 UTC (permalink / raw
  To: gentoo-commits

commit:     c863c31a0185eecd87f6f25e28922b055dbb7dad
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 20 14:14:11 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Aug 20 14:14:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c863c31a

sci-mathematics/palp: keyword 2.21 for ~riscv

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/palp/palp-2.21.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/palp/palp-2.21.ebuild b/sci-mathematics/palp/palp-2.21.ebuild
index 043002341a01..8ed9def3704f 100644
--- a/sci-mathematics/palp/palp-2.21.ebuild
+++ b/sci-mathematics/palp/palp-2.21.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://gitlab.com/stringstuwien/PALP/-/archive/v${PV}/PALP-v${PV}.tar.
 S="${WORKDIR}/PALP-v${PV}"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64"
+KEYWORDS="amd64 ~riscv"
 
 # The "mori.x" program pipes input to "Singular".
 RDEPEND="sci-mathematics/singular"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-08-20 14:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06 13:38 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/palp/ Michael Orlitzky
  -- strict thread matches above, loose matches on Subject: below --
2024-06-06 14:53 Michael Orlitzky
2024-08-20 14:28 Michael Orlitzky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox