summaryrefslogtreecommitdiff
path: root/dev-perl/XML-Simple
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/XML-Simple')
-rw-r--r--dev-perl/XML-Simple/Manifest8
-rw-r--r--dev-perl/XML-Simple/XML-Simple-2.200.0-r1.ebuild23
-rw-r--r--dev-perl/XML-Simple/XML-Simple-2.220.0.ebuild25
-rw-r--r--dev-perl/XML-Simple/XML-Simple-2.250.0.ebuild27
-rw-r--r--dev-perl/XML-Simple/files/XML-Simple-2.25-saxtests.patch45
-rw-r--r--dev-perl/XML-Simple/metadata.xml12
6 files changed, 140 insertions, 0 deletions
diff --git a/dev-perl/XML-Simple/Manifest b/dev-perl/XML-Simple/Manifest
new file mode 100644
index 000000000000..4ace82879acc
--- /dev/null
+++ b/dev-perl/XML-Simple/Manifest
@@ -0,0 +1,8 @@
+AUX XML-Simple-2.25-saxtests.patch 1036 BLAKE2B 0ac3af81a5fa31b666dbf5ad6d71b19d82694c7771f4a387b08b0a084b5720dbf6b994dcb4afcc0cca64249f25bfe1245f29e1fd101e4cd6f83a10f48e9d24c6 SHA512 f7efbf0ee8022f38fe7366c998482e6653acb729ad181c0bdb9922a475d9d30105f888ae4f636b58105a5bdd0f37ac83c4661945bbecba6e3bf3c9cf2b39fc94
+DIST XML-Simple-2.20.tar.gz 75993 BLAKE2B 59edf0397247ff25f940c470263c87f7b49bae1806395b52a2399a3caca9d54485b9fb84c45065d4066315404722608bb176918a0f8e628108d903128d4d8294 SHA512 f953a0b9082c509c4616b92529da94a289b1e0300b18a5b88c08d0826bb4fd18e51f1e3854e6f870ef3cfb506366c0b47b9dd302433b63270a18b45f068d4658
+DIST XML-Simple-2.22.tar.gz 77937 BLAKE2B aaaaccc9035584f468767e7408718e76821012173cefda53eb8b8cc7280ef11794c3443367ef1a2b1d84b98eeefc15394a7b231f856e3a2a412e094d20bb81a8 SHA512 b5e5d36726b8a0efcf7200522d802a7f733c883526db2dba64ce23bf7e044d20d9186fac3bb2f2940807a30f746301f690129c4c542341c8a57a735471b5f4d7
+DIST XML-Simple-2.25.tar.gz 78443 BLAKE2B 6b990c0095fd573ce92db8ca4fbeaf259b33817992bbc0f465dcf1df1f77b56d5229b94a062a59178676500f7445ddf824a8e0d05b21df9ce1a5491d328eee48 SHA512 0f1a6a1bdb8f6ac6fa4deef33d09930eb4758b4a3ed4431624004ffa2b1eb02f0d6ce14cb4942162cb76f7aa39fea4ec6a71e1eb9ebd464b710db7024bdd990c
+EBUILD XML-Simple-2.200.0-r1.ebuild 640 BLAKE2B 4eb669df5de86ad743aa367679ca472bf2cde02ff37b56c37d871db9c8353e05fad727113a69936542c4b0becbf9c5d45106de0a911167d7b2841e575618c71c SHA512 59d2b59fad7b7a920215abf46c3b4087cb5f350a5f752654e5b9425f6e088ffef89cef2a5c84d1adcbd49e19098e40608cd7014fa01f2b57af4145864d5edc10
+EBUILD XML-Simple-2.220.0.ebuild 631 BLAKE2B 7c969c939654ab725e59362d02e3c0ece5452b09ca8db49dcd64c250ea9fcb3f7070d2d07a3def5603b4ada05157bd45db2541f7f355c7b1c81d8c922cae9695 SHA512 4749b56a03084042a6aae938a5d7f697ae3e1669527ada363266be048e8df2037999f7eee7b39735d110102b77324d5ad4ee4dd9adcc2892d0d0d94eef32329a
+EBUILD XML-Simple-2.250.0.ebuild 729 BLAKE2B eaa58c3ad12667f7ddfbc405847a4c20e11484243db52b8c80d7683f63029fb95bc04fb718e894c0a0b54531f86ea78f4b04f8e74713ad2c68eca29365993c66 SHA512 78cd153c515dce50c4a3e88bce7ebdcad18f44daf3d9ae4b88f5ae2fa5f167ca09030147e7ca2df46ec3f4dcad3444c230ddd43ad80b8474d8f619038151fa88
+MISC metadata.xml 392 BLAKE2B 82cfdc5651e3ddf3cad0999d49e4779d495e9eb8d9075b576b20a2cb65e7177faa71208a0a3a1d489b435a032f1c82884eef6df6ebbb5358dd61a1b128c20ce2 SHA512 a78d9648fb2badc04c24c32bb62d0f03d81cd2a8404fbe1195eadd42ddba090035fe577bb15527982b7987ac91782794ed315afaf12dec121e3b3e5c29dbf9cf
diff --git a/dev-perl/XML-Simple/XML-Simple-2.200.0-r1.ebuild b/dev-perl/XML-Simple/XML-Simple-2.200.0-r1.ebuild
new file mode 100644
index 000000000000..0829e9dfefd4
--- /dev/null
+++ b/dev-perl/XML-Simple/XML-Simple-2.200.0-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MODULE_AUTHOR=GRANTM
+MODULE_VERSION=2.20
+inherit perl-module
+
+DESCRIPTION="XML::Simple - Easy API to read/write XML (esp config files)"
+
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="virtual/perl-Storable
+ dev-perl/XML-SAX
+ dev-perl/XML-LibXML
+ >=dev-perl/XML-NamespaceSupport-1.04
+ >=dev-perl/XML-Parser-2.30"
+DEPEND="${RDEPEND}"
+
+SRC_TEST="do"
diff --git a/dev-perl/XML-Simple/XML-Simple-2.220.0.ebuild b/dev-perl/XML-Simple/XML-Simple-2.220.0.ebuild
new file mode 100644
index 000000000000..87d49e9002df
--- /dev/null
+++ b/dev-perl/XML-Simple/XML-Simple-2.220.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=GRANTM
+DIST_VERSION=2.22
+inherit perl-module
+
+DESCRIPTION="An API for simple XML files"
+
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="test"
+
+RDEPEND="
+ virtual/perl-Storable
+ >=dev-perl/XML-NamespaceSupport-1.40.0
+ >=dev-perl/XML-SAX-0.150.0
+ dev-perl/XML-SAX-Expat
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? ( >=virtual/perl-Test-Simple-0.880.0 )
+"
diff --git a/dev-perl/XML-Simple/XML-Simple-2.250.0.ebuild b/dev-perl/XML-Simple/XML-Simple-2.250.0.ebuild
new file mode 100644
index 000000000000..cde27eba0783
--- /dev/null
+++ b/dev-perl/XML-Simple/XML-Simple-2.250.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=GRANTM
+DIST_VERSION=2.25
+inherit perl-module
+
+DESCRIPTION="An API for simple XML files"
+
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="test"
+
+RDEPEND="
+ virtual/perl-Storable
+ >=dev-perl/XML-NamespaceSupport-1.40.0
+ >=dev-perl/XML-SAX-0.150.0
+ dev-perl/XML-SAX-Expat
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? ( >=virtual/perl-Test-Simple-0.880.0 )
+"
+PATCHES=("${FILESDIR}/${PN}-2.25-saxtests.patch")
+PERL_RM_FILES=("t/author-pod-syntax.t")
diff --git a/dev-perl/XML-Simple/files/XML-Simple-2.25-saxtests.patch b/dev-perl/XML-Simple/files/XML-Simple-2.25-saxtests.patch
new file mode 100644
index 000000000000..58739b7e4902
--- /dev/null
+++ b/dev-perl/XML-Simple/files/XML-Simple-2.25-saxtests.patch
@@ -0,0 +1,45 @@
+From 83774c87a0cc98379bc166fc0f6d028e68063a53 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Tue, 27 Mar 2018 20:11:48 +1300
+Subject: Force XML::SAX::PurePerl for XMLin/XMLout tests
+
+As for some reason, accidentally getting XML::LibXML::SAX
+results in this test failing with encoding problems.
+
+Bug: https://bugs.gentoo.org/625538
+---
+ t/1_XMLin.t | 3 +++
+ t/2_XMLout.t | 2 ++
+ 2 files changed, 5 insertions(+)
+
+diff --git a/t/1_XMLin.t b/t/1_XMLin.t
+index 84935cd..bd5cf71 100644
+--- a/t/1_XMLin.t
++++ b/t/1_XMLin.t
+@@ -6,6 +6,9 @@ use IO::File;
+ use File::Spec;
+
+ use XML::Simple;
++use XML::SAX;
++
++$XML::SAX::ParserPackage = "XML::SAX::PurePerl";
+
+ # Initialise filenames and check they're there
+
+diff --git a/t/2_XMLout.t b/t/2_XMLout.t
+index 471d9ce..d0d8dcf 100644
+--- a/t/2_XMLout.t
++++ b/t/2_XMLout.t
+@@ -26,7 +26,9 @@ sub ReadFile {
+ }
+
+ use XML::Simple;
++use XML::SAX;
+
++$XML::SAX::ParserPackage = "XML::SAX::PurePerl";
+ # Confirm error when mandatory parameter missing
+
+ $_ = eval {
+--
+2.16.2
+
diff --git a/dev-perl/XML-Simple/metadata.xml b/dev-perl/XML-Simple/metadata.xml
new file mode 100644
index 000000000000..70370b449a45
--- /dev/null
+++ b/dev-perl/XML-Simple/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">XML-Simple</remote-id>
+ <remote-id type="cpan-module">XML::Simple</remote-id>
+ </upstream>
+</pkgmetadata>