summaryrefslogtreecommitdiff
path: root/dev-perl/XML-SAX-Expat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-perl/XML-SAX-Expat
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-perl/XML-SAX-Expat')
-rw-r--r--dev-perl/XML-SAX-Expat/Manifest5
-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, 74 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..8286cba8a631
--- /dev/null
+++ b/dev-perl/XML-SAX-Expat/Manifest
@@ -0,0 +1,5 @@
+DIST XML-SAX-Expat-0.51.tar.gz 7134 SHA256 4c016213d0ce7db2c494e30086b59917b302db8c292dcd21f39deebd9780c83f SHA512 9cd3c7a1cdf0b0a49ea9f871095984fb67ff54c9e5ed49884c591a450c2662acbd6d0f5232a5720663bcab09ff4f41093d414daa0b72457dc98eea5001270478 WHIRLPOOL bfac47b4e8b3af2b06f49cff868938c97af5a935ebb74bca81e6d0974393dddd02728b7257d11f243967bebd9d2b73e6cea042c0656279ca1ae9a268c5ecd450
+EBUILD XML-SAX-Expat-0.510.0.ebuild 1302 SHA256 fd02c8c7a14de8407ae8556afe718a338492537eb1672ca2a6acd3b0a7ee1efa SHA512 10b7a02f92c72fc9ada00a8f6d9c2e9629c56bfeb3165d7b7bf4dacfae8d4f19c831210c27fec83be9a996c883ae5b7c89953ccd19ae67aa1c43f139eea69f02 WHIRLPOOL 11735d8377d60cedd6152718278a23f120d12e7fa5e4caba4c16b5148310c223da19a9be846c777a77685d278bca0787463bf8fd7c6d27ee0e331d799dbae237
+MISC ChangeLog 3077 SHA256 3d1cacce6a696a69ac515327a81df3b9bf44857fbb41dd38a18ec7641349f5f1 SHA512 a0729f14afd4c33578d299fc3f91f885ad6bcfbb19b6a7b7bd7d7a0e35f4911012a79a297c4ea5865f186b9d4d4c7091abc8a6d4e1af152328011b61a5ec4b90 WHIRLPOOL 997e9b914168095adc44f9609508b14aff543317154376c1af4f9a17ee108ec92ebfff5ebd1379e7125283e57c32addfbad0d29871aa234d2796daf6388b0749
+MISC ChangeLog-2015 1880 SHA256 1dc5bd3d99749411c9c8113e790a11db65cdcb33e7bf5dda7e811e43f3506802 SHA512 5434e718289bbf68e5ee77dbb7997925cfec11a9727fbec16919ac7152ec11d659c59bd618c7951030c0dca2951a641f0760b2cb3743a676b71876bb8634ae85 WHIRLPOOL 15c15af9d0d3dfc740f8bf340a7fcf4a7d1991a4f890587f147eb154a85fc7fd658d192fdf8a1d7ea2429b2054d4cf55c05546587153a24867384b93f3cdecd4
+MISC metadata.xml 399 SHA256 1feeb74f77a91be5c85f33d0776da29cc5eada61558dcc373d0ca37fc118e1cb SHA512 658b27f117623f86efb9a39b76857410146d8bd412d0861f2dc1197af32d2e4d6f9f84a7d71bb2d0960cb0ca1e264e0e18d499718326c1aabce51427b5272d09 WHIRLPOOL 7787f32ea428488e6e084eb16ec440891ff3dbb3237d46bc125a01c6ed6e32c8bf31f280af77343a85479c1b7e07ff67bcb7548cdbaa94e10260e39c868f16ae
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..9e13b4803e77
--- /dev/null
+++ b/dev-perl/XML-SAX-Expat/XML-SAX-Expat-0.510.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 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 ppc ppc64 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>