commit:     dab63b00e3e8bad379e108478593a724f7d536ba
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 22 20:00:40 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 14:06:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dab63b00

sci-mathematics/polymake: add 4.13, drop 4.12

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

 sci-mathematics/polymake/Manifest                  |  2 +-
 .../files/polymake-4.12-no-perl-constraints.patch  | 62 ----------------------
 .../{polymake-4.12.ebuild => polymake-4.13.ebuild} |  4 +-
 3 files changed, 2 insertions(+), 66 deletions(-)

diff --git a/sci-mathematics/polymake/Manifest 
b/sci-mathematics/polymake/Manifest
index cb4b81dbdabb..502ed81cebe9 100644
--- a/sci-mathematics/polymake/Manifest
+++ b/sci-mathematics/polymake/Manifest
@@ -1,2 +1,2 @@
 DIST polymake-4.11-minimal.tar.bz2 7325783 BLAKE2B 
87e62741e4e44c5fea7454d5cc8cb205cf13f8ee743c1d72100f937d0677505ce0c5c8f5b37c118f89079ca88f313991eaefb2ea02c49b6c7b45c438c6f9e13b
 SHA512 
94adf3fcec21de50451091a04ca17010f5e71b44e3dcd4e2d52b9f952b94ee0cf3f6df15657b761b0bda20eb47cbdc0cb2481bb440c7243442be34f913292246
-DIST polymake-4.12-minimal.tar.bz2 7337552 BLAKE2B 
4893be1f04ace2c4eb95ed01bc55e62e2187e10b5b10c1d274b2d4e771e1d863b2eb7adeb9a05b2f4c14466cdce1c0d223cfcf35c125d9989ab3825a88e46464
 SHA512 
127d4058148fdac05fb83a3ab893edfe5c0ab6865f9745d1e709396c23af9762574616f0466adcee59d35646d807621a090a41e8cc693b1fca1f5f6cd5d01054
+DIST polymake-4.13-minimal.tar.bz2 7338096 BLAKE2B 
c4d60ab48cb4fd21e6ea38ccdf85086e92c1ad2b80434180c07da036de9e462439e73f05d271d1c0aa150a8eeda59b20d5314fbf8fd7b17c2eb3f0e0b0384c78
 SHA512 
cd281a1f293434d96efceeb02e25d23fb334fa0c0ecdf5af10489d12850dca43c05eaa36e86fbd4a0b1fab9e83b03ad694d655a8710ea5ed9f000297a4d86d50

diff --git 
a/sci-mathematics/polymake/files/polymake-4.12-no-perl-constraints.patch 
b/sci-mathematics/polymake/files/polymake-4.12-no-perl-constraints.patch
deleted file mode 100644
index 54cbb1ee0324..000000000000
--- a/sci-mathematics/polymake/files/polymake-4.12-no-perl-constraints.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From b0639eca089256c1d816b62c0e2b901cc14a5f7c Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <[email protected]>
-Date: Wed, 28 Aug 2024 10:57:17 -0400
-Subject: [PATCH] support/configure.pl: disable perl version check
-
-The test suite apparently passes with perl-5.40, and that's what
-we have in ~arch on Gentoo, so let's accept it.
----
- support/configure.pl | 37 -------------------------------------
- 1 file changed, 37 deletions(-)
-
-diff --git a/support/configure.pl b/support/configure.pl
-index 5615c65..95f66de 100644
---- a/support/configure.pl
-+++ b/support/configure.pl
-@@ -14,43 +14,6 @@
- #  GNU General Public License for more details.
- 
#-------------------------------------------------------------------------------
- 
--BEGIN {
--   if ($] < 5.016) {
--      print STDERR <<".";
--polymake requires perl version not lower than 5.16;
--your perl interpreter says it is $].
--
--Please upgrade your perl installation;
--if you already have an up-to-date perl interpreter somewhere else,
--you can specify its location on the command line:
--
--./configure PERL=/path/to/my/new/perl [other options ...]
--.
--      exit(1);
--   } elsif ($] >= 5.040) {
--      print STDERR <<".";
--*************
--*** ERROR ***
--*************
--
--polymake has not been checkced for compatibility with perl 5.40 or newer;
--your perl interpreter says it is $].
--
--If you already have another (older) perl interpreter somewhere else, you can
--specify its location on the command line:
--
--./configure PERL=/path/to/my/new/perl [other options ...]
--
--You can install a custom perl version in your home directory using perlbrew
--(https://perlbrew.pl). Make sure to append '-Duseshrplib' to the install
--command if you want to use libpolymake (e.g. for the jupyter interface) and to
--install all required perl modules which are listed after running configure
--again with the new perl.
--.
--      exit(1);
--   }
--}
--
- use Config;
- use Cwd;
- use File::Path;
--- 
-2.46.0
-

diff --git a/sci-mathematics/polymake/polymake-4.12.ebuild 
b/sci-mathematics/polymake/polymake-4.13.ebuild
similarity index 98%
rename from sci-mathematics/polymake/polymake-4.12.ebuild
rename to sci-mathematics/polymake/polymake-4.13.ebuild
index 1022ff12e0cc..a58117a18828 100644
--- a/sci-mathematics/polymake/polymake-4.12.ebuild
+++ b/sci-mathematics/polymake/polymake-4.13.ebuild
@@ -46,15 +46,13 @@ DEPEND="
        singular? ( sci-mathematics/singular:= )"
 
 RDEPEND="${DEPEND}
-       dev-lang/perl
+       dev-lang/perl:=
        dev-perl/JSON
        dev-perl/Term-ReadLine-Gnu
        dev-perl/TermReadKey
        dev-perl/XML-SAX
        dev-perl/XML-Writer"
 
-PATCHES=( "${FILESDIR}/${P}-no-perl-constraints.patch" )
-
 src_configure() {
        # Without this, the build system tries to use "the highest possible"
        # optimization level and will override what's in your CXXFLAGS.

Reply via email to