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-Expat Updated to version 0.39.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6be11afdcd14
branches:  trunk
changeset: 529962:6be11afdcd14
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Wed Jun 13 23:21:34 2007 +0000

description:
Updated to version 0.39.

Pkgsrc changes:
  - The package supports installation to DESTDIR.
  - Took exact version numbers for prerequisites from Makefile.PL.
  - Provided HOMEPAGE and SVR4_PKGNAME.
  - Added INSTALL/DEINSTALL scripts for correct registration of the parser
    with XML::SAX.


Changes since version 0.35:
===========================
0.39    2007-06-10 08:00
    - check SKIP_SAX_INSTALL environment variable; thanks to Klaus Heinz for
      the patch.

0.38    2007-01-25 14:00
    - fix for http://rt.cpan.org/Public/Bug/Display.html?id=7434. Thanks to
      Bjoern Hoehrmann <http://bjoern.hoehrmann.de/> for the bug report, and
      to Chris Fields for the fix.

0.37  2003-07-04 22:22
    - suppressed the warning for those strange people that process documents
      without namespaces.

0.36  2003-07-04 20:25
    - XML::SAX::Expat went through a thorough round of testing. A number of
      bugs were found and addressed
    - start_document and end_document used to get the same hash, which is
      wrong
    - same for start_prefix_mapping and end_prefix_mapping
    - deprecated xml_decl() in favour of adding fields to start_document()
    - removed some useless manipulations of the element stack
    - end_dtd() now correctly passes an empty hash instead of nothing, as
      wouldn't start_cdata and end_cdata
    - element_decl would return XML::Parser::ContentModel objects instead of
      a content model string.
    - PublicId would sometimes be undef on external_entity_decl()

    - added supported_features(), as well as support for
      http://xml.org/sax/features/external-general-entities and
      http://xml.org/sax/features/external-parameter-entities. XML::SAX::Base
      or XML::SAX::ParserFactory seem to have a bug in that they don't blow
      up on unsupported features. Thanks to the numerous people on the perl-xml
      list that supplied patches for this.

diffstat:

 textproc/p5-XML-SAX-Expat/DEINSTALL |  11 +++++++++++
 textproc/p5-XML-SAX-Expat/INSTALL   |  11 +++++++++++
 textproc/p5-XML-SAX-Expat/Makefile  |  21 +++++++++++++--------
 textproc/p5-XML-SAX-Expat/distinfo  |   8 ++++----
 4 files changed, 39 insertions(+), 12 deletions(-)

diffs (80 lines):

diff -r 32a52786b837 -r 6be11afdcd14 textproc/p5-XML-SAX-Expat/DEINSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-SAX-Expat/DEINSTALL       Wed Jun 13 23:21:34 2007 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: DEINSTALL,v 1.1 2007/06/13 23:21:34 heinz Exp $
+
+case ${STAGE} in
+
+DEINSTALL)
+        ${PERL5} -I@PERL5_INSTALLVENDORLIB@ -MXML::SAX -e "XML::SAX->remove_parser(q(XML::SAX::Expat))->save_parsers()"
+       ${ECHO} "Removed parser from XML::SAX registry."
+       ;;
+
+esac
+
diff -r 32a52786b837 -r 6be11afdcd14 textproc/p5-XML-SAX-Expat/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-XML-SAX-Expat/INSTALL Wed Jun 13 23:21:34 2007 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: INSTALL,v 1.1 2007/06/13 23:21:34 heinz Exp $
+
+case ${STAGE} in
+
+POST-INSTALL)
+       ${PERL5} -I@PERL5_INSTALLVENDORLIB@ -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::Expat))->save_parsers()"
+       ${ECHO} "Added parser to XML::SAX registry."
+       ;;
+
+esac
+
diff -r 32a52786b837 -r 6be11afdcd14 textproc/p5-XML-SAX-Expat/Makefile
--- a/textproc/p5-XML-SAX-Expat/Makefile        Wed Jun 13 23:17:31 2007 +0000
+++ b/textproc/p5-XML-SAX-Expat/Makefile        Wed Jun 13 23:21:34 2007 +0000
@@ -1,20 +1,25 @@
-# $NetBSD: Makefile,v 1.12 2006/03/04 21:30:50 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2007/06/13 23:21:34 heinz Exp $
 
-DISTNAME=      XML-SAX-Expat-0.35
+DISTNAME=      XML-SAX-Expat-0.39
 PKGNAME=       p5-${DISTNAME}
-#SVR4_PKGNAME=
-PKGREVISION=   4
+SVR4_PKGNAME=  p5xse
 CATEGORIES=    textproc perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=XML/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/XML-SAX-Expat/
 COMMENT=       Perl SAX2 XML driver sitting on top of Expat (XML::Parser)
 
-DEPENDS+=      p5-XML-NamespaceSupport-[0-9]*:../../textproc/p5-XML-NamespaceSupport
-DEPENDS+=      p5-XML-SAX-[0-9]*:../../textproc/p5-XML-SAX
-DEPENDS+=      p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
+PKG_DESTDIR_SUPPORT=   user-destdir
 
-PERL5_PACKLIST=                auto/XML/SAX/Expat/.packlist
+DEPENDS+=      p5-XML-NamespaceSupport>=0.03:../../textproc/p5-XML-NamespaceSupport
+DEPENDS+=      p5-XML-SAX>=0.03:../../textproc/p5-XML-SAX
+DEPENDS+=      p5-XML-Parser>=2.27:../../textproc/p5-XML-Parser
+
+MAKE_ENV+=     SKIP_SAX_INSTALL=yes
+PERL5_PACKLIST=        auto/XML/SAX/Expat/.packlist
+
+FILES_SUBST+=  PERL5_INSTALLVENDORLIB=${PERL5_INSTALLVENDORLIB:Q}
 
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 32a52786b837 -r 6be11afdcd14 textproc/p5-XML-SAX-Expat/distinfo
--- a/textproc/p5-XML-SAX-Expat/distinfo        Wed Jun 13 23:17:31 2007 +0000
+++ b/textproc/p5-XML-SAX-Expat/distinfo        Wed Jun 13 23:21:34 2007 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 14:48:47 agc Exp $
+$NetBSD: distinfo,v 1.3 2007/06/13 23:21:34 heinz Exp $
 
-SHA1 (XML-SAX-Expat-0.35.tar.gz) = 9f6e5c1928c5fee7fa513bf5c605c0a9191c39f5
-RMD160 (XML-SAX-Expat-0.35.tar.gz) = cf3e3e0e5a042078875b85e79fceaca7dd944475
-Size (XML-SAX-Expat-0.35.tar.gz) = 4534 bytes
+SHA1 (XML-SAX-Expat-0.39.tar.gz) = 0f440b662a137705ee0e358fd1fc92e510500806
+RMD160 (XML-SAX-Expat-0.39.tar.gz) = da36f9b2a1c9a53729f4b0e1e35a15349c8f0101
+Size (XML-SAX-Expat-0.39.tar.gz) = 5838 bytes



Home | Main Index | Thread Index | Old Index