summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2007-03-04 15:59:43 +0000
committerMichael Cummings <mcummings@gentoo.org>2007-03-04 15:59:43 +0000
commit7d2c17fea9771a03b8d45a6da430b4385d2770b1 (patch)
tree3f1600bd817febaa2d3d3224051f46c355e9e02a /dev-perl/XML-SAX
parentActually link in the inline FLAC library, from upstream bug #830. Explicitly ... (diff)
downloadgentoo-2-7d2c17fea9771a03b8d45a6da430b4385d2770b1.tar.gz
gentoo-2-7d2c17fea9771a03b8d45a6da430b4385d2770b1.tar.bz2
gentoo-2-7d2c17fea9771a03b8d45a6da430b4385d2770b1.zip
Moving ParserDetail.ini setting to postinst, bug 168988, thanks Martin :)
(Portage version: 2.1.2-r9)
Diffstat (limited to 'dev-perl/XML-SAX')
-rw-r--r--dev-perl/XML-SAX/ChangeLog8
-rw-r--r--dev-perl/XML-SAX/XML-SAX-0.15-r1.ebuild40
-rw-r--r--dev-perl/XML-SAX/files/digest-XML-SAX-0.15-r13
3 files changed, 50 insertions, 1 deletions
diff --git a/dev-perl/XML-SAX/ChangeLog b/dev-perl/XML-SAX/ChangeLog
index 270a6be02927..83ad7385bd95 100644
--- a/dev-perl/XML-SAX/ChangeLog
+++ b/dev-perl/XML-SAX/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-perl/XML-SAX
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX/ChangeLog,v 1.46 2007/02/17 15:33:25 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-SAX/ChangeLog,v 1.47 2007/03/04 15:59:43 mcummings Exp $
+
+*XML-SAX-0.15-r1 (04 Mar 2007)
+
+ 04 Mar 2007; Michael Cummings <mcummings@gentoo.org>
+ +XML-SAX-0.15-r1.ebuild:
+ Moving ParserDetail.ini setting to postinst, bug 168988, thanks Martin :)
*XML-SAX-0.15 (17 Feb 2007)
diff --git a/dev-perl/XML-SAX/XML-SAX-0.15-r1.ebuild b/dev-perl/XML-SAX/XML-SAX-0.15-r1.ebuild
new file mode 100644
index 000000000000..cdd79b61d76d
--- /dev/null
+++ b/dev-perl/XML-SAX/XML-SAX-0.15-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2007 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.15-r1.ebuild,v 1.1 2007/03/04 15:59:43 mcummings Exp $
+
+inherit perl-module eutils
+
+DESCRIPTION="Perl module for using and building Perl SAX2 XML parsers, filters, and drivers"
+SRC_URI="mirror://cpan/authors/id/G/GR/GRANTM/${P}.tar.gz"
+HOMEPAGE="http://search.cpan.org/~grantm/"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=dev-perl/XML-NamespaceSupport-1.04
+ >=dev-libs/libxml2-2.4.1
+ >=sys-apps/sed-4
+ dev-lang/perl"
+
+SRC_TEST="do"
+
+src_unpack() {
+ local installvendorlib
+ eval $(perl '-V:installvendorlib')
+ unpack ${A}
+ cd "${S}"
+ 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
+ perl -MXML::SAX \
+ -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" \
+ || die "error adding parser"
+}
+
diff --git a/dev-perl/XML-SAX/files/digest-XML-SAX-0.15-r1 b/dev-perl/XML-SAX/files/digest-XML-SAX-0.15-r1
new file mode 100644
index 000000000000..2307da7fa101
--- /dev/null
+++ b/dev-perl/XML-SAX/files/digest-XML-SAX-0.15-r1
@@ -0,0 +1,3 @@
+MD5 4b2276bafedc5a41cf50fea2296e31c4 XML-SAX-0.15.tar.gz 59346
+RMD160 7fb288043c8328688a8557313c98e37928cb2f3d XML-SAX-0.15.tar.gz 59346
+SHA256 d88541494f03e63f13eb21cbec339c5e324cbc32bad2e2062f296f346d2e98dc XML-SAX-0.15.tar.gz 59346