summaryrefslogtreecommitdiff
path: root/dev-perl/XML-SAX-Expat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/XML-SAX-Expat
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/XML-SAX-Expat')
-rw-r--r--dev-perl/XML-SAX-Expat/Manifest3
-rw-r--r--dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.510.0.ebuild57
-rw-r--r--dev-perl/XML-SAX-Expat/metadata.xml12
3 files changed, 72 insertions, 0 deletions
diff --git a/dev-perl/XML-SAX-Expat/Manifest b/dev-perl/XML-SAX-Expat/Manifest
new file mode 100644
index 000000000000..e78dcca221e6
--- /dev/null
+++ b/dev-perl/XML-SAX-Expat/Manifest
@@ -0,0 +1,3 @@
+DIST XML-SAX-Expat-0.51.tar.gz 7134 BLAKE2B bc1f7a9bf5e5edeb4f8102569b6c4edad38666af5d2466f53c4b874366443ebe8b24c36b2431fd77119c6f9e32f40fae611df2c45b0df0ae51d022edc51d49c4 SHA512 9cd3c7a1cdf0b0a49ea9f871095984fb67ff54c9e5ed49884c591a450c2662acbd6d0f5232a5720663bcab09ff4f41093d414daa0b72457dc98eea5001270478
+EBUILD XML-SAX-Expat-0.510.0.ebuild 1311 BLAKE2B 2e135f2f111ef00699ae0af99d7a6a821c6032b16ba39bf581f0b18e16bce8656450e428e77174ca40a2447d8d6e36bc5cc4f20f65885644fcd6bafd63861baa SHA512 c526cca19852eecd335f6292f957d0dd5af705fcb94f6c2a8b525a5eafc7715598b991f8ebac4da488cff1c407a4170787286d249efe98074a6358dba79b4f8b
+MISC metadata.xml 399 BLAKE2B 46ced18e82e3bd57d0ea258076474dc0aaa87e18d1f8b426a50a12a17d6d0a98beb53c70cf6a64a75afb8c0aa0fd9edd21cd146741ad4e3f092ddf010d6db4ce SHA512 658b27f117623f86efb9a39b76857410146d8bd412d0861f2dc1197af32d2e4d6f9f84a7d71bb2d0960cb0ca1e264e0e18d499718326c1aabce51427b5272d09
diff --git a/dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.510.0.ebuild b/dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.510.0.ebuild
new file mode 100644
index 000000000000..99f62c635ca3
--- /dev/null
+++ b/dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.510.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MODULE_AUTHOR=BJOERN
+MODULE_VERSION=0.51
+inherit perl-module
+
+DESCRIPTION="SAX2 Driver for Expat"
+LICENSE="|| ( Artistic GPL-2 )"
+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=">=dev-perl/XML-SAX-0.15-r1
+ >=dev-perl/XML-NamespaceSupport-1.09
+ dev-perl/XML-Parser"
+DEPEND="${RDEPEND}
+ test? (
+ virtual/perl-Test-Simple
+ )"
+
+SRC_TEST=do
+
+src_test() {
+ perl_rm_files t/98podsyn.t t/99podcov.t
+ perl-module_src_test
+}
+
+src_compile() {
+ export SKIP_SAX_INSTALL=1
+ perl-module_src_compile
+}
+
+pkg_postinst() {
+ pkg_update_parser add XML::SAX::Expat
+}
+
+pkg_postrm() {
+ pkg_update_parser remove XML::SAX::Expat
+}
+
+pkg_update_parser() {
+ # pkg_update_parser [add|remove] $parser_module
+ local action=$1
+ local parser_module=$2
+
+ if [[ "$ROOT" = "/" ]] ; then
+ einfo "Update Parser: $1 $2"
+ perl -MXML::SAX -e "XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()" \
+ || ewarn "Update Parser: $1 $2 failed"
+ else
+ elog "To $1 $2 run:"
+ elog "perl -MXML::SAX -e 'XML::SAX->${action}_parser(q(${parser_module}))->save_parsers()'"
+ fi
+}
diff --git a/dev-perl/XML-SAX-Expat/metadata.xml b/dev-perl/XML-SAX-Expat/metadata.xml
new file mode 100644
index 000000000000..87c3bd3be18d
--- /dev/null
+++ b/dev-perl/XML-SAX-Expat/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-SAX-Expat</remote-id>
+ <remote-id type="cpan-module">XML::SAX::Expat</remote-id>
+ </upstream>
+</pkgmetadata>