summaryrefslogtreecommitdiff
path: root/dev-perl/XML-Atom
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-27 22:40:05 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-03-27 22:40:05 +0100
commit8c364c784966be1700ea39ae45028f3e9be9cae0 (patch)
treec1971211069b79e3831b71accd52a67a9fdc77a3 /dev-perl/XML-Atom
parent6bd95d1f6320b8666a31ec949183aaa3088aa16f (diff)
gentoo resync : 27.03.2018
Diffstat (limited to 'dev-perl/XML-Atom')
-rw-r--r--dev-perl/XML-Atom/Manifest4
-rw-r--r--dev-perl/XML-Atom/XML-Atom-0.420.0.ebuild39
-rw-r--r--dev-perl/XML-Atom/files/XML-Atom-0.42-dotinc.patch27
-rw-r--r--dev-perl/XML-Atom/files/XML-Atom-0.42-testxxe.patch28
4 files changed, 98 insertions, 0 deletions
diff --git a/dev-perl/XML-Atom/Manifest b/dev-perl/XML-Atom/Manifest
index 8b8601aced90..e732ee846870 100644
--- a/dev-perl/XML-Atom/Manifest
+++ b/dev-perl/XML-Atom/Manifest
@@ -1,3 +1,7 @@
+AUX XML-Atom-0.42-dotinc.patch 656 BLAKE2B 419724257df6db1c04022597c50613b55cf628220bcd58c62557db5989af34a5ab4fa75de9333356cde9f7645da82067727aba6d2d712428a89083897cee0c66 SHA512 1df24cde71ae4f66a7d5932da202ba780bf5cd7f9f591324b7647d60870ded0b97310e528c8bd7cc0356698555a9f2efd587a89f3b218ffbf32e40c9324cd3f0
+AUX XML-Atom-0.42-testxxe.patch 937 BLAKE2B e4288229a16f078d6b64db40ba16a244dc9e6c3e37bd15c6afcf8614f3d21b3bf8d938ea5f76b16852976c71ddea48204a2b94e1fc32058a9886b262e40808d4 SHA512 a6d5a7a57a65bd474d7943395ac56514cd5dada68d0fb8277a8953de57f94b4fd5bfaebc7848c7829838c0054f9346c3f475731661a929f4e01045e8362eac75
DIST XML-Atom-0.41.tar.gz 67309 BLAKE2B c8c61dcdf1cc1a73d366fb11e54b5f78452d7ad71ad5b406f61ba17fb175e6fbb536709e12e35d514df186ac3ae3feabe93b5f2b74aa711fc1a728eaf0505392 SHA512 a26f54044ec64da309cdeca718aa74b9114818b78fc74171f0e5d8393032d0af390df2b155500bf85f51586942c694261ad134bedfc9434369ce9d974fa77aa0
+DIST XML-Atom-0.42.tar.gz 59629 BLAKE2B b28fa62523855f95b4dbcd0ba6b4805c326e78b1a6765f927c1318f53fc9ba14c43b2f539f80c89b90431923dcc699f644bc7a8d2fd593560d2a9b5bc7528b11 SHA512 5f28b3daa01e9c709c4e07935e7bd301ae368d51d19b48fbbcf46bfa96d460f1b40806e4032a83e1eacd7c6ab397175d33cdaa5fc9792081a3bbe228798889d7
EBUILD XML-Atom-0.410.0-r1.ebuild 746 BLAKE2B 612e17080eaac90bcbfd82ffb5630ad337aadab7ec9a89741b6909b7950c930ed31f5c437988c844007b4eca114f531ce52a3cb1dc194a3a28379d5dff762922 SHA512 d90f623adbe34065236662403a4576bcb7166e8c2a4afdb43e2a937cf256a76d9845b56bcd2d96c1afe9e94449ad8c9b355e9f91f003b8d1fdcf189d0a532778
+EBUILD XML-Atom-0.420.0.ebuild 775 BLAKE2B b6940e22c160f5c1f177b05c6bf660c1f61a94506b2b2c61fa1a19ba51eda6b69191f9650c52d6a296ff434dabee37201d17a01e3af8d1a18292c40c2720f721 SHA512 6109161c85b6acaa92cd0439becd423fda86641f10dd7423da5203d1a88ad4ee25ca47ff6d935437fd10b7bfcfbe1772da583cbb87a10be0867c1feb43138ed6
MISC metadata.xml 1295 BLAKE2B ebb6f5c3893235ef82c9d47af2e4e30d37cd919f15f2178eb8a9eceddea5c45f27fa65aac403066a6ec6538bcf504f37d2399641d1bb7c401e90075747be120a SHA512 5751e42df503744b460b5f4ada9451a40893e5110893c8ac4241591f0ccffbf6017b9f77f96e1d285bee2fe3700a6fb0014efaeff96b1870464fab7b9bf823f8
diff --git a/dev-perl/XML-Atom/XML-Atom-0.420.0.ebuild b/dev-perl/XML-Atom/XML-Atom-0.420.0.ebuild
new file mode 100644
index 000000000000..653ba03ffeaa
--- /dev/null
+++ b/dev-perl/XML-Atom/XML-Atom-0.420.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=MIYAGAWA
+DIST_VERSION=0.42
+inherit perl-module
+
+DESCRIPTION="Atom feed and API implementation"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-perl/libwww-perl
+ dev-perl/URI
+ dev-perl/Class-Data-Inheritable
+ >=dev-perl/XML-LibXML-1.690.0
+ dev-perl/XML-XPath
+ dev-perl/DateTime
+ dev-perl/DateTime-TimeZone
+ dev-perl/Digest-SHA1
+ dev-perl/HTML-Parser
+ dev-perl/LWP-Authen-Wsse
+ virtual/perl-MIME-Base64
+"
+DEPEND="${RDEPEND}
+ >=dev-perl/Module-Build-Tiny-0.34.0
+ >=virtual/perl-ExtUtils-MakeMaker-6.590.0
+"
+PERL_RM_FILES=(
+ "t/author-pod-syntax.t"
+)
+PATCHES=(
+ "${FILESDIR}/${PN}-0.42-dotinc.patch"
+ "${FILESDIR}/${PN}-0.42-testxxe.patch"
+)
diff --git a/dev-perl/XML-Atom/files/XML-Atom-0.42-dotinc.patch b/dev-perl/XML-Atom/files/XML-Atom-0.42-dotinc.patch
new file mode 100644
index 000000000000..c067fb6e0015
--- /dev/null
+++ b/dev-perl/XML-Atom/files/XML-Atom-0.42-dotinc.patch
@@ -0,0 +1,27 @@
+From d2c045a8ca0d0ca147b04bc9e7c70b27db8cc4e1 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Mon, 26 Mar 2018 23:28:08 +1300
+Subject: Fix tests failing without '.' in @INC
+
+Bug: https://github.com/miyagawa/xml-atom/issues/12
+Bug: https://github.com/miyagawa/xml-atom/pull/14
+---
+ t/11-entry.t | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/11-entry.t b/t/11-entry.t
+index bbcb107..5955e97 100644
+--- a/t/11-entry.t
++++ b/t/11-entry.t
+@@ -2,7 +2,7 @@
+
+ use strict;
+
+-use t::TestLib;
++BEGIN { require './t/TestLib.pm'; t::TestLib->import() }
+ use Test::More;
+ use XML::Atom;
+ use XML::Atom::Entry;
+--
+2.16.2
+
diff --git a/dev-perl/XML-Atom/files/XML-Atom-0.42-testxxe.patch b/dev-perl/XML-Atom/files/XML-Atom-0.42-testxxe.patch
new file mode 100644
index 000000000000..a61fdb990049
--- /dev/null
+++ b/dev-perl/XML-Atom/files/XML-Atom-0.42-testxxe.patch
@@ -0,0 +1,28 @@
+From 919852dce98ce60abf494edfbe3c57d7a08545e4 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Mon, 26 Mar 2018 23:37:10 +1300
+Subject: Force setting exapnd-external-entities on libxml for this test
+
+Gentoo defaults expand-external-entities to off, which naturally breaks
+this test which explicitly uses external entities.
+
+Bug: https://bugs.gentoo.org/623678
+---
+ t/31-external-entities-libxml.t | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/t/31-external-entities-libxml.t b/t/31-external-entities-libxml.t
+index 71f6eb9..8c9df11 100644
+--- a/t/31-external-entities-libxml.t
++++ b/t/31-external-entities-libxml.t
+@@ -51,6 +51,7 @@ EOX
+ ## custom parser
+ {
+ my $libxml = XML::LibXML->new;
++ $libxml->expand_entities(1);
+ my $entry = XML::Atom::Entry->new(Stream => \$xml, Parser => $libxml);
+ is $entry->title, "Guest Author", "got title";
+ my $content = $entry->content->body;
+--
+2.16.2
+