summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2018-03-26 18:31:05 +1300
committerKent Fredric <kentnl@gentoo.org>2018-03-26 18:31:20 +1300
commitf897cbc6f89a75cd01e4d4d5d23386e0e9133c04 (patch)
tree945d09fbaad5b2dfe317a08db0ef64f94c261730 /dev-perl/XML-Feed
parentdev-perl/Net-LibIDN2-1.0.0: added ~mips, bug 639714 (diff)
downloadgentoo-f897cbc6f89a75cd01e4d4d5d23386e0e9133c04.tar.gz
gentoo-f897cbc6f89a75cd01e4d4d5d23386e0e9133c04.tar.bz2
gentoo-f897cbc6f89a75cd01e4d4d5d23386e0e9133c04.zip
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
Diffstat (limited to 'dev-perl/XML-Feed')
-rw-r--r--dev-perl/XML-Feed/XML-Feed-0.530.0-r1.ebuild42
-rw-r--r--dev-perl/XML-Feed/files/XML-Feed-0.53-dotinc.patch45
2 files changed, 87 insertions, 0 deletions
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 000000000000..88ddcf90ad91
--- /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 000000000000..d266be32b052
--- /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 <kentnl@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
+