commit:     f897cbc6f89a75cd01e4d4d5d23386e0e9133c04
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 26 05:31:05 2018 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Mon Mar 26 05:31:20 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f897cbc6

dev-perl/XML-Feed: Fix for '.' in @INC bug #623190

Bug: https://bugs.gentoo.org/623190
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-perl/XML-Feed/XML-Feed-0.530.0-r1.ebuild       | 42 ++++++++++++++++++++
 dev-perl/XML-Feed/files/XML-Feed-0.53-dotinc.patch | 45 ++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/dev-perl/XML-Feed/XML-Feed-0.530.0-r1.ebuild 
b/dev-perl/XML-Feed/XML-Feed-0.530.0-r1.ebuild
new file mode 100644
index 00000000000..88ddcf90ad9
--- /dev/null
+++ b/dev-perl/XML-Feed/XML-Feed-0.530.0-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=DAVECROSS
+DIST_VERSION=0.53
+DIST_EXAMPLES=("eg/*")
+inherit perl-module
+
+DESCRIPTION="Syndication feed parser and auto-discovery"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test minimal"
+
+RDEPEND="
+       !minimal? (
+               dev-perl/XML-RSS-LibXML
+       )
+       dev-perl/Class-ErrorHandler
+       dev-perl/Feed-Find
+       dev-perl/URI-Fetch
+       >=dev-perl/XML-RSS-1.470.0
+       >=dev-perl/XML-Atom-0.380.0
+       dev-perl/DateTime
+       dev-perl/DateTime-Format-Mail
+       dev-perl/DateTime-Format-W3CDTF
+       dev-perl/HTML-Parser
+       dev-perl/libwww-perl
+       dev-perl/Module-Pluggable
+       virtual/perl-Scalar-List-Utils
+       !<dev-perl/XML-LibXML-1.660.0
+"
+DEPEND="${RDEPEND}
+       dev-perl/Module-Build
+       test? (
+               virtual/perl-Test-Simple
+       )
+"
+PERL_RM_FILES=("t/pod.t" "t/pod-coverage.t")
+PATCHES=("${FILESDIR}/${PN}-0.53-dotinc.patch")

diff --git a/dev-perl/XML-Feed/files/XML-Feed-0.53-dotinc.patch 
b/dev-perl/XML-Feed/files/XML-Feed-0.53-dotinc.patch
new file mode 100644
index 00000000000..d266be32b05
--- /dev/null
+++ b/dev-perl/XML-Feed/files/XML-Feed-0.53-dotinc.patch
@@ -0,0 +1,45 @@
+From 43bd53272467a27526b46a2cd65748632898cc9f Mon Sep 17 00:00:00 2001
+From: Kent Fredric <ken...@gentoo.org>
+Date: Mon, 26 Mar 2018 18:26:22 +1300
+Subject: Fix test failures w/o '.' in @INC ( perl 5.26+ )
+
+Bug: https://bugs.gentoo.org/623190
+---
+ t/12-multi-categories-atom.t | 2 +-
+ t/12-multi-categories-rss.t  | 2 +-
+ t/12-multi-subjects-rss.t    | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/t/12-multi-categories-atom.t b/t/12-multi-categories-atom.t
+index 25b0ff9..15023d4 100644
+--- a/t/12-multi-categories-atom.t
++++ b/t/12-multi-categories-atom.t
+@@ -3,4 +3,4 @@
+ use strict;
+ use vars qw($type $field);
+ $type = "atom";
+-require 't/12-multi-categories.base';
++require './t/12-multi-categories.base';
+diff --git a/t/12-multi-categories-rss.t b/t/12-multi-categories-rss.t
+index c467d74..921029d 100644
+--- a/t/12-multi-categories-rss.t
++++ b/t/12-multi-categories-rss.t
+@@ -3,4 +3,4 @@
+ use strict;
+ use vars qw($type $field);
+ $type = "rss";
+-require 't/12-multi-categories.base';
++require './t/12-multi-categories.base';
+diff --git a/t/12-multi-subjects-rss.t b/t/12-multi-subjects-rss.t
+index c3cd317..0f0027c 100644
+--- a/t/12-multi-subjects-rss.t
++++ b/t/12-multi-subjects-rss.t
+@@ -3,4 +3,4 @@
+ use vars qw($type $field);
+ $type  = "rss";
+ $field = "subjects";
+-require 't/12-multi-categories.base';
++require './t/12-multi-categories.base';
+-- 
+2.16.2
+

Reply via email to