pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/p5-XML-SAX-Writer Initial import of p5-XML-SA...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c33c9cb76ded
branches:  trunk
changeset: 489309:c33c9cb76ded
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Feb 19 19:21:58 2005 +0000

description:
Initial import of p5-XML-SAX-Writer-0.44:

A new XML Writer was needed to match the SAX2 effort because quite
naturally no existing writer understood SAX2. My first intention
had been to start patching XML::Handler::YAWriter as it had previously
been my favourite writer in the SAX1 world.

However the more I patched it the more I realised that what I
thought was going to be a simple patch (mostly adding a few event
handlers and changing the attribute syntax) was turning out to be
a rewrite due to various ideas I'd been collecting along the way.
Besides, I couldn't find a way to elegantly make it work with SAX2
without breaking the SAX1 compatibility which people are probably
still using. There are of course ways to do that, but most require
user interaction which is something I wanted to avoid.

So in the end there was a new writer. I think it's in fact better
this way as it helps keep SAX1 and SAX2 separated.

diffstat:

 textproc/p5-XML-SAX-Writer/DESCR    |  16 ++++++++++++++++
 textproc/p5-XML-SAX-Writer/Makefile |  22 ++++++++++++++++++++++
 textproc/p5-XML-SAX-Writer/PLIST    |   1 +
 textproc/p5-XML-SAX-Writer/distinfo |   4 ++++
 4 files changed, 43 insertions(+), 0 deletions(-)

diffs (59 lines):

diff -r db1edb257f54 -r c33c9cb76ded textproc/p5-XML-SAX-Writer/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-SAX-Writer/DESCR  Sat Feb 19 19:21:58 2005 +0000
@@ -0,0 +1,16 @@
+A new XML Writer was needed to match the SAX2 effort because quite
+naturally no existing writer understood SAX2. My first intention
+had been to start patching XML::Handler::YAWriter as it had previously
+been my favourite writer in the SAX1 world.
+
+However the more I patched it the more I realised that what I
+thought was going to be a simple patch (mostly adding a few event
+handlers and changing the attribute syntax) was turning out to be
+a rewrite due to various ideas I'd been collecting along the way.
+Besides, I couldn't find a way to elegantly make it work with SAX2
+without breaking the SAX1 compatibility which people are probably
+still using. There are of course ways to do that, but most require
+user interaction which is something I wanted to avoid.
+
+So in the end there was a new writer. I think it's in fact better
+this way as it helps keep SAX1 and SAX2 separated.
diff -r db1edb257f54 -r c33c9cb76ded textproc/p5-XML-SAX-Writer/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-SAX-Writer/Makefile       Sat Feb 19 19:21:58 2005 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/19 19:21:58 wiz Exp $
+
+DISTNAME=      XML-SAX-Writer-0.44
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    textproc perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=XML/}
+
+MAINTAINER=    tech-pkg%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/XML-SAX-Writer/
+COMMENT=       SAX2 (XML) Writer
+
+DEPENDS+=      p5-XML-NamespaceSupport>=0.03:../../textproc/p5-XML-NamespaceSupport
+DEPENDS+=      p5-File-Temp-[0-9]*:../../devel/p5-File-Temp
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+USE_BUILDLINK3=                YES
+PERL5_PACKLIST=                ${PERL5_SITEARCH}/auto/XML/SAX/Writer/.packlist
+MAKE_ENV+=             PERL5LIB="${PREFIX}/${PERL5_SUB_INSTALLSITELIB}"
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r db1edb257f54 -r c33c9cb76ded textproc/p5-XML-SAX-Writer/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-SAX-Writer/PLIST  Sat Feb 19 19:21:58 2005 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/19 19:21:58 wiz Exp $
diff -r db1edb257f54 -r c33c9cb76ded textproc/p5-XML-SAX-Writer/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-SAX-Writer/distinfo       Sat Feb 19 19:21:58 2005 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/02/19 19:21:58 wiz Exp $
+
+SHA1 (XML-SAX-Writer-0.44.tar.gz) = 30a08a8b9a0f0f70f859362c5c930dce75c8a991
+Size (XML-SAX-Writer-0.44.tar.gz) = 11683 bytes



Home | Main Index | Thread Index | Old Index