summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-09-19 01:21:19 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-09-19 01:21:19 +0000
commit01932d6097097a7429ac19ef6c26c508e78c71ec (patch)
tree8d3b6d1204443f96f30bdf4ba1e9a8be87c51d8f /dev-perl/XML-SAX
parentVersion bump via perl-bump experimental tool. (diff)
downloadgentoo-2-01932d6097097a7429ac19ef6c26c508e78c71ec.tar.gz
gentoo-2-01932d6097097a7429ac19ef6c26c508e78c71ec.tar.bz2
gentoo-2-01932d6097097a7429ac19ef6c26c508e78c71ec.zip
Version bump via perl-bump experimental tool.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/XML-SAX')
-rw-r--r--dev-perl/XML-SAX/ChangeLog7
-rw-r--r--dev-perl/XML-SAX/XML-SAX-0.990.0.ebuild48
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-perl/XML-SAX/ChangeLog b/dev-perl/XML-SAX/ChangeLog
index 96a39375864d..3729feac7dde 100644
--- a/dev-perl/XML-SAX/ChangeLog
+++ b/dev-perl/XML-SAX/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-perl/XML-SAX
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX/ChangeLog,v 1.70 2011/09/04 11:20:51 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX/ChangeLog,v 1.71 2011/09/19 01:21:19 robbat2 Exp $
+
+*XML-SAX-0.990.0 (19 Sep 2011)
+
+ 19 Sep 2011; Robin H. Johnson <robbat2@gentoo.org> +XML-SAX-0.990.0.ebuild:
+ Version bump via perl-bump experimental tool.
04 Sep 2011; Torsten Veller <tove@gentoo.org> -XML-SAX-0.96.ebuild:
Cleanup
diff --git a/dev-perl/XML-SAX/XML-SAX-0.990.0.ebuild b/dev-perl/XML-SAX/XML-SAX-0.990.0.ebuild
new file mode 100644
index 000000000000..fde74fe1d83e
--- /dev/null
+++ b/dev-perl/XML-SAX/XML-SAX-0.990.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX/XML-SAX-0.990.0.ebuild,v 1.1 2011/09/19 01:21:19 robbat2 Exp $
+
+EAPI=4
+
+MODULE_AUTHOR=GRANTM
+MODULE_VERSION=0.99
+inherit perl-module eutils
+
+DESCRIPTION="Perl module for using and building Perl SAX2 XML parsers, filters, and drivers"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=">=dev-perl/XML-NamespaceSupport-1.04
+ >=dev-libs/libxml2-2.4.1"
+DEPEND="${RDEPEND}"
+
+SRC_TEST="do"
+
+src_prepare() {
+ sed -i \
+ -e 's/if (\$write_ini_ok)/if (0 \&\& $write_ini_ok)/' \
+ Makefile.PL || die
+ epatch "${FILESDIR}"/encodings.patch
+}
+
+pkg_postinst() {
+ perl-module_pkg_postinst
+ pkg_update_parser add XML::SAX::PurePerl
+}
+
+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
+}