summaryrefslogtreecommitdiff
path: root/dev-perl/PGPLOT
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-28 04:06:07 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-28 04:06:07 +0000
commitccf84bcd604130256d1377cd58f0a634ae6ee20f (patch)
treef42a709e0c7805183f5680883bc76dc935b7a0cc /dev-perl/PGPLOT
parentc85a90f90521c7e11d618b527d6630cc64cecbd4 (diff)
gentoo resync : 28.12.2017
Diffstat (limited to 'dev-perl/PGPLOT')
-rw-r--r--dev-perl/PGPLOT/Manifest3
-rw-r--r--dev-perl/PGPLOT/PGPLOT-2.210.0-r1.ebuild23
-rw-r--r--dev-perl/PGPLOT/files/PGPLOT-2.21-no-dot-inc.patch25
-rw-r--r--dev-perl/PGPLOT/files/PGPLOT-2.21-null-render.patch30
4 files changed, 81 insertions, 0 deletions
diff --git a/dev-perl/PGPLOT/Manifest b/dev-perl/PGPLOT/Manifest
index c787aa9632f8..70c96b1fa742 100644
--- a/dev-perl/PGPLOT/Manifest
+++ b/dev-perl/PGPLOT/Manifest
@@ -1,3 +1,6 @@
+AUX PGPLOT-2.21-no-dot-inc.patch 710 BLAKE2B 64c7f23572a36ece93b888b79137cff860dd9c99fa4a4083c76f0dddd3e8899b828bce52694f73a17e010540d2326b615867c7cc7d5597db0b2ccca79b8f3dad SHA512 d79a07d69df798ea2a9757fcaeeaa1a72eca3a9b4a9008cec9e1d9a55dde57f9e086b2edeb8b5b3ad6cd58a573d1f2b54e8f5c82ee9f586dea374be59c7260e9
+AUX PGPLOT-2.21-null-render.patch 902 BLAKE2B 02d829b8dbf63efc34fad217b79f999c37d2026adb63c4348b862b93c50d3caa9de5aed88749ad117c145b964b58c6b5a71051aaea1b8b7ff4abc10309d72eba SHA512 559942ddfd61af1d78fd4bab4a30f3d9e92a57bd050d9d416a7da223ae6e69035a8f0231f1cd89ccff058ed1bec17353e788211a21f93aa8ed0e1471f77089a6
DIST PGPLOT-2.21.tar.gz 53431 BLAKE2B 00000dc16a6040540732aadcaa9dc6df051e7d8837f2aba1bbd60844da5053da4ae858a6be9868c5c66bf47458e5c5d25c6dc854c010117ec23dd3ba3df8d80f SHA512 fefabbbf6e0c742f2e049fcb2669ce13ae54f95ccb49403b7a10ed50c36e5793d5b976ae68eafc87ab320a7eadaecead5379bae2e898cff12f0f9ffe10f2337b
+EBUILD PGPLOT-2.210.0-r1.ebuild 515 BLAKE2B 3422b75e724bbbdedd1329e84a0e3d49d4beed52d2ff28f9c958edb957a3437c72f0525be2388404b62b47ed97734d8e551d12a536bc8adf17188a91625fca1b SHA512 3ec5c2b6bb4b59958287671fabd3eb2c226623eac9769430131f14da7ac5e604442083b5124d24a5494f895469edacfa30c0dc6f7abfb633ed577cde9ddde994
EBUILD PGPLOT-2.210.0.ebuild 468 BLAKE2B 39a790152837cc13ab3ce413ef997617437c6997c757d449f290c532a2a2f6c6f41efdd17dd7a1a737d86d34bc7bd1e0fed57ee5d8200f1b7b32c6aefb829e94 SHA512 c98996442debf40d386e86b343a5c9be37eed4db80140cf9673ff6a8877c2ecf767ab123795ec15a1ae9537707b8b88ee4e2330b471253ffb8ba4a25d76891cc
MISC metadata.xml 383 BLAKE2B 174c5417e6277c88423fe3ee1f3481f821d0610cc6c4825581a5711598ee4d41a3897c0bdec53db15b34ab8778d2201f0733b22bb4e45ed1893fcc82f4c04655 SHA512 460671b580b324b5bac3be34a4e05aa033af28a9c7a0015763c5bd34fd4a3798a7dfbc7a8267b76a83604446effe70df4298a3947de5c6277f8b7169be647ff9
diff --git a/dev-perl/PGPLOT/PGPLOT-2.210.0-r1.ebuild b/dev-perl/PGPLOT/PGPLOT-2.210.0-r1.ebuild
new file mode 100644
index 000000000000..482486e167ff
--- /dev/null
+++ b/dev-perl/PGPLOT/PGPLOT-2.210.0-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=KGB
+DIST_VERSION=2.21
+inherit perl-module
+
+DESCRIPTION="allow subroutines in the PGPLOT graphics library to be called from Perl"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="sci-libs/pgplot
+ >=dev-perl/ExtUtils-F77-1.13"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.21-no-dot-inc.patch"
+ "${FILESDIR}/${PN}-2.21-null-render.patch"
+)
diff --git a/dev-perl/PGPLOT/files/PGPLOT-2.21-no-dot-inc.patch b/dev-perl/PGPLOT/files/PGPLOT-2.21-no-dot-inc.patch
new file mode 100644
index 000000000000..b05067deeee5
--- /dev/null
+++ b/dev-perl/PGPLOT/files/PGPLOT-2.21-no-dot-inc.patch
@@ -0,0 +1,25 @@
+From 6d7ee026a19e889cbadbdaf9134588edf52e22c2 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Wed, 27 Dec 2017 13:23:26 +1300
+Subject: Fix test skips without '.' in @INC on Perl 5.25.7+
+
+---
+ test.pl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test.pl b/test.pl
+index d9a787c..d1b75ca 100755
+--- a/test.pl
++++ b/test.pl
+@@ -35,7 +35,7 @@ foreach $jjj (1..12) {
+
+ print "============== Running test$jjj.p ==============\n";
+ %@ = (); # Clear error status
+- do "test$jjj.p";
++ do "./test$jjj.p";
+ warn $@ if $@; # Report any error detected
+ if($dev eq '/PNG' && $^O =~ /mswin32/i) {
+ system("ren pgplot.png pgplot_$jjj.png");
+--
+2.15.1
+
diff --git a/dev-perl/PGPLOT/files/PGPLOT-2.21-null-render.patch b/dev-perl/PGPLOT/files/PGPLOT-2.21-null-render.patch
new file mode 100644
index 000000000000..b5db1d53cf8a
--- /dev/null
+++ b/dev-perl/PGPLOT/files/PGPLOT-2.21-null-render.patch
@@ -0,0 +1,30 @@
+From 39201312abf108ad5af4ff304484379154a237f1 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Wed, 27 Dec 2017 13:32:01 +1300
+Subject: Use NULL render device
+
+This absolves us from needing X11 for testing, while allowing
+explitly testing via X11 possible, including interactively if need be
+---
+ test.pl | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/test.pl b/test.pl
+index d1b75ca..95f7c25 100755
+--- a/test.pl
++++ b/test.pl
+@@ -22,9 +22,9 @@ else {$note = ''}
+ if ($ENV{'PGPLOT_DEV'}) {
+ $dev = $ENV{'PGPLOT_DEV'};
+ } else {
+-print "Default Device for plot tests [recommend /XSERVE] ? $note ";
++print "Default Device for plot tests [recommend /NULL] ? $note ";
+ $dev = <STDIN>; chomp $dev;
+-$dev = "/XSERVE" unless $dev=~/\w/;
++$dev = "/NULL" unless $dev=~/\w/;
+ }
+
+ if($dev eq '/PNG' && $^O =~ /mswin32/i) {system "del /F /Q *.png"};
+--
+2.15.1
+