summaryrefslogtreecommitdiff
path: root/dev-perl/Math-Pari
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
commit1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch)
treee48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-perl/Math-Pari
parentd87262dd706fec50cd150aab3e93883b6337466d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Math-Pari')
-rw-r--r--dev-perl/Math-Pari/Manifest7
-rw-r--r--dev-perl/Math-Pari/Math-Pari-2.10.809.0-r1.ebuild66
-rw-r--r--dev-perl/Math-Pari/files/Math-Pari-2.10.809.0-no-dot-inc.patch31
-rw-r--r--dev-perl/Math-Pari/files/no-flto.patch74
-rw-r--r--dev-perl/Math-Pari/files/pari-2.3.5-no-dot-inc.patch61
-rw-r--r--dev-perl/Math-Pari/metadata.xml14
6 files changed, 0 insertions, 253 deletions
diff --git a/dev-perl/Math-Pari/Manifest b/dev-perl/Math-Pari/Manifest
deleted file mode 100644
index bcf09b395115..000000000000
--- a/dev-perl/Math-Pari/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX Math-Pari-2.10.809.0-no-dot-inc.patch 1012 BLAKE2B 656037748466f93042878f7ac09cb9317f9b580fb57f08ef905f7d495c314b430ac17e3276f6212178b6b7bf6462e1b36efee6200db6ecfeb2754a5697f36f3d SHA512 6446ed3d58a522cb083c0b463e2f047295b43717bbcf2e8a0b59c9a11503f6ede09059798c1caf4816cade812c83dfa4ce1c83e1fbeb4c1ae19b754f70da52f7
-AUX no-flto.patch 2946 BLAKE2B 69bcf98f178b22a333664de6c46d0b69b3f531e9b188b1268fb5fd438e477df97abe652be4698f0257377d10bc42c7216209afcb48c470644ce6f75dce32cbf9 SHA512 610cfaef1f9d9117872fb4275626ab0263754dc2d3688f198291b4fe625bae1b7ffa1c42f644d7a37bce294fd3a31d8be2306d55613b7831d22aa1d84d31ff73
-AUX pari-2.3.5-no-dot-inc.patch 1594 BLAKE2B 5757108b0f94cfc94e9f386507120f8a1b9d3ba21a7515ac181561934c1b189d556b9c3f7aff19d17962a57f72571097195071e291f626da3a85d57772c8bd9e SHA512 4f3e7757c5fa564ea05b843e74118086fb22d8602bf29964aa3be886263941434bc1b7121805c5efafb64c208c2fe181da4831c6d662bda8d1a04cd5d9704605
-DIST Math-Pari-2.01080900.zip 166396 BLAKE2B e4327d817cadc752e3471df873b1a4f2fe90efc18a9cbf195c6aa394f470fde9c1c32449b8e5237b5ee362ca0497e7295dc9c8dea7f41de8da17518a0573a768 SHA512 844324472632081e16d8c70e2f3b14a04cc125dc65ac1e4e75b495f7b83393cadc637c6b81d2e6657380b153a6d91eba4a437087481ffbd4c6c58c5da0e4d05b
-DIST pari-2.3.5.tar.gz 2018097 BLAKE2B b5f4f8bc83cd77aceab791263e1a2f0294d0663d354fea454bad8cac3cdbac9c4c8381cc83bc947d518522701c36e94ce1d6862125a9bfd3b17b1a31c9baabc8 SHA512 0e49e6310b4c76ef3370786a13aa8cbc5bb0b7dc84ec1665866d623e6284f45db8584eea759e8b5954dc9b5c8a3e866e77a377d18073ed33f11708a7e88a4cca
-EBUILD Math-Pari-2.10.809.0-r1.ebuild 1956 BLAKE2B 28017eda2f426f7fff0695b751ff8dfbe2bacbe145aac02395b840b0184fff5a33a13b492006cb2594c2b31f44b0f0220b26871948193b5ee8f36bc4663ad3a1 SHA512 62fa7278d91353c1a1135e2fd895c61faba496b3442da40a1bad7c00ac5220b8ab0e2197bf3858757e0c0c08bb7ec674a6d8fc5622c49ef6e3975c97deebb610
-MISC metadata.xml 514 BLAKE2B 429f8360f1c85f0fda466bc9f8fd755eba4a22edb80c50d031319170cb57b77ffa9374a2e627a7dd188b103ca173c0e796852e5dc855d5a3c0b46cbc13807225 SHA512 b7649f8e65c708073587e21b0b8fc172e26a0c068857ff1a834952d2ab07f228a4de01f54073b321f0eaa4f8bffb3836057a396d2549f5ff63a8684c68eb6330
diff --git a/dev-perl/Math-Pari/Math-Pari-2.10.809.0-r1.ebuild b/dev-perl/Math-Pari/Math-Pari-2.10.809.0-r1.ebuild
deleted file mode 100644
index 7747e9b28339..000000000000
--- a/dev-perl/Math-Pari/Math-Pari-2.10.809.0-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_AUTHOR=ILYAZ
-DIST_SECTION=modules
-DIST_VERSION=2.01080900
-DIST_A_EXT=zip
-inherit perl-module toolchain-funcs
-
-PARI_VER=2.3.5
-
-DESCRIPTION="Perl interface to PARI"
-SRC_URI="${SRC_URI}
- http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-${PARI_VER}.tar.gz"
-
-SLOT="0"
-KEYWORDS="alpha amd64 hppa sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
-IUSE=""
-
-# Math::Pari requires that a copy of the pari source in a parallel
-# directory to where you build it. It does not need to compile it, but
-# it does need to be the same version as is installed, hence the hard
-# DEPEND below
-DEPEND="app-arch/unzip"
-
-S_PARI=${WORKDIR}/pari-${PARI_VER}
-
-PATCHES=(
- "${FILESDIR}/no-flto.patch"
- "${FILESDIR}/${P}-no-dot-inc.patch"
-)
-src_prepare() {
- # On 64-bit hardware, these files are needed in both the 64/ and 32/
- # directories for the testsuite to pass.
- cd "${S_PARI}"/src/test/
- for t in analyz compat ellglobalred elliptic galois graph intnum kernel \
- linear nfields number objets ploth polyser program qfbsolve rfrac \
- round4 stark sumiter trans ; do
- i="in/${t}"
- o32="32/${t}"
- o64="64/${t}"
- [ -f "$i" -a ! -f "$o32" ] && cp -al "$i" "$o32"
- [ -f "$i" -a ! -f "$o64" ] && cp -al "$i" "$o64"
- done
- cd "${S_PARI}"
- eapply "${FILESDIR}/pari-${PARI_VER}-no-dot-inc.patch"
- cd "${S}"
- perl-module_src_prepare
-}
-
-src_configure() {
- # Unfortunately the assembly routines math-pari has for SPARC do not appear
- # to be working at current. Perl cannot test math-pari or anything that
- # pulls in the math-pari module as DynaLoader cannot load the resulting
- # .so files math-pari generates. As such, we have to use the generic
- # non-machine specific assembly methods here.
- use sparc && myconf="${myconf} machine=none"
-
- perl-module_src_configure
-}
-
-src_compile() {
- emake AR="$(tc-getAR)" OTHERLDFLAGS="${LDFLAGS}"
-}
diff --git a/dev-perl/Math-Pari/files/Math-Pari-2.10.809.0-no-dot-inc.patch b/dev-perl/Math-Pari/files/Math-Pari-2.10.809.0-no-dot-inc.patch
deleted file mode 100644
index 95ebcf9d18f0..000000000000
--- a/dev-perl/Math-Pari/files/Math-Pari-2.10.809.0-no-dot-inc.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 712cff175abfbf95428ed09a875a15f4047ce105 Mon Sep 17 00:00:00 2001
-From: Kent Fredric <kentfredric@gmail.com>
-Date: Sun, 11 Jun 2017 13:22:46 +1200
-Subject: [PATCH] Fix "do" to forcibly use a relative path on Perl 5.26
-
-Reliance on "." in @INC was previously how this worked. But that
-becomes broken on Perl 5.26
-
-Resolves RT#120711 ( Well, at least the Math-Pari parts, the pari
- parts themselves need additional fixing, and that's not viable
- to really perform in Math::Pari )
-
-Bug: https://rt.cpan.org/Ticket/Display.html?id=120711
----
- test_eng/ex.t | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/test_eng/ex.t b/test_eng/ex.t
-index a1a2286..0ad57ee 100644
---- a/test_eng/ex.t
-+++ b/test_eng/ex.t
-@@ -10,5 +10,5 @@ $dir1 = "CHANGE_ME";
- $dir1 = "$dir/../$dir1" unless $dir1 =~ m|^([a-z]:)?[\\/]|i;
- @ARGV = "$dir1/src/test/$long_bits/$name";
- @ARGV = "$dir1/src/test/32/$name" unless -r $ARGV[0];
--do 'test_eng/Testout.pm';
-+do './test_eng/Testout.pm';
- die if $@;
---
-2.13.1
-
diff --git a/dev-perl/Math-Pari/files/no-flto.patch b/dev-perl/Math-Pari/files/no-flto.patch
deleted file mode 100644
index d3902ac5d470..000000000000
--- a/dev-perl/Math-Pari/files/no-flto.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From c169041dfa888ec3815aa5bacc97bcc0f21dc318 Mon Sep 17 00:00:00 2001
-From: Kent Fredric <kentfredric@gmail.com>
-Date: Sun, 11 Jun 2017 13:05:59 +1200
-Subject: [PATCH] Disable -flto as it breaks compile.
-
-LTO seems to be bad for static/shared libraries or something.
-
-Turning it off until somebody works out how to make it not cause
-a compile failure, on top of all the crap Pari does.
----
- Makefile.PL | 17 ++++++++++++-----
- 1 file changed, 12 insertions(+), 5 deletions(-)
-
-diff --git a/Makefile.PL b/Makefile.PL
-index f3025bd..c32eb6a 100644
---- a/Makefile.PL
-+++ b/Makefile.PL
-@@ -42,18 +42,23 @@ Could not find GP/PARI build directory, please run Makefile.PL
- with paridir=/directory option.
- EOD
-
-+my $optimize = $Config{optimize};
-+my $ldflags = $Config{ldflags};
-+
-+s/(^|\s)-flto(\s|$)/$1$2/ for $optimize, $ldflags;
-+
- my $gcc_version
- = defined($Config{gccversion}) ? ", gccversion=$Config{gccversion}" : "";
- print <<EOP;
- Setting up Math::Pari with Perl $] on $^O version $Config{osvers};
- cc=$Config{cc}$gcc_version, cccdlflags='$Config{cccdlflags}',
- ccflags='$Config{ccflags}',
-- optimize='$Config{optimize}',
-- ld=$Config{ld}, ldflags='$Config{ldflags}'.
-+ optimize='$optimize',
-+ ld=$Config{ld}, ldflags='$ldflags'.
- EOP
-
- if ($^O eq 'solaris' and $Config{cc} eq 'gcc'
-- and ( $Config{optimize} =~ s/(?<!\S)(-xarch=386|-xildoff)(?!\S)//g
-+ and ( $optimize =~ s/(?<!\S)(-xarch=386|-xildoff)(?!\S)//g
- or $Config{cccdlflags} =~ s/(?<!\S)-KPIC(?!\S)/-fPIC/ )) {
- # Vendor's Perl has major problems with building extensions; try to fix this
- # One way is to use perlgcc; but it does not work with 5.8.4
-@@ -61,7 +66,7 @@ if ($^O eq 'solaris' and $Config{cc} eq 'gcc'
- print <<EOP;
-
- ... Broken config of gcc-on-Solaris detected! I would try to work around this.
--... Reset: cccdlflags --> '$Config{cccdlflags}', optimize -> '$Config{optimize}'.
-+... Reset: cccdlflags --> '$Config{cccdlflags}', optimize -> '$optimize'.
-
- EOP
- }
-@@ -181,7 +186,7 @@ $define .= ' -DLONG_SHORTER_THAN_IV' if $perl_int_size > $longsize;
-
- $define .= ' -Derr=pari_err'; # On linux it can get a wrong dynamic loading
- $define .= ' -DHAVE_LADD' if $opts{have_ladd};
--$define .= ' -DGCC_INLINE' if $Config{gccversion} and not $Config{optimize} =~ /-g\b/;
-+$define .= ' -DGCC_INLINE' if $Config{gccversion} and not $optimize =~ /-g\b/;
- $define .= ' -DHAVE_PARIPRIV' if -f "$paridir/src/headers/paripriv.h";
- #$define .= ' -DNO_GRAPHICS_PARI' unless -f "$paridir/src/graph/plotgnuplot.c";
-
-@@ -200,6 +205,8 @@ my $extra_inc = extra_includes($paridir);
- &WriteMakefile(
- LIBS => $libs,
- INC => $extra_inc . ' -I $(PARI_DIR)/src/headers -I $(PARI_DIR)/src -I ./libPARI',
-+ OPTIMIZE => $optimize,
-+ LDFLAGS => $ldflags,
- NAME => 'Math::Pari',
- ($common::parilib ? () :
- (MYEXTLIB => 'libPARI/libPARI$(LIB_EXT)')),
---
-2.13.1
-
diff --git a/dev-perl/Math-Pari/files/pari-2.3.5-no-dot-inc.patch b/dev-perl/Math-Pari/files/pari-2.3.5-no-dot-inc.patch
deleted file mode 100644
index cd34851a30fb..000000000000
--- a/dev-perl/Math-Pari/files/pari-2.3.5-no-dot-inc.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 4f1e00df5ea1e51042146f6277bb1af02f249cc3 Mon Sep 17 00:00:00 2001
-From: Kent Fredric <kentfredric@gmail.com>
-Date: Sun, 11 Jun 2017 10:31:03 +1200
-Subject: [PATCH] Fix for 5.26 removal of '.' in @INC
-
-Previous scripts assumed CWD was in @INC and that "PARI::822" was in
-wherever CWD was.
-
-This fixes both of those, and the latter, because its not obvious
-from the build system where one should assume CWD to be.
-
-Instead, the absolute path of the directory of these scripts is
-inserted into @INC
----
- src/desc/gen_member | 4 ++++
- src/desc/gen_proto | 4 ++++
- src/desc/merge_822 | 4 ++++
- 3 files changed, 12 insertions(+)
-
-diff --git a/src/desc/gen_member b/src/desc/gen_member
-index 2f3cf52..66dea2b 100755
---- a/src/desc/gen_member
-+++ b/src/desc/gen_member
-@@ -1,4 +1,8 @@
- #!/usr/bin/perl -w
-+use File::Spec;
-+use File::Basename qw( dirname );
-+use lib dirname(File::Spec->rel2abs(__FILE__));
-+
- use PARI::822;
-
- $class='member_functions';
-diff --git a/src/desc/gen_proto b/src/desc/gen_proto
-index 1b507fa..2fb4d3f 100755
---- a/src/desc/gen_proto
-+++ b/src/desc/gen_proto
-@@ -1,4 +1,8 @@
- #!/usr/bin/perl -w
-+use File::Spec;
-+use File::Basename qw( dirname );
-+use lib dirname(File::Spec->rel2abs(__FILE__));
-+
- use PARI::822;
-
- $class=$ARGV[0];
-diff --git a/src/desc/merge_822 b/src/desc/merge_822
-index a02d612..9ca8252 100755
---- a/src/desc/merge_822
-+++ b/src/desc/merge_822
-@@ -1,4 +1,8 @@
- #!/usr/bin/perl -w
-+use File::Spec;
-+use File::Basename qw( dirname );
-+use lib dirname(File::Spec->rel2abs(__FILE__));
-+
- use PARI::822;
-
- PARI::822::read(\%funcs,$_,1)
---
-2.13.1
-
diff --git a/dev-perl/Math-Pari/metadata.xml b/dev-perl/Math-Pari/metadata.xml
deleted file mode 100644
index afdf727c2989..000000000000
--- a/dev-perl/Math-Pari/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>perl@gentoo.org</email>
- <name>Gentoo Perl Project</name>
- </maintainer>
- <upstream>
- <remote-id type="cpan">Math-Pari</remote-id>
- <remote-id type="cpan-module">Math::Pari</remote-id>
- <remote-id type="cpan-module">Math::Pari::Arr</remote-id>
- <remote-id type="cpan-module">Math::PariBuild</remote-id>
- </upstream>
-</pkgmetadata>