[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2024-02-09 Thread Ionen Wolkens
commit: 922b5465ec70eb2038bcfbdf0303adb87e76b614
Author: Matoro Mahri  matoro  tk>
AuthorDate: Fri Feb  9 19:05:26 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Feb 10 06:48:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=922b5465

sci-mathematics/polymake: Stabilize 4.11 amd64, #922874

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 sci-mathematics/polymake/polymake-4.11.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/polymake/polymake-4.11.ebuild 
b/sci-mathematics/polymake/polymake-4.11.ebuild
index 5feccaae668e..8c6be02dd591 100644
--- a/sci-mathematics/polymake/polymake-4.11.ebuild
+++ b/sci-mathematics/polymake/polymake-4.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -18,7 +18,7 @@ HOMEPAGE="https://polymake.org/;
 # closer look at how (or even if) the corresponding code is being used.
 LICENSE="BSD GPL-2 GPL-2+ MIT WTFPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 IUSE="bliss +cdd +flint +normaliz libpolymake lrs nauty ppl singular"
 
 REQUIRED_USE="^^ ( bliss nauty )"



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/, sci-mathematics/polymake/files/

2023-11-13 Thread Michael Orlitzky
commit: d5cad95f6c02a29cf004130f715d994b66a4b07a
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Nov 14 02:23:11 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Nov 14 02:24:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5cad95f

sci-mathematics/polymake: re-enable the test suite

After adding another patch, the test suite once again passes for me (it
hasn't for a few versions, but it did a long time ago). Let's enable it
and get some feedback.

Signed-off-by: Michael Orlitzky  gentoo.org>

 .../files/polymake-4.11-barycentric-subdiv.patch   | 23 ++
 sci-mathematics/polymake/polymake-4.11.ebuild  | 10 --
 2 files changed, 27 insertions(+), 6 deletions(-)

diff --git 
a/sci-mathematics/polymake/files/polymake-4.11-barycentric-subdiv.patch 
b/sci-mathematics/polymake/files/polymake-4.11-barycentric-subdiv.patch
new file mode 100644
index ..2f58b0f76299
--- /dev/null
+++ b/sci-mathematics/polymake/files/polymake-4.11-barycentric-subdiv.patch
@@ -0,0 +1,23 @@
+commit d55dc6bd7f2da9245884f86706cb96e2d11fa83a
+Author: Benjamin Lorenz 
+Date:   Tue Nov 7 16:49:33 2023 +0100
+
+barycentric_subdivision: dont call back on empty strings
+
+thanks jamesjer
+
+@Jenkins: merge
+
+diff --git a/apps/topaz/src/barycentric_subdivision.cc 
b/apps/topaz/src/barycentric_subdivision.cc
+index 753afb4040..e2d4130bc3 100644
+--- a/apps/topaz/src/barycentric_subdivision.cc
 b/apps/topaz/src/barycentric_subdivision.cc
+@@ -139,7 +139,7 @@ bs_data2Object(const bool realize,
+else
+   desc << k << "th ";
+desc << "barycentric subdivision of " << description;
+-   if (description.back() != '\n')
++   if (description.empty() || description.back() != '\n')
+   desc << endl;
+p_out.set_description() << desc.str();
+return p_out;

diff --git a/sci-mathematics/polymake/polymake-4.11.ebuild 
b/sci-mathematics/polymake/polymake-4.11.ebuild
index 56790dcb5cc9..5feccaae668e 100644
--- a/sci-mathematics/polymake/polymake-4.11.ebuild
+++ b/sci-mathematics/polymake/polymake-4.11.ebuild
@@ -53,12 +53,10 @@ RDEPEND="${DEPEND}
dev-perl/XML-SAX
dev-perl/XML-Writer"
 
-# Tests observed failing after upgrade to polymake-4.5. No idea if they
-# worked prior to that. Someone who actually understands polymake will
-# have to get these working (at least briefly) before we re-enable them.
-RESTRICT=test
-
-PATCHES=( "${FILESDIR}/${P}-singular-sat.patch" )
+PATCHES=(
+   "${FILESDIR}/${P}-singular-sat.patch"
+   "${FILESDIR}/${P}-barycentric-subdiv.patch"
+)
 
 src_configure() {
# Without this, the build system tries to use "the highest possible"



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/files/, sci-mathematics/polymake/

2023-11-13 Thread Michael Orlitzky
commit: c5e5ffa9e5052ad286c2ed2e5fee818bd9630686
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Mon Nov 13 19:36:06 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Mon Nov 13 22:17:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e5ffa9

sci-mathematics/polymake: new old package, add 4.11

This is back from the dead after being removed for lack of perl-5.38
support. Only a month ago, upstream's opinion was that "any hacks we
would try here will be in vain," but it looks like they've decided to
adopt a short-term fix for perl-5.38. We bring it back, and make use
of $NINJA_DEPEND while we're at it (samurai works fine).

The new patch (and a short explanation from upstream) can be found
on Debian bug 1042521.

Bug: https://bugs.gentoo.org/909570
Closes: https://bugs.gentoo.org/917155
Signed-off-by: Michael Orlitzky  gentoo.org>

 sci-mathematics/polymake/Manifest  |   1 +
 .../files/polymake-4.11-singular-sat.patch |  53 +
 sci-mathematics/polymake/metadata.xml  |  54 +
 sci-mathematics/polymake/polymake-4.11.ebuild  | 124 +
 4 files changed, 232 insertions(+)

diff --git a/sci-mathematics/polymake/Manifest 
b/sci-mathematics/polymake/Manifest
new file mode 100644
index ..64de0ecea8e1
--- /dev/null
+++ b/sci-mathematics/polymake/Manifest
@@ -0,0 +1 @@
+DIST polymake-4.11-minimal.tar.bz2 7325783 BLAKE2B 
87e62741e4e44c5fea7454d5cc8cb205cf13f8ee743c1d72100f937d0677505ce0c5c8f5b37c118f89079ca88f313991eaefb2ea02c49b6c7b45c438c6f9e13b
 SHA512 
94adf3fcec21de50451091a04ca17010f5e71b44e3dcd4e2d52b9f952b94ee0cf3f6df15657b761b0bda20eb47cbdc0cb2481bb440c7243442be34f913292246

diff --git a/sci-mathematics/polymake/files/polymake-4.11-singular-sat.patch 
b/sci-mathematics/polymake/files/polymake-4.11-singular-sat.patch
new file mode 100644
index ..739e503ac246
--- /dev/null
+++ b/sci-mathematics/polymake/files/polymake-4.11-singular-sat.patch
@@ -0,0 +1,53 @@
+commit 4ce0549f510d246c8f69c85c509fc2d13d882442
+Author: Benjamin Lorenz 
+Date:   Thu Nov 9 11:15:06 2023 +0100
+
+singular: support new return types for saturation command
+
+This was changed from (ideal, exponent) to just the ideal in singular 
4-3-2p5.
+To allow older versions we keep using sat but support both return types
+instead of switching to the new sat_with_exp.
+
+diff --git a/bundled/singular/apps/ideal/src/singularIdeal.cc 
b/bundled/singular/apps/ideal/src/singularIdeal.cc
+index 4cbc00a6f4..bdade5c29d 100644
+--- a/bundled/singular/apps/ideal/src/singularIdeal.cc
 b/bundled/singular/apps/ideal/src/singularIdeal.cc
+@@ -236,22 +236,24 @@ public:
+   arg.next->data=(void *)idCopy(J);
+   // call primdecSY
+   BOOLEAN res=iiMake_proc(sathdl, nullptr ,);
+-  if(!res && (iiRETURNEXPR.Typ() == LIST_CMD)){
+- lists L = (lists)iiRETURNEXPR.Data();
+- SingularIdeal_wrap* result;
+- if(L->m[0].Typ() == IDEAL_CMD){
+-result = new SingularIdeal_impl((::ideal) 
(L->m[0].Data()),singRing);
+- } else {
+-throw std::runtime_error("Something went wrong for the primary 
decomposition");
++  if(!res) {
++ ::ideal iddata = nullptr;
++ if (iiRETURNEXPR.Typ() == LIST_CMD) {
++lists L = (lists)iiRETURNEXPR.Data();
++if(L->m[0].Typ() == IDEAL_CMD)
++   iddata = (::ideal) L->m[0].Data();
++ } else if (iiRETURNEXPR.Typ() == IDEAL_CMD) {
++iddata = (::ideal) iiRETURNEXPR.Data();
++ }
++ if (iddata != nullptr) {
++SingularIdeal_wrap* result = new SingularIdeal_impl(iddata, 
singRing);
++iiRETURNEXPR.CleanUp();
++iiRETURNEXPR.Init();
++return result;
+  }
+- iiRETURNEXPR.CleanUp();
+- iiRETURNEXPR.Init();
+- return result;
+-  } else {
+- iiRETURNEXPR.Init();
+- throw std::runtime_error("Something went wrong for the saturation");
+   }
+-
++  iiRETURNEXPR.Init();
++  throw std::runtime_error("saturation: unable to parse ideal from return 
value");
+}
+ 
+Array primary_decomposition() const

diff --git a/sci-mathematics/polymake/metadata.xml 
b/sci-mathematics/polymake/metadata.xml
new file mode 100644
index ..e8e79ebd3fc8
--- /dev/null
+++ b/sci-mathematics/polymake/metadata.xml
@@ -0,0 +1,54 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+
+  sci-mathemat...@gentoo.org
+  Gentoo Mathematics Project
+
+
+  
+Enable sci-libs/bliss interface for graph and face lattice
+isomorphism computations.
+  
+  
+Enable sci-libs/cddlib interface for convex hull
+computations (Should be kept enabled).
+  
+  
+Build with "strongly recommended" support for
+sci-mathematics/flint.
+  
+  
+Build the polymake library to build applications using the C++
+interface.
+  
+  
+Enable 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2023-07-04 Thread Sam James
commit: 28be89a8b00e26fcff4fd13bde0d698e9b24c8ac
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul  4 21:56:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul  4 21:56:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28be89a8

sci-mathematics/polymake: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 sci-mathematics/polymake/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sci-mathematics/polymake/metadata.xml 
b/sci-mathematics/polymake/metadata.xml
index 5834e17347b0..4f719f5b768e 100644
--- a/sci-mathematics/polymake/metadata.xml
+++ b/sci-mathematics/polymake/metadata.xml
@@ -49,4 +49,7 @@
   other objects. Supported platforms include various flavors of Linux,
   FreeBSD, and Mac OS.
 
+
+  polymake/polymake
+
 



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2023-05-21 Thread Michael Orlitzky
commit: 3984ec33340e7df9e9c6f50d97484056eca68a2d
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun May 21 19:57:18 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Mon May 22 01:39:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3984ec33

sci-mathematics/polymake: add 4.9, drop 4.8

Signed-off-by: Michael Orlitzky  gentoo.org>

 sci-mathematics/polymake/Manifest | 2 +-
 sci-mathematics/polymake/{polymake-4.8.ebuild => polymake-4.9.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/polymake/Manifest 
b/sci-mathematics/polymake/Manifest
index d90af33d1051..b5a148defe82 100644
--- a/sci-mathematics/polymake/Manifest
+++ b/sci-mathematics/polymake/Manifest
@@ -1,2 +1,2 @@
 DIST polymake-4.6-minimal.tar.bz2 5634651 BLAKE2B 
6ee24fa6e70fdf746ea298d78e21e17fe38c5837ae2d3153e53656b4b003555b06897f463220b59474eed135dfa61c080d08d6363391afca51011f331122
 SHA512 
90f04c67bf297fb1b9f5a51d1654ff12385860b1fc80278a8b47f65970f11a1e0f33ede8a839b54a12422e772c8b76302ff78cc467712a2486f6e76ce0d5ab20
-DIST polymake-4.8-minimal.tar.bz2 7283871 BLAKE2B 
0f54282e0b07e357a6e746cb4c4b579c65a6eb6b942c541047a0213529191404a3ac38279351ffef944fddb2cd299fcbe7ac6d9873368fb00ec221bc81e5
 SHA512 
d3ce7426fa78194254271274849aadb1b7f1afe176c16f79da7e5569ec30004e20a46d3c3a09d45ecb3210d73c850427920ca8a36f93c7f7d9420827fe2a3a00
+DIST polymake-4.9-minimal.tar.bz2 7287220 BLAKE2B 
4a40c3177bc146c16ae7924c2911bd96a26e7eec82963dba1293db272e60a6efea59bd27575951ecbe343862c1c28ecf1f2eb5c2bd1b9b09ef475a7ef44a6b95
 SHA512 
5c762a59b135dbb1bbcff9a0133a17c20529dc14a5af19efc2afbc1ae773ea3834ccc6b97db130ec91d9cd7a3a20988360b1d844f70272724794ac81ab42658f

diff --git a/sci-mathematics/polymake/polymake-4.8.ebuild 
b/sci-mathematics/polymake/polymake-4.9.ebuild
similarity index 99%
rename from sci-mathematics/polymake/polymake-4.8.ebuild
rename to sci-mathematics/polymake/polymake-4.9.ebuild
index 66795c00f8c7..3217de2e4b3d 100644
--- a/sci-mathematics/polymake/polymake-4.8.ebuild
+++ b/sci-mathematics/polymake/polymake-4.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2022-12-23 Thread Arthur Zamarin
commit: 96bbb503dd32cc082dbd57d3ed52d489cb58f4b1
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 23 20:49:23 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 23 20:49:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96bbb503

sci-mathematics/polymake: Stabilize 4.6-r1 x86, #832376

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-mathematics/polymake/polymake-4.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/polymake/polymake-4.6-r1.ebuild 
b/sci-mathematics/polymake/polymake-4.6-r1.ebuild
index b5f07d56bf84..acc8c5d1207b 100644
--- a/sci-mathematics/polymake/polymake-4.6-r1.ebuild
+++ b/sci-mathematics/polymake/polymake-4.6-r1.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://polymake.org/;
 # closer look at how (or even if) the corresponding code is being used.
 LICENSE="BSD GPL-2 GPL-2+ MIT WTFPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~riscv x86 ~amd64-linux ~x86-linux"
 IUSE="bliss +cdd +flint +normaliz libpolymake lrs nauty ppl singular"
 
 REQUIRED_USE="^^ ( bliss nauty )"



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2022-12-21 Thread Michael Orlitzky
commit: 4783c3b5bcea348cb8fa69ea41a6b52702a8fe92
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Dec 21 11:44:08 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Dec 21 11:44:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4783c3b5

sci-mathematics/polymake: drop 4.6

Signed-off-by: Michael Orlitzky  gentoo.org>

 sci-mathematics/polymake/polymake-4.6.ebuild | 121 ---
 1 file changed, 121 deletions(-)

diff --git a/sci-mathematics/polymake/polymake-4.6.ebuild 
b/sci-mathematics/polymake/polymake-4.6.ebuild
deleted file mode 100644
index 7c936b5eb6c6..
--- a/sci-mathematics/polymake/polymake-4.6.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic ninja-utils toolchain-funcs
-
-DESCRIPTION="Tool for polyhedral geometry and combinatorics"
-SRC_URI="https://polymake.org/lib/exe/fetch.php/download/${P}-minimal.tar.bz2;
-HOMEPAGE="https://polymake.org/;
-
-# polymake itself is GPL-2, but even the minimal tarball bundles a lot
-# of other code. I've included everything that turns up with a
-#
-#   find ./ -name 'LICENSE' -o -name 'COPYING'
-#
-# in the list below. If any of these bother you, you may want to take a
-# closer look at how (or even if) the corresponding code is being used.
-LICENSE="BSD GPL-2 GPL-2+ MIT WTFPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~riscv ~x86 ~amd64-linux ~x86-linux"
-IUSE="bliss +cdd +flint +normaliz libpolymake lrs nauty ppl singular"
-
-REQUIRED_USE="^^ ( bliss nauty )"
-
-# The "configure" script isn't autotools; it basically exists just to
-# exec some other perl script but using the familiar name.
-BDEPEND="dev-util/ninja
-   dev-lang/perl"
-
-DEPEND="
-   libpolymake? ( dev-lang/perl )
-   dev-libs/boost:=
-   dev-libs/gmp:=
-   dev-libs/libxml2:2=
-   dev-libs/libxslt:=
-   dev-libs/mpfr:=
-   sys-libs/readline:=
-   bliss? ( sci-libs/bliss:=[gmp] )
-   cdd? ( sci-libs/cddlib:= )
-   lrs? ( >=sci-libs/lrslib-051:=[gmp] )
-   nauty? ( sci-mathematics/nauty:= )
-   normaliz? ( sci-mathematics/normaliz:= )
-   ppl? ( dev-libs/ppl:= )
-   singular? ( sci-mathematics/singular:= )"
-
-RDEPEND="${DEPEND}
-   dev-lang/perl
-   dev-perl/JSON
-   dev-perl/Term-ReadLine-Gnu
-   dev-perl/TermReadKey
-   dev-perl/XML-SAX
-   dev-perl/XML-Writer"
-
-# Tests observed failing after upgrade to polymake-4.5. No idea if they
-# worked prior to that. Someone who actually understands polymake will
-# have to get these working (at least briefly) before we re-enable them.
-RESTRICT=test
-
-src_configure() {
-   # Without this, the build system tries to use "the highest possible"
-   # optimization level and will override what's in your CXXFLAGS.
-   export CXXOPT=""
-
-   tc-export CC CXX
-
-   # We need to define BLISS_USE_GMP if bliss was built with gmp support.
-   # Therefore we require gmp support on bliss, so that the package
-   # manager can prevent rebuilds with changed gmp flag. Yes, this should
-   # be append-cppflags; but the build system doesn't respect CPPFLAGS.
-   use bliss && append-cxxflags -DBLISS_USE_GMP
-
-   # This isn't an autotools ./configure script, so a lot of things
-   # don't work the way you'd expect. We disable openmp unconditionally
-   # because it's only supposedly only used for building the bundled
-   # libnormaliz (we unbundle it) and for something called to_simplex
-   # that I can't find anywhere in the polymake source.
-   ./configure --prefix="${EPREFIX}/usr" \
-   --libdir="${EPREFIX}/usr/$(get_libdir)" \
-   --libexecdir="${EPREFIX}/usr/$(get_libdir)/polymake" \
-   $(usev !libpolymake "--without-callable") \
-   --without-java \
-   --without-javaview \
-   --without-native \
-   --without-scip \
-   --without-soplex \
-   --without-openmp \
-   $(use_with bliss bliss "${EPREFIX}/usr") \
-   $(use_with cdd cdd "${EPREFIX}/usr") \
-   $(use_with flint flint "${EPREFIX}/usr") \
-   $(use_with lrs lrs "${EPREFIX}/usr") \
-   $(use_with nauty nauty "${EPREFIX}/usr") \
-   $(use_with normaliz libnormaliz "${EPREFIX}/usr") \
-   $(use_with ppl ppl "${EPREFIX}/usr") \
-   $(use_with singular singular "${EPREFIX}/usr") \
-   || die
-}
-
-# There is a backwards-compatible Makefile that would call ninja for us
-# in src_compile/src_install, but it doesn't handle MAKEOPTS correctly.
-src_compile() {
-   eninja -C build/Opt
-}
-
-src_install() {
-   # DESTDIR needs to find its way into the real install script,
-   # support/install.pl.
-   export DESTDIR="${D}"
-   eninja -C 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2022-12-21 Thread Michael Orlitzky
commit: 0d6e5d748023723eadc6244d823bfaeea565a70f
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Dec 21 11:41:06 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Dec 21 11:41:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d6e5d74

sci-mathematics/polymake: add 4.8, drop 4.7

Signed-off-by: Michael Orlitzky  gentoo.org>

 sci-mathematics/polymake/Manifest | 2 +-
 sci-mathematics/polymake/{polymake-4.7.ebuild => polymake-4.8.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/polymake/Manifest 
b/sci-mathematics/polymake/Manifest
index a5a48525953a..d90af33d1051 100644
--- a/sci-mathematics/polymake/Manifest
+++ b/sci-mathematics/polymake/Manifest
@@ -1,2 +1,2 @@
 DIST polymake-4.6-minimal.tar.bz2 5634651 BLAKE2B 
6ee24fa6e70fdf746ea298d78e21e17fe38c5837ae2d3153e53656b4b003555b06897f463220b59474eed135dfa61c080d08d6363391afca51011f331122
 SHA512 
90f04c67bf297fb1b9f5a51d1654ff12385860b1fc80278a8b47f65970f11a1e0f33ede8a839b54a12422e772c8b76302ff78cc467712a2486f6e76ce0d5ab20
-DIST polymake-4.7-minimal.tar.bz2 7258042 BLAKE2B 
bb6de88b9ba2c04988d18823f15b0a61ffa4699ae75b553bce2266136f4584610426d2820684f6aa553960a7159f1a2d543586fd531bb18f336e854fba451f78
 SHA512 
f025ae7833a5fbca7b79a3c8f6a74516a4d175054f0439f21ae8f54eefc0762f1b2abf33f484aa7f6a9a54c62dc0c476f8b3a9cfbea148c53497b62d0b0740a1
+DIST polymake-4.8-minimal.tar.bz2 7283871 BLAKE2B 
0f54282e0b07e357a6e746cb4c4b579c65a6eb6b942c541047a0213529191404a3ac38279351ffef944fddb2cd299fcbe7ac6d9873368fb00ec221bc81e5
 SHA512 
d3ce7426fa78194254271274849aadb1b7f1afe176c16f79da7e5569ec30004e20a46d3c3a09d45ecb3210d73c850427920ca8a36f93c7f7d9420827fe2a3a00

diff --git a/sci-mathematics/polymake/polymake-4.7.ebuild 
b/sci-mathematics/polymake/polymake-4.8.ebuild
similarity index 100%
rename from sci-mathematics/polymake/polymake-4.7.ebuild
rename to sci-mathematics/polymake/polymake-4.8.ebuild



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2022-12-11 Thread Andreas K. Hüttel
commit: 1bb4e3dd55cde5e653dbd4251e087a339e93d8b6
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sun Dec 11 11:45:56 2022 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sun Dec 11 11:46:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bb4e3dd

sci-mathematics/polymake: stabilize 4.6-r1 for amd64

Closes: https://bugs.gentoo.org/866253
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sci-mathematics/polymake/polymake-4.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/polymake/polymake-4.6-r1.ebuild 
b/sci-mathematics/polymake/polymake-4.6-r1.ebuild
index 446fedbda04a..b5f07d56bf84 100644
--- a/sci-mathematics/polymake/polymake-4.6-r1.ebuild
+++ b/sci-mathematics/polymake/polymake-4.6-r1.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://polymake.org/;
 # closer look at how (or even if) the corresponding code is being used.
 LICENSE="BSD GPL-2 GPL-2+ MIT WTFPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 IUSE="bliss +cdd +flint +normaliz libpolymake lrs nauty ppl singular"
 
 REQUIRED_USE="^^ ( bliss nauty )"



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2022-09-09 Thread Michael Orlitzky
commit: dd5bbd01fd9a834477755d88f46b2d331f4bb6b4
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Sep  9 12:38:35 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Sep  9 19:07:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd5bbd01

sci-mathematics/polymake: add 4.7

Signed-off-by: Michael Orlitzky  gentoo.org>

 sci-mathematics/polymake/Manifest|   1 +
 sci-mathematics/polymake/polymake-4.7.ebuild | 122 +++
 2 files changed, 123 insertions(+)

diff --git a/sci-mathematics/polymake/Manifest 
b/sci-mathematics/polymake/Manifest
index 2405e7d77aa0..a5a48525953a 100644
--- a/sci-mathematics/polymake/Manifest
+++ b/sci-mathematics/polymake/Manifest
@@ -1 +1,2 @@
 DIST polymake-4.6-minimal.tar.bz2 5634651 BLAKE2B 
6ee24fa6e70fdf746ea298d78e21e17fe38c5837ae2d3153e53656b4b003555b06897f463220b59474eed135dfa61c080d08d6363391afca51011f331122
 SHA512 
90f04c67bf297fb1b9f5a51d1654ff12385860b1fc80278a8b47f65970f11a1e0f33ede8a839b54a12422e772c8b76302ff78cc467712a2486f6e76ce0d5ab20
+DIST polymake-4.7-minimal.tar.bz2 7258042 BLAKE2B 
bb6de88b9ba2c04988d18823f15b0a61ffa4699ae75b553bce2266136f4584610426d2820684f6aa553960a7159f1a2d543586fd531bb18f336e854fba451f78
 SHA512 
f025ae7833a5fbca7b79a3c8f6a74516a4d175054f0439f21ae8f54eefc0762f1b2abf33f484aa7f6a9a54c62dc0c476f8b3a9cfbea148c53497b62d0b0740a1

diff --git a/sci-mathematics/polymake/polymake-4.7.ebuild 
b/sci-mathematics/polymake/polymake-4.7.ebuild
new file mode 100644
index ..66795c00f8c7
--- /dev/null
+++ b/sci-mathematics/polymake/polymake-4.7.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic ninja-utils toolchain-funcs
+
+DESCRIPTION="Tool for polyhedral geometry and combinatorics"
+SRC_URI="https://polymake.org/lib/exe/fetch.php/download/${P}-minimal.tar.bz2;
+HOMEPAGE="https://polymake.org/;
+
+# polymake itself is GPL-2, but even the minimal tarball bundles a lot
+# of other code. I've included everything that turns up with a
+#
+#   find ./ -name 'LICENSE' -o -name 'COPYING'
+#
+# in the list below. If any of these bother you, you may want to take a
+# closer look at how (or even if) the corresponding code is being used.
+LICENSE="BSD GPL-2 GPL-2+ MIT WTFPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE="bliss +cdd +flint +normaliz libpolymake lrs nauty ppl singular"
+
+REQUIRED_USE="^^ ( bliss nauty )"
+
+# The "configure" script isn't autotools; it basically exists just to
+# exec some other perl script but using the familiar name.
+BDEPEND="dev-util/ninja
+   dev-lang/perl"
+
+DEPEND="
+   libpolymake? ( dev-lang/perl )
+   dev-libs/boost:=
+   dev-libs/gmp:=
+   dev-libs/libxml2:2=
+   dev-libs/libxslt:=
+   dev-libs/mpfr:=
+   sys-libs/readline:=
+   bliss? ( sci-libs/bliss:=[gmp] )
+   cdd? ( sci-libs/cddlib:= )
+   flint? ( sci-mathematics/flint:= )
+   lrs? ( >=sci-libs/lrslib-051:=[gmp] )
+   nauty? ( sci-mathematics/nauty:= )
+   normaliz? ( >=sci-mathematics/normaliz-3.8:= )
+   ppl? ( dev-libs/ppl:= )
+   singular? ( sci-mathematics/singular:= )"
+
+RDEPEND="${DEPEND}
+   dev-lang/perl
+   dev-perl/JSON
+   dev-perl/Term-ReadLine-Gnu
+   dev-perl/TermReadKey
+   dev-perl/XML-SAX
+   dev-perl/XML-Writer"
+
+# Tests observed failing after upgrade to polymake-4.5. No idea if they
+# worked prior to that. Someone who actually understands polymake will
+# have to get these working (at least briefly) before we re-enable them.
+RESTRICT=test
+
+src_configure() {
+   # Without this, the build system tries to use "the highest possible"
+   # optimization level and will override what's in your CXXFLAGS.
+   export CXXOPT=""
+
+   tc-export CC CXX
+
+   # We need to define BLISS_USE_GMP if bliss was built with gmp support.
+   # Therefore we require gmp support on bliss, so that the package
+   # manager can prevent rebuilds with changed gmp flag. Yes, this should
+   # be append-cppflags; but the build system doesn't respect CPPFLAGS.
+   use bliss && append-cxxflags -DBLISS_USE_GMP
+
+   # This isn't an autotools ./configure script, so a lot of things
+   # don't work the way you'd expect. We disable openmp unconditionally
+   # because it's only supposedly only used for building the bundled
+   # libnormaliz (we unbundle it) and for something called to_simplex
+   # that I can't find anywhere in the polymake source.
+   ./configure --prefix="${EPREFIX}/usr" \
+   --libdir="${EPREFIX}/usr/$(get_libdir)" \
+   --libexecdir="${EPREFIX}/usr/$(get_libdir)/polymake" \
+   $(usev !libpolymake "--without-callable") \
+   --without-java \
+   --without-javaview \
+   --without-native \
+

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/files/, sci-mathematics/polymake/

2022-06-15 Thread Michael Orlitzky
commit: a5f294bb04f044d59923b582e097257559283028
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Jun 15 15:56:50 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Jun 15 19:29:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5f294bb

sci-mathematics/polymake: new revision with a few fixes.

  * Build with perl-5.36. Thanks to Alessandro Barbieri for pointing out
the Fedora patch.
  * Added a lower bound on sci-mathematics/normaliz (with USE=normaliz).
  * Fixed a missing sci-mathematics/flint dependency that Toralf caught.

Closes: https://bugs.gentoo.org/839255
Closes: https://bugs.gentoo.org/851693
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../polymake/files/polymake-4.6-perl-5.36.patch|  15 +++
 sci-mathematics/polymake/polymake-4.6-r1.ebuild| 124 +
 2 files changed, 139 insertions(+)

diff --git a/sci-mathematics/polymake/files/polymake-4.6-perl-5.36.patch 
b/sci-mathematics/polymake/files/polymake-4.6-perl-5.36.patch
new file mode 100644
index ..4a9d349ccb9a
--- /dev/null
+++ b/sci-mathematics/polymake/files/polymake-4.6-perl-5.36.patch
@@ -0,0 +1,15 @@
+diff -up lib/core/src/perl/RefHash.xxs.orig lib/core/src/perl/RefHash.xxs
+--- a/lib/core/src/perl/RefHash.xxs2022-06-06 10:35:17.689807548 +0200
 b/lib/core/src/perl/RefHash.xxs2022-06-06 10:37:12.935663947 +0200
+@@ -71,7 +71,11 @@ SV* tmp_keysv::set(SV* keysv)
+Copy(obj.keyp, HEK_KEY(hekp), sizeof(SV*), char);
+HEK_LEN(hekp) = sizeof(SV*);
+HEK_HASH(hekp) = U32(obj.keyl >> 4);  // hash value
++#if PerlVersion < 5360
+HEK_FLAGS(hekp) = HVhek_UNSHARED;
++#else
++   HEK_FLAGS(hekp) = HVhek_NOTSHARED;
++#endif
+sv.sv_any = 
+sv.sv_refcnt = 1;
+sv.sv_flags = SVt_PVIV | SVf_IVisUV | SVf_POK | SVp_POK | 
PmFlagsForHashKey;

diff --git a/sci-mathematics/polymake/polymake-4.6-r1.ebuild 
b/sci-mathematics/polymake/polymake-4.6-r1.ebuild
new file mode 100644
index ..446fedbda04a
--- /dev/null
+++ b/sci-mathematics/polymake/polymake-4.6-r1.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic ninja-utils toolchain-funcs
+
+DESCRIPTION="Tool for polyhedral geometry and combinatorics"
+SRC_URI="https://polymake.org/lib/exe/fetch.php/download/${P}-minimal.tar.bz2;
+HOMEPAGE="https://polymake.org/;
+
+# polymake itself is GPL-2, but even the minimal tarball bundles a lot
+# of other code. I've included everything that turns up with a
+#
+#   find ./ -name 'LICENSE' -o -name 'COPYING'
+#
+# in the list below. If any of these bother you, you may want to take a
+# closer look at how (or even if) the corresponding code is being used.
+LICENSE="BSD GPL-2 GPL-2+ MIT WTFPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE="bliss +cdd +flint +normaliz libpolymake lrs nauty ppl singular"
+
+REQUIRED_USE="^^ ( bliss nauty )"
+
+# The "configure" script isn't autotools; it basically exists just to
+# exec some other perl script but using the familiar name.
+BDEPEND="dev-util/ninja
+   dev-lang/perl"
+
+DEPEND="
+   libpolymake? ( dev-lang/perl )
+   dev-libs/boost:=
+   dev-libs/gmp:=
+   dev-libs/libxml2:2=
+   dev-libs/libxslt:=
+   dev-libs/mpfr:=
+   sys-libs/readline:=
+   bliss? ( sci-libs/bliss:=[gmp] )
+   cdd? ( sci-libs/cddlib:= )
+   flint? ( sci-mathematics/flint:= )
+   lrs? ( >=sci-libs/lrslib-051:=[gmp] )
+   nauty? ( sci-mathematics/nauty:= )
+   normaliz? ( >=sci-mathematics/normaliz-3.8:= )
+   ppl? ( dev-libs/ppl:= )
+   singular? ( sci-mathematics/singular:= )"
+
+RDEPEND="${DEPEND}
+   dev-lang/perl
+   dev-perl/JSON
+   dev-perl/Term-ReadLine-Gnu
+   dev-perl/TermReadKey
+   dev-perl/XML-SAX
+   dev-perl/XML-Writer"
+
+# Tests observed failing after upgrade to polymake-4.5. No idea if they
+# worked prior to that. Someone who actually understands polymake will
+# have to get these working (at least briefly) before we re-enable them.
+RESTRICT=test
+
+PATCHES=( "${FILESDIR}/${P}-perl-5.36.patch" )
+
+src_configure() {
+   # Without this, the build system tries to use "the highest possible"
+   # optimization level and will override what's in your CXXFLAGS.
+   export CXXOPT=""
+
+   tc-export CC CXX
+
+   # We need to define BLISS_USE_GMP if bliss was built with gmp support.
+   # Therefore we require gmp support on bliss, so that the package
+   # manager can prevent rebuilds with changed gmp flag. Yes, this should
+   # be append-cppflags; but the build system doesn't respect CPPFLAGS.
+   use bliss && append-cxxflags -DBLISS_USE_GMP
+
+   # This isn't an autotools ./configure script, so a lot of things
+   # don't work the way you'd expect. We disable openmp 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2022-02-07 Thread Jakov Smolić
commit: 733e6d7789df269c4d747a2a3a1d5aeecfaa1d6a
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Feb  7 10:25:58 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Feb  7 10:25:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=733e6d77

sci-mathematics/polymake: Stabilize 4.6 amd64, #832376

Signed-off-by: Jakov Smolić  gentoo.org>

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

diff --git a/sci-mathematics/polymake/polymake-4.6.ebuild 
b/sci-mathematics/polymake/polymake-4.6.ebuild
index e82e8fe3f95b..7c936b5eb6c6 100644
--- a/sci-mathematics/polymake/polymake-4.6.ebuild
+++ b/sci-mathematics/polymake/polymake-4.6.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://polymake.org/;
 # closer look at how (or even if) the corresponding code is being used.
 LICENSE="BSD GPL-2 GPL-2+ MIT WTFPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 IUSE="bliss +cdd +flint +normaliz libpolymake lrs nauty ppl singular"
 
 REQUIRED_USE="^^ ( bliss nauty )"



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2022-01-30 Thread Michael Orlitzky
commit: 67c311a021cd0fd8eb6d4b950357f658f97691d4
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Jan 30 22:53:17 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Jan 30 22:53:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67c311a0

sci-mathematics/polymake: new upstream release polymake-4.6.

Standard version bump, and we now explicitly disable OpenMP. The
upstream pseudo-configure script tries to append -fopenmp to *FLAGS
otherwise, causing build failures with non-OpenMP toolchains. OpenMP
is used minimally by polymake itself; the real application is to its
bundled libraries (that we unbundle).

Closes: https://bugs.gentoo.org/832101
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Orlitzky  gentoo.org>

 sci-mathematics/polymake/Manifest  |  2 +-
 .../polymake/{polymake-4.5.ebuild => polymake-4.6.ebuild}  | 10 +++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/sci-mathematics/polymake/Manifest 
b/sci-mathematics/polymake/Manifest
index 913e6a1540b0..2405e7d77aa0 100644
--- a/sci-mathematics/polymake/Manifest
+++ b/sci-mathematics/polymake/Manifest
@@ -1 +1 @@
-DIST polymake-4.5-minimal.tar.bz2 5634046 BLAKE2B 
dc8a10885b23f8c690e9b8e36d6b55193bbc6d77d56c3b2facea70221860c33d2df58a8a693b9d43c0f613962ce2bd1b3258f1a558af8335297092a60876054a
 SHA512 
07fcc9c20c4e48fc6d83845c50c12b2cadeaf55f74619985d21e252970ad76d6ee8cc528cd419e71ed5927d83758e5d6862e41c1610f93ea95127ad9115a333b
+DIST polymake-4.6-minimal.tar.bz2 5634651 BLAKE2B 
6ee24fa6e70fdf746ea298d78e21e17fe38c5837ae2d3153e53656b4b003555b06897f463220b59474eed135dfa61c080d08d6363391afca51011f331122
 SHA512 
90f04c67bf297fb1b9f5a51d1654ff12385860b1fc80278a8b47f65970f11a1e0f33ede8a839b54a12422e772c8b76302ff78cc467712a2486f6e76ce0d5ab20

diff --git a/sci-mathematics/polymake/polymake-4.5.ebuild 
b/sci-mathematics/polymake/polymake-4.6.ebuild
similarity index 91%
rename from sci-mathematics/polymake/polymake-4.5.ebuild
rename to sci-mathematics/polymake/polymake-4.6.ebuild
index 750cfef6a60f..e82e8fe3f95b 100644
--- a/sci-mathematics/polymake/polymake-4.5.ebuild
+++ b/sci-mathematics/polymake/polymake-4.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -60,7 +60,7 @@ RESTRICT=test
 src_configure() {
# Without this, the build system tries to use "the highest possible"
# optimization level and will override what's in your CXXFLAGS.
-   export CXXOPT=$(get-flag -O)
+   export CXXOPT=""
 
tc-export CC CXX
 
@@ -71,7 +71,10 @@ src_configure() {
use bliss && append-cxxflags -DBLISS_USE_GMP
 
# This isn't an autotools ./configure script, so a lot of things
-   # don't work the way you'd expect.
+   # don't work the way you'd expect. We disable openmp unconditionally
+   # because it's only supposedly only used for building the bundled
+   # libnormaliz (we unbundle it) and for something called to_simplex
+   # that I can't find anywhere in the polymake source.
./configure --prefix="${EPREFIX}/usr" \
--libdir="${EPREFIX}/usr/$(get_libdir)" \
--libexecdir="${EPREFIX}/usr/$(get_libdir)/polymake" \
@@ -81,6 +84,7 @@ src_configure() {
--without-native \
--without-scip \
--without-soplex \
+   --without-openmp \
$(use_with bliss bliss "${EPREFIX}/usr") \
$(use_with cdd cdd "${EPREFIX}/usr") \
$(use_with flint flint "${EPREFIX}/usr") \



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2021-12-29 Thread Yixun Lan
commit: 38c78a08c07edd856c43d1ecdcb0fa175e7dee4d
Author: Alex Fan  gmail  com>
AuthorDate: Tue Dec 28 10:20:08 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Dec 29 13:40:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38c78a08

sci-mathematics/polymake: keyword 4.5 for ~riscv

Signed-off-by: Alex Fan  gmail.com>
Signed-off-by: Yixun Lan  gentoo.org>

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

diff --git a/sci-mathematics/polymake/polymake-4.5.ebuild 
b/sci-mathematics/polymake/polymake-4.5.ebuild
index 0ee01c641a11..750cfef6a60f 100644
--- a/sci-mathematics/polymake/polymake-4.5.ebuild
+++ b/sci-mathematics/polymake/polymake-4.5.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://polymake.org/;
 # closer look at how (or even if) the corresponding code is being used.
 LICENSE="BSD GPL-2 GPL-2+ MIT WTFPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux"
 IUSE="bliss +cdd +flint +normaliz libpolymake lrs nauty ppl singular"
 
 REQUIRED_USE="^^ ( bliss nauty )"



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2021-10-22 Thread Michael Orlitzky
commit: db8613a7ef8e28bae0e4d6002e03676110919783
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Oct 21 23:34:01 2021 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Oct 23 00:11:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db8613a7

sci-mathematics/polymake: new upstream version 4.5.

Lots of ebuild improvements (EAPI=8,...) in this one. Several bugs
have been fixed, and some new ones likely introduced; best not to
dwell. Now that we have something passable in the tree, it will be a
lot easier to make incremental improvements.

Closes: https://bugs.gentoo.org/618332
Closes: https://bugs.gentoo.org/625512
Closes: https://bugs.gentoo.org/648804
Closes: https://github.com/gentoo/gentoo/pull/17925
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Orlitzky  gentoo.org>

 sci-mathematics/polymake/Manifest   |   2 +-
 sci-mathematics/polymake/metadata.xml   |  52 ---
 sci-mathematics/polymake/polymake-3.0_p2.ebuild |  90 --
 sci-mathematics/polymake/polymake-4.5.ebuild| 117 
 4 files changed, 158 insertions(+), 103 deletions(-)

diff --git a/sci-mathematics/polymake/Manifest 
b/sci-mathematics/polymake/Manifest
index 46fae3d858f..913e6a1540b 100644
--- a/sci-mathematics/polymake/Manifest
+++ b/sci-mathematics/polymake/Manifest
@@ -1 +1 @@
-DIST polymake-3.0r2.tar.bz2 37695790 BLAKE2B 
101dda48128b51737b81d3dc09a8ef32d07c5f67605370c5ef0d5638ee6de427c6e8ff66094f96593ad21fa937ca5890af772f6e877fab0e31f4c98ec7c6730b
 SHA512 
b4c22b2c6da8ef597dc05a44a30c7a55fd924a96854cde3f725095465972eabe1e24508f8e5d544f3131c82c973117b15983c38a0242fc7f1d4a4a8ecddb1d46
+DIST polymake-4.5-minimal.tar.bz2 5634046 BLAKE2B 
dc8a10885b23f8c690e9b8e36d6b55193bbc6d77d56c3b2facea70221860c33d2df58a8a693b9d43c0f613962ce2bd1b3258f1a558af8335297092a60876054a
 SHA512 
07fcc9c20c4e48fc6d83845c50c12b2cadeaf55f74619985d21e252970ad76d6ee8cc528cd419e71ed5927d83758e5d6862e41c1610f93ea95127ad9115a333b

diff --git a/sci-mathematics/polymake/metadata.xml 
b/sci-mathematics/polymake/metadata.xml
index 8eb7d9d6319..5834e17347b 100644
--- a/sci-mathematics/polymake/metadata.xml
+++ b/sci-mathematics/polymake/metadata.xml
@@ -6,19 +6,47 @@
   Gentoo Mathematics Project
 
 
-  Enable sci-libs/cddlib interface for convex hull
-  computations (Should be kept enabled).
-  Enable sci-libs/lrslib interface for convex hull 
computations.
-  Enable dev-libs/ppl interface for convex hull 
computations.
-  Enable sci-libs/bliss interface for graph and face 
lattice isomorphism computations.
-  Build extension for dealing with permutation groups and 
symmetric objects.
-  Build the bundled extension for lattice related 
computations.
-  Enable the interface to sci-mathematics/singular for 
ideal related computations.
-  Build the polymake library to build applications 
using the C++ interface.
+  
+Enable sci-libs/bliss interface for graph and face lattice
+isomorphism computations.
+  
+  
+Enable sci-libs/cddlib interface for convex hull
+computations (Should be kept enabled).
+  
+  
+Build with "strongly recommended" support for
+sci-mathematics/flint.
+  
+  
+Build the polymake library to build applications using the C++
+interface.
+  
+  
+Enable sci-libs/lrslib interface for convex hull
+computations.
+  
+  
+Build the extension for graph automorphism computations using
+sci-mathematics/nauty.
+  
+  
+Build the bundled extension for lattice computations using
+sci-mathematics/normaliz.
+  
+  
+Enable dev-libs/ppl interface for convex hull computations.
+  
+  
+Enable the interface to sci-mathematics/singular for
+ideal related computations.
+  
 
 
-Polymake started out as a tool for the algorithmic treatment of convex
-polyhedra. By now it also deals with finite simplicial complexes,
-tight spans of finite metric spaces, and other objects. 
+  Polymake is open source software for research in polyhedral
+  geometry. It deals with polytopes, polyhedra, and fans as well as
+  simplicial complexes, matroids, graphs, tropical hypersurfaces, and
+  other objects. Supported platforms include various flavors of Linux,
+  FreeBSD, and Mac OS.
 
 

diff --git a/sci-mathematics/polymake/polymake-3.0_p2.ebuild 
b/sci-mathematics/polymake/polymake-3.0_p2.ebuild
deleted file mode 100644
index bff44f4d9bb..000
--- a/sci-mathematics/polymake/polymake-3.0_p2.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic
-
-DESCRIPTION="research tool for polyhedral geometry and combinatorics"
-SRC_URI="https://polymake.org/lib/exe/fetch.php/download/polymake-3.0r2.tar.bz2;
-HOMEPAGE="https://polymake.org;
-
-IUSE="+cdd lrs ppl bliss group +libnormaliz singular libpolymake"
-
-REQUIRED_USE="group? ( cdd lrs )"
-
-SLOT="0"

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2020-06-27 Thread Andreas K. Hüttel
commit: 500aaa305e421ef8b063213e9bff0431ca089365
Author: Alexey Sokolov  google  com>
AuthorDate: Sat Jun 20 16:15:44 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Jun 27 20:44:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=500aaa30

sci-mathematics/polymake: update homepage

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sci-mathematics/polymake/polymake-3.0_p2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/polymake/polymake-3.0_p2.ebuild 
b/sci-mathematics/polymake/polymake-3.0_p2.ebuild
index c14cf1c5a3f..179fb83a892 100644
--- a/sci-mathematics/polymake/polymake-3.0_p2.ebuild
+++ b/sci-mathematics/polymake/polymake-3.0_p2.ebuild
@@ -7,7 +7,7 @@ inherit eutils flag-o-matic
 
 DESCRIPTION="research tool for polyhedral geometry and combinatorics"
 
SRC_URI="https://polymake.org/lib/exe/fetch.php/download/polymake-3.0r2.tar.bz2;
-HOMEPAGE="http://polymake.org;
+HOMEPAGE="https://polymake.org;
 
 IUSE="+cdd lrs ppl bliss group +libnormaliz singular libpolymake"
 
@@ -80,7 +80,7 @@ src_install() {
 }
 
 pkg_postinst() {
-   elog "Docs can be found on 
http://www.polymake.org/doku.php/documentation;
+   elog "Docs can be found on 
https://www.polymake.org/doku.php/documentation;
elog " "
elog "Support for jreality is missing, sorry (see bug #346073)."
elog " "



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2017-05-14 Thread Patrice Clement
commit: 6e5ee9af6f5b19313a2c693ca8bf558cf91ec32c
Author: Alessandro-Barbieri  alice  it>
AuthorDate: Sat May 13 21:16:31 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun May 14 22:53:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e5ee9af

sci-mathematics/polymake: fix typo.

Package-Manager: Portage-2.3.5, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/4620

 sci-mathematics/polymake/polymake-3.0_p2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/polymake/polymake-3.0_p2.ebuild 
b/sci-mathematics/polymake/polymake-3.0_p2.ebuild
index 9dc54cea520..7727fc25d42 100644
--- a/sci-mathematics/polymake/polymake-3.0_p2.ebuild
+++ b/sci-mathematics/polymake/polymake-3.0_p2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -85,6 +85,6 @@ pkg_postinst(){
elog "Support for jreality is missing, sorry (see bug #346073)."
elog " "
elog "Additional features for polymake are available through external"
-   elog "software such as sci-mathmatics/4ti2 and sci-mathematics/topcom."
+   elog "software such as sci-mathematics/4ti2 and sci-mathematics/topcom."
elog "After installing new external software run 'polymake 
--reconfigure'."
 }



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2017-02-18 Thread Andreas Hüttel
commit: 875619639e4d3592eb668301d2354189a32fd893
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Feb 18 22:41:41 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Feb 18 22:41:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87561963

sci-mathematics/polymake: Remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-mathematics/polymake/Manifest|  1 -
 sci-mathematics/polymake/polymake-2.14-r1.ebuild | 90 
 2 files changed, 91 deletions(-)

diff --git a/sci-mathematics/polymake/Manifest 
b/sci-mathematics/polymake/Manifest
index 0ff9bf57b0..fff85a5231 100644
--- a/sci-mathematics/polymake/Manifest
+++ b/sci-mathematics/polymake/Manifest
@@ -1,2 +1 @@
-DIST polymake-2.14-minimal.tar.bz2 1996581 SHA256 
c43b525c6f329ae2d8eb6d0e2af63f7846c4e5d408627665a28d0f421bbbcf9b SHA512 
8989a8d2eb42c03e46569eca24334083154ff5107d7cd7d9dc481790b1553acd38025bd48ca016407e5c08b4b08f8062e19a1d4828ef535f83292510bdf5cd07
 WHIRLPOOL 
3f1521c60eafcff60b8ab2a443ff051835ee1c667eefcd59b33227e7a84293ccaefad4bc05eea4b8c541dea513b85b4e8538b6b572d762f2e1167b733029ec54
 DIST polymake-3.0r2.tar.bz2 37695790 SHA256 
e7c0f8e3a45ea288d2fb4ae781a1dcea913ef9c275fed401632cdb11a672d6dc SHA512 
b4c22b2c6da8ef597dc05a44a30c7a55fd924a96854cde3f725095465972eabe1e24508f8e5d544f3131c82c973117b15983c38a0242fc7f1d4a4a8ecddb1d46
 WHIRLPOOL 
5a236ac32de0dd19e7f0f5b8b1b42f2b72fa2392ee098718383a8dfd0f1d1db3946d5f4f75bd9e4c075033deebcd87ddbb28ce70733d6371fa4624b8b6a4edd1

diff --git a/sci-mathematics/polymake/polymake-2.14-r1.ebuild 
b/sci-mathematics/polymake/polymake-2.14-r1.ebuild
deleted file mode 100644
index a1e861349b..00
--- a/sci-mathematics/polymake/polymake-2.14-r1.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="research tool for polyhedral geometry and combinatorics"
-SRC_URI="http://polymake.org/lib/exe/fetch.php/download/${P}-minimal.tar.bz2;
-HOMEPAGE="http://polymake.org;
-
-IUSE="+cdd lrs ppl bliss group +libnormaliz singular libpolymake"
-
-REQUIRED_USE="group? ( cdd lrs )"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-# do not allow new perl versions because our testbuilds segfault
-DEPEND="=sci-libs/lrslib-051[gmp] )
-   bliss? ( sci-libs/bliss[gmp] )
-   group? ( dev-libs/boost:= )
-   libnormaliz? ( dev-libs/boost:= )
-   singular? ( >=sci-mathematics/singular-4.0.1 )"
-RDEPEND="${DEPEND}
-   dev-perl/XML-LibXML
-   dev-perl/XML-LibXSLT
-   dev-perl/XML-Writer
-   dev-perl/Term-ReadLine-Gnu"
-
-src_prepare() {
-   einfo "During compile this package uses up to"
-   einfo "750MB of RAM per process. Use MAKEOPTS=\"-j1\" if"
-   einfo "you run into trouble."
-}
-
-src_configure () {
-   export CXXOPT=$(get-flag -O)
-
-   # We need to define BLISS_USE_GMP if bliss was built with gmp support.
-   # Therefore we require gmp support on bliss, so that the package
-   # manager can prevent rebuilds with changed gmp flag.
-   if use bliss ; then
-   append-cxxflags -DBLISS_USE_GMP
-   fi
-
-   # Configure does not accept --host, therefore econf cannot be used
-
-   # Some of the options do not support using just '--with-option'
-   local myconf=""
-   use !group && myconf="$myconf --without-group"
-   use !libnormaliz && myconf="$myconf --without-libnormaliz"
-   use !libpolymake && myconf="$myconf --without-callable"
-
-   # And many other --with-arguments expect a path: --with-option=/path
-   ./configure --prefix="${EPREFIX}/usr" \
-   --libdir="${EPREFIX}/usr/$(get_libdir)" \
-   --libexecdir="${EPREFIX}/usr/$(get_libdir)/polymake" \
-   --without-prereq \
-   --without-java \
-   $(use_with cdd cdd "${EPREFIX}/usr") \
-   $(use_with lrs lrs "${EPREFIX}/usr") \
-   $(use_with ppl ppl "${EPREFIX}/usr") \
-   $(use_with bliss bliss "${EPREFIX}/usr") \
-   $(use_with singular singular "${EPREFIX}/usr") \
-   ${myconf} || die
-}
-
-src_install(){
-   emake -j1 DESTDIR="${D}" install
-}
-
-pkg_postinst(){
-   elog "Docs can be found on 
http://www.polymake.org/doku.php/documentation;
-   elog " "
-   elog "Support for jreality is missing, sorry (see bug #346073)."
-   elog " "
-   elog "Additional features for polymake are available through external"
-   elog "software such as sci-mathmatics/4ti2 and sci-mathematics/topcom."
-   elog "After installing new external software run 'polymake 
--reconfigure'."
-}



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/, sci-mathematics/polymake/files/

2016-09-30 Thread Thomas Kahle
commit: 08a32db74f9bc81c59802b2cd776c60ef515014c
Author: Thomas Kahle  gentoo  org>
AuthorDate: Fri Sep 30 11:41:00 2016 +
Commit: Thomas Kahle  gentoo  org>
CommitDate: Fri Sep 30 11:45:55 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08a32db7

sci-mathematics/polymake: Remove old

Package-Manager: portage-2.3.0

 sci-mathematics/polymake/Manifest  |  2 -
 .../polymake/files/polymake_gcc49.patch| 68 --
 sci-mathematics/polymake/polymake-2.13.ebuild  | 64 
 sci-mathematics/polymake/polymake-2.14.ebuild  | 59 ---
 4 files changed, 193 deletions(-)

diff --git a/sci-mathematics/polymake/Manifest 
b/sci-mathematics/polymake/Manifest
index 1528d82..0ff9bf5 100644
--- a/sci-mathematics/polymake/Manifest
+++ b/sci-mathematics/polymake/Manifest
@@ -1,4 +1,2 @@
-DIST polymake-2.13-1.tar.bz2 16539798 SHA256 
d010edc206b22356333493e90bd24f807c7341730232276d47dbf1b62eb53aba SHA512 
90fd0c7eacbb673734e08860a753f75dae06347ce8affcb5d50c55a51975b85260db841393979c0143be5a71a26b6737f9513509d75a5950b40654c54d0be3ea
 WHIRLPOOL 
cef5c95930c7633acb0652e6ce3cd6c85b469af912ad1adb695e58a018e4cedbdac9f63caaeb12f3da0a8f7fb2b71e853b782f308a1594cfc89d2c9697e6c170
 DIST polymake-2.14-minimal.tar.bz2 1996581 SHA256 
c43b525c6f329ae2d8eb6d0e2af63f7846c4e5d408627665a28d0f421bbbcf9b SHA512 
8989a8d2eb42c03e46569eca24334083154ff5107d7cd7d9dc481790b1553acd38025bd48ca016407e5c08b4b08f8062e19a1d4828ef535f83292510bdf5cd07
 WHIRLPOOL 
3f1521c60eafcff60b8ab2a443ff051835ee1c667eefcd59b33227e7a84293ccaefad4bc05eea4b8c541dea513b85b4e8538b6b572d762f2e1167b733029ec54
-DIST polymake-2.14.tar.bz2 38747874 SHA256 
c181277b5cd45ac00f5667647e4eb5fa13c20547623fd6e63ce2522c058883c2 SHA512 
f66eac2e821060719a16a6979fa0cc20edf9598d425ba2fff5bddfc053fd582b05a5579e1c2521fd382733a4808955aa49cb946234a183aba3ef75eed8c02b22
 WHIRLPOOL 
26b21d28d6b9a76b7a3164b6d5e45a00ed8a604b3f973a22db1472dce714dec5f8ad5d2ee7133321e2cd0f48d6380343b8e6d93db9e79b6726ef1e9954c04405
 DIST polymake-3.0r2.tar.bz2 37695790 SHA256 
e7c0f8e3a45ea288d2fb4ae781a1dcea913ef9c275fed401632cdb11a672d6dc SHA512 
b4c22b2c6da8ef597dc05a44a30c7a55fd924a96854cde3f725095465972eabe1e24508f8e5d544f3131c82c973117b15983c38a0242fc7f1d4a4a8ecddb1d46
 WHIRLPOOL 
5a236ac32de0dd19e7f0f5b8b1b42f2b72fa2392ee098718383a8dfd0f1d1db3946d5f4f75bd9e4c075033deebcd87ddbb28ce70733d6371fa4624b8b6a4edd1

diff --git a/sci-mathematics/polymake/files/polymake_gcc49.patch 
b/sci-mathematics/polymake/files/polymake_gcc49.patch
deleted file mode 100644
index bc2cac5..
--- a/sci-mathematics/polymake/files/polymake_gcc49.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-commit 9fdecb57cb728170d0b87637c67947acf0cd27a4
-Author: Benjamin Lorenz 
-Date:   Sat May 17 23:05:41 2014 +0200
-
-fix ppl configure.pl test for gcc 4.9
-
-diff --git a/bundled/ppl/configure.pl b/bundled/ppl/configure.pl
-index 128af1f..a147ea1 100644
 a/bundled/ppl/configure.pl
-+++ b/bundled/ppl/configure.pl
-@@ -43,6 +43,7 @@ sub proceed {
- 
-} else {
-   my $error=Polymake::Configure::build_test_program(<<"---", Libs => 
"-lppl -lgmp");
-+#include 
- #include "ppl.hh"
- #include 
- int main() {
-
-commit 6651dd4b284085ffb7385d6cbca1785b6242003b
-Author: Benjamin Lorenz 
-Date:   Wed May 7 15:53:12 2014 +0200
-
-another gcc 4.9 cstddef header fix
-
-diff --git a/bundled/bliss/apps/graph/src/GraphIso.cc 
b/bundled/bliss/apps/graph/src/GraphIso.cc
-index 4000dd5..14e0e8f 100644
 a/bundled/bliss/apps/graph/src/GraphIso.cc
-+++ b/bundled/bliss/apps/graph/src/GraphIso.cc
-@@ -15,6 +15,7 @@
- */
- 
- #include 
-+#include  // needed for gcc 4.9, see 
http://gcc.gnu.org/gcc-4.9/porting_to.html
- #include 
- #include "polymake/graph/GraphIso.h"
- 
-
-commit 716639b858f476d6a2fd8fe51da67d6cb347ec7c
-Author: Benjamin Lorenz 
-Date:   Tue May 6 14:58:33 2014 +0200
-
-cstddef include fix for gcc 4.9 (see 
http://gcc.gnu.org/gcc-4.9/porting_to.html)
-
-diff --git a/bundled/libnormaliz/apps/polytope/src/normaliz.cc 
b/bundled/libnormaliz/apps/polytope/src/normaliz.cc
-index e6f2208..81e9783 100644
 a/bundled/libnormaliz/apps/polytope/src/normaliz.cc
-+++ b/bundled/libnormaliz/apps/polytope/src/normaliz.cc
-@@ -14,6 +14,7 @@
- 

- */
- 
-+#include  // needed for gcc 4.9, see 
http://gcc.gnu.org/gcc-4.9/porting_to.html
- #include 
- 
- #include "polymake/client.h"
-diff --git a/bundled/ppl/apps/polytope/include/ppl_interface_impl.h 
b/bundled/ppl/apps/polytope/include/ppl_interface_impl.h
-index fda2f39..1040c9e 100644
 a/bundled/ppl/apps/polytope/include/ppl_interface_impl.h
-+++ b/bundled/ppl/apps/polytope/include/ppl_interface_impl.h
-@@ -17,6 +17,7 @@
- #ifndef POLYMAKE_POLYTOPE_PPL_INTERFACE_IMPL_H
- #define POLYMAKE_POLYTOPE_PPL_INTERFACE_IMPL_H
- 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2016-09-30 Thread Thomas Kahle
commit: ed656750c2d57ce9610a094ac22475c4b6c97bb9
Author: Thomas Kahle  gentoo  org>
AuthorDate: Fri Sep 30 11:40:16 2016 +
Commit: Thomas Kahle  gentoo  org>
CommitDate: Fri Sep 30 11:45:53 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed656750

sci-mathematics/polymake: Bump to 3.0r2

Also solves bug 595330

Package-Manager: portage-2.3.0

 sci-mathematics/polymake/Manifest   |  1 +
 sci-mathematics/polymake/polymake-3.0_p2.ebuild | 91 +
 2 files changed, 92 insertions(+)

diff --git a/sci-mathematics/polymake/Manifest 
b/sci-mathematics/polymake/Manifest
index b4b030a..1528d82 100644
--- a/sci-mathematics/polymake/Manifest
+++ b/sci-mathematics/polymake/Manifest
@@ -1,3 +1,4 @@
 DIST polymake-2.13-1.tar.bz2 16539798 SHA256 
d010edc206b22356333493e90bd24f807c7341730232276d47dbf1b62eb53aba SHA512 
90fd0c7eacbb673734e08860a753f75dae06347ce8affcb5d50c55a51975b85260db841393979c0143be5a71a26b6737f9513509d75a5950b40654c54d0be3ea
 WHIRLPOOL 
cef5c95930c7633acb0652e6ce3cd6c85b469af912ad1adb695e58a018e4cedbdac9f63caaeb12f3da0a8f7fb2b71e853b782f308a1594cfc89d2c9697e6c170
 DIST polymake-2.14-minimal.tar.bz2 1996581 SHA256 
c43b525c6f329ae2d8eb6d0e2af63f7846c4e5d408627665a28d0f421bbbcf9b SHA512 
8989a8d2eb42c03e46569eca24334083154ff5107d7cd7d9dc481790b1553acd38025bd48ca016407e5c08b4b08f8062e19a1d4828ef535f83292510bdf5cd07
 WHIRLPOOL 
3f1521c60eafcff60b8ab2a443ff051835ee1c667eefcd59b33227e7a84293ccaefad4bc05eea4b8c541dea513b85b4e8538b6b572d762f2e1167b733029ec54
 DIST polymake-2.14.tar.bz2 38747874 SHA256 
c181277b5cd45ac00f5667647e4eb5fa13c20547623fd6e63ce2522c058883c2 SHA512 
f66eac2e821060719a16a6979fa0cc20edf9598d425ba2fff5bddfc053fd582b05a5579e1c2521fd382733a4808955aa49cb946234a183aba3ef75eed8c02b22
 WHIRLPOOL 
26b21d28d6b9a76b7a3164b6d5e45a00ed8a604b3f973a22db1472dce714dec5f8ad5d2ee7133321e2cd0f48d6380343b8e6d93db9e79b6726ef1e9954c04405
+DIST polymake-3.0r2.tar.bz2 37695790 SHA256 
e7c0f8e3a45ea288d2fb4ae781a1dcea913ef9c275fed401632cdb11a672d6dc SHA512 
b4c22b2c6da8ef597dc05a44a30c7a55fd924a96854cde3f725095465972eabe1e24508f8e5d544f3131c82c973117b15983c38a0242fc7f1d4a4a8ecddb1d46
 WHIRLPOOL 
5a236ac32de0dd19e7f0f5b8b1b42f2b72fa2392ee098718383a8dfd0f1d1db3946d5f4f75bd9e4c075033deebcd87ddbb28ce70733d6371fa4624b8b6a4edd1

diff --git a/sci-mathematics/polymake/polymake-3.0_p2.ebuild 
b/sci-mathematics/polymake/polymake-3.0_p2.ebuild
new file mode 100644
index ..fc6475d
--- /dev/null
+++ b/sci-mathematics/polymake/polymake-3.0_p2.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="research tool for polyhedral geometry and combinatorics"
+SRC_URI="https://polymake.org/lib/exe/fetch.php/download/polymake-3.0r2.tar.bz2;
+HOMEPAGE="http://polymake.org;
+
+IUSE="+cdd lrs ppl bliss group +libnormaliz singular libpolymake"
+
+REQUIRED_USE="group? ( cdd lrs )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+DEPEND="dev-lang/perl
+   dev-libs/gmp:0=
+   dev-libs/mpfr:0
+   dev-libs/libxml2:2
+   dev-libs/libxslt
+   ppl? ( dev-libs/ppl )
+   cdd? ( sci-libs/cddlib )
+   lrs? ( >=sci-libs/lrslib-051[gmp] )
+   bliss? ( sci-libs/bliss[gmp] )
+   group? ( dev-libs/boost:= )
+   libnormaliz? ( dev-libs/boost:= )
+   singular? ( >=sci-mathematics/singular-4.0.1 )"
+RDEPEND="${DEPEND}
+   dev-perl/XML-LibXML
+   dev-perl/XML-LibXSLT
+   dev-perl/XML-Writer
+   dev-perl/Term-ReadLine-Gnu"
+
+S="${WORKDIR}/${PN}-3.0"
+
+pkg_pretend() {
+   einfo "During compile this package uses up to"
+   einfo "750MB of RAM per process. Use MAKEOPTS=\"-j1\" if"
+   einfo "you run into trouble."
+}
+
+src_configure () {
+   export CXXOPT=$(get-flag -O)
+
+   # We need to define BLISS_USE_GMP if bliss was built with gmp support.
+   # Therefore we require gmp support on bliss, so that the package
+   # manager can prevent rebuilds with changed gmp flag.
+   if use bliss ; then
+   append-cxxflags -DBLISS_USE_GMP
+   fi
+
+   # Configure does not accept --host, therefore econf cannot be used
+
+   # Some of the options do not support using just '--with-option'
+   local myconf=""
+   use !group && myconf="$myconf --without-group"
+   use !libnormaliz && myconf="$myconf --without-libnormaliz"
+   use !libpolymake && myconf="$myconf --without-callable"
+
+   # And many other --with-arguments expect a path: --with-option=/path
+   ./configure --prefix="${EPREFIX}/usr" \
+   --libdir="${EPREFIX}/usr/$(get_libdir)" \
+   --libexecdir="${EPREFIX}/usr/$(get_libdir)/polymake" \
+   --without-prereq \
+   --without-java \
+   $(use_with cdd cdd "${EPREFIX}/usr") \
+   $(use_with lrs lrs 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2016-05-14 Thread David Seifert
commit: cd80f5934e087fb3d077b1c0658cc453ceeac890
Author: David Seifert  gentoo  org>
AuthorDate: Sat May 14 23:09:55 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat May 14 23:16:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd80f593

sci-mathematics/polymake: Fix QA MissingSlotDep

Package-Manager: portage-2.2.28

 sci-mathematics/polymake/polymake-2.13.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-mathematics/polymake/polymake-2.13.ebuild 
b/sci-mathematics/polymake/polymake-2.13.ebuild
index 26e172f..0d5111c 100644
--- a/sci-mathematics/polymake/polymake-2.13.ebuild
+++ b/sci-mathematics/polymake/polymake-2.13.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -18,8 +18,8 @@ SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
-DEPEND="dev-libs/gmp
-   dev-libs/boost
+DEPEND="dev-libs/gmp:0=
+   dev-libs/boost:=
dev-libs/libxml2:2
dev-perl/XML-LibXML
dev-libs/libxslt



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2016-05-14 Thread David Seifert
commit: 77878cf177ced650ba46e7a116c56537271e5cf8
Author: David Seifert  gentoo  org>
AuthorDate: Sat May 14 23:10:37 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat May 14 23:16:53 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77878cf1

sci-mathematics/polymake: Fix QA MissingSlotDep

Package-Manager: portage-2.2.28

 sci-mathematics/polymake/polymake-2.14.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-mathematics/polymake/polymake-2.14.ebuild 
b/sci-mathematics/polymake/polymake-2.14.ebuild
index 1e9a96a..e6e9fa5 100644
--- a/sci-mathematics/polymake/polymake-2.14.ebuild
+++ b/sci-mathematics/polymake/polymake-2.14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,8 +16,8 @@ SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
-DEPEND="dev-libs/gmp
-   dev-libs/boost
+DEPEND="dev-libs/gmp:0=
+   dev-libs/boost:=
dev-libs/libxml2:2
dev-perl/XML-LibXML
dev-libs/libxslt



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/polymake/

2016-05-14 Thread David Seifert
commit: c55107d917b9b57d710b31d432bc4083329b04e5
Author: David Seifert  gentoo  org>
AuthorDate: Sat May 14 23:11:45 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat May 14 23:16:55 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c55107d9

sci-mathematics/polymake: Fix QA MissingSlotDep

Package-Manager: portage-2.2.28

 sci-mathematics/polymake/polymake-2.14-r1.ebuild | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sci-mathematics/polymake/polymake-2.14-r1.ebuild 
b/sci-mathematics/polymake/polymake-2.14-r1.ebuild
index d85b9c8..a1e8613 100644
--- a/sci-mathematics/polymake/polymake-2.14-r1.ebuild
+++ b/sci-mathematics/polymake/polymake-2.14-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -20,16 +20,16 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
 # do not allow new perl versions because our testbuilds segfault
 DEPEND="=sci-libs/lrslib-051[gmp] )
bliss? ( sci-libs/bliss[gmp] )
-   group? ( dev-libs/boost )
-   libnormaliz? ( dev-libs/boost )
+   group? ( dev-libs/boost:= )
+   libnormaliz? ( dev-libs/boost:= )
singular? ( >=sci-mathematics/singular-4.0.1 )"
 RDEPEND="${DEPEND}
dev-perl/XML-LibXML