summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-10-26 11:33:29 +1300
committerKent Fredric <kentnl@gentoo.org>2017-10-26 11:34:06 +1300
commitb297e02ce5f9774bb7800c07b5f95a27de588c1b (patch)
treedb77d0c1c2f09f6ec743c2af869d826d88fb6812 /dev-perl/IO-Pager
parentgnome-base/dconf: bump to 0.26.1 (diff)
downloadgentoo-b297e02ce5f9774bb7800c07b5f95a27de588c1b.tar.gz
gentoo-b297e02ce5f9774bb7800c07b5f95a27de588c1b.tar.bz2
gentoo-b297e02ce5f9774bb7800c07b5f95a27de588c1b.zip
dev-perl/IO-Pager: Bump to version 0.390.0 re bug #616994
- Patched for '.' in @INC Upstream: - Packaging fixes - Partial '.' in @INC fixes - Fix uninitialized warnings Bug: https://bugs.gentoo.org/616994 Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-perl/IO-Pager')
-rw-r--r--dev-perl/IO-Pager/IO-Pager-0.390.0.ebuild30
-rw-r--r--dev-perl/IO-Pager/Manifest1
-rw-r--r--dev-perl/IO-Pager/files/IO-Pager-0.390.0-no-dot-inc.patch27
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-perl/IO-Pager/IO-Pager-0.390.0.ebuild b/dev-perl/IO-Pager/IO-Pager-0.390.0.ebuild
new file mode 100644
index 000000000000..d69218e446f7
--- /dev/null
+++ b/dev-perl/IO-Pager/IO-Pager-0.390.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_A_EXT=tgz
+DIST_AUTHOR=JPIERCE
+DIST_VERSION=0.39
+inherit perl-module
+
+DESCRIPTION="Select a pager, optionally pipe it output if destination is a TTY"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
+IUSE="test"
+
+RDEPEND="
+ virtual/perl-File-Spec
+ dev-perl/File-Which
+ virtual/perl-IO
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ virtual/perl-Exporter
+ virtual/perl-Test-Simple
+ virtual/perl-File-Temp
+ )
+"
+PATCHES=( "${FILESDIR}/${P}-no-dot-inc.patch" )
diff --git a/dev-perl/IO-Pager/Manifest b/dev-perl/IO-Pager/Manifest
index 8439e5dc885b..4361d16f248c 100644
--- a/dev-perl/IO-Pager/Manifest
+++ b/dev-perl/IO-Pager/Manifest
@@ -1 +1,2 @@
DIST IO-Pager-0.35.tgz 17298 SHA256 3aa529089be7a93014cd03ebf469271d6d333eae2d34e3bfd127826a38aa8d45 SHA512 adfb9e7d65941115f3d6376996c3c41682079a02346e1cddda0df2bfa93d46a0deeea42a0109697dd327e19ebf9ed869adc2827f0ea9acf28c69885afa6cd962 WHIRLPOOL 531ee9fc77d95bbe5df7c6ddddd52aed455446cc21ac3fbf419d971d01641bf19859e08560b5e7eb616ef87a528e565fae726d51e750be806900f02704ddbe74
+DIST IO-Pager-0.39.tgz 17552 SHA256 cfd1260e3e6de9aff3a47c51d027296c3d1eaa33d8447066f2ae7908386b544f SHA512 165e6c5e93cdcd463eda0a0f0f713790959a788220e29bc77bb10ff59f8e1083d1dc01fc059f150f8cfb4de1d16eef04813430072ea33d9dc6f4acbd3287ce67 WHIRLPOOL b6e32492c77116609a0c5b586400b499d61bab48062592f5e52b90581385b5b725e5db5edd1849c7c70b780f20911183e619743581ee61d8cf505eb9ee6e02cd
diff --git a/dev-perl/IO-Pager/files/IO-Pager-0.390.0-no-dot-inc.patch b/dev-perl/IO-Pager/files/IO-Pager-0.390.0-no-dot-inc.patch
new file mode 100644
index 000000000000..4434d1fef26b
--- /dev/null
+++ b/dev-perl/IO-Pager/files/IO-Pager-0.390.0-no-dot-inc.patch
@@ -0,0 +1,27 @@
+From a8628cb9690900f6bbf44b8cd509ab53d1c16c15 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Thu, 26 Oct 2017 11:27:10 +1300
+Subject: Fix tests failing without '.' in @INC
+
+Bug: https://rt.cpan.org/Ticket/Display.html?id=121450
+Bug: https://bugs.gentoo.org/616994
+---
+ t/11-redirect-oo.pl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/11-redirect-oo.pl b/t/11-redirect-oo.pl
+index 385d6d4..9203500 100644
+--- a/t/11-redirect-oo.pl
++++ b/t/11-redirect-oo.pl
+@@ -1,7 +1,7 @@
+ use blib;
+ use IO::Pager;
+
+-our $txt; require 't/08-redirect.pl';
++our $txt; require './t/08-redirect.pl';
+
+ my $FH = new IO::Pager;
+ $FH->print($txt);
+--
+2.14.3
+