pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/p5-XML-Twig Updated p5-XML-Twig from version ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6428184491cb
branches:  trunk
changeset: 469200:6428184491cb
user:      gson <gson%pkgsrc.org@localhost>
date:      Sat Feb 21 01:44:00 2004 +0000

description:
Updated p5-XML-Twig from version 3.10 to 3.13.

Changes in 3.13:
      Maintenance release to get the tests to pass on various platforms

      updated the README
      fixed a problem with encoding conversions (using safe_encode and
      safe_encode_hex) under perl 5.8.0, see RT ticket #5111
      fixed tests to pass when trying to use an unsupported iconv filter

Changes in 3.12:
      New features and greatly increased test coverage

      added lots of tests (>900), thanks to David Rigaudiere, Forrest
      Cahoon, Sebastien Aperghis-Tramoni, Henrik Tougaard and Sam Tregar
      for testing this release on various OSs, Perl, XML::Parser and
      expat versions.

      added XML::Twig::XPath that uses XML::XPath as the XPath engine
      for findnodes, findnodes_as_string, findvalue, exists, find and
      matches. Just use XML::Twig::XPath instead of use XML::Twig;
      (see the tests in t/xmlxpath_*).

      Added special case to output some HTML tags ('script' to start with)
      as not empty.
      XML::Twig::Elt->new now properly flags empty elements (spotted by
      Dave Roe)
      added XML::Twig::Elt contains_a_single method
      added #ENT twig_handlers (not necessarily complete, so not yet
      documented, needs more tests)
      added doc for XML::Twig and XML::Twig::Elt subs_text methods
      tags starting with # are now "invisible" (they are not output),
      useful for example for pretty_printing
      added new options --wrap '' and --date to xml_grep
      improved XPath support (added [nb] support)
      added xpath method, which generates a unique XPath for an element
      added has_child and has_children as synonyms of first_child
      added XML::Twig::set_id_seed to control how generated id's are
      created

      when using ignore on an element, end_tag_handlers are now tested
      at the end of the element (so you can for exemple get the byte
      offset in the document), suggestion of Philippe Verdret

      added XML::Twig::Elt change_att_name
      XML::Twig::Elt new now properly works when called as an object
      (and not a class) method

      fixed namespace processing somewhat
      fixed SAX output methods
      fixed bug when keep_atts_order on and using set_att on an element
      with no existing attribute (spotted by scharloi)

      WARNING - potentially incompatible changes -
      when using finish_print, the document used to be flushed. This is no
      longer the case, you will have to do it before calling finish_print.
      This way you have the choice of doing it or not.

      Removed XML::Twig::Elt::unescape function (was no longer used)

Changes in 3.11
      added --text_only option to xml_grep (outputs the text of the
      result, without tags)

      fixed bug where "Comments [was] always dropped after a twig
      object set 'comments' to 'drop'" (RT#3711), bug report and first
      patch by Simon Flack

      by popular demand, added option "keep_atts_order" that keeps the
      original attribute order in the output. This option needs the
      Tie::IxHash module to work.

diffstat:

 textproc/p5-XML-Twig/Makefile         |   4 ++--
 textproc/p5-XML-Twig/distinfo         |   8 ++++----
 textproc/p5-XML-Twig/patches/patch-aa |  16 ++++++----------
 3 files changed, 12 insertions(+), 16 deletions(-)

diffs (60 lines):

diff -r fb6d8dc4f1d9 -r 6428184491cb textproc/p5-XML-Twig/Makefile
--- a/textproc/p5-XML-Twig/Makefile     Sat Feb 21 01:42:34 2004 +0000
+++ b/textproc/p5-XML-Twig/Makefile     Sat Feb 21 01:44:00 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2003/08/07 04:10:03 gson Exp $
+# $NetBSD: Makefile,v 1.2 2004/02/21 01:44:00 gson Exp $
 #
 
-DISTNAME=      XML-Twig-3.10
+DISTNAME=      XML-Twig-3.13
 PKGNAME=       p5-${DISTNAME}
 SVR4_PKGNAME=  p5xtw
 CATEGORIES=    textproc perl5
diff -r fb6d8dc4f1d9 -r 6428184491cb textproc/p5-XML-Twig/distinfo
--- a/textproc/p5-XML-Twig/distinfo     Sat Feb 21 01:42:34 2004 +0000
+++ b/textproc/p5-XML-Twig/distinfo     Sat Feb 21 01:44:00 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/08/07 04:10:03 gson Exp $
+$NetBSD: distinfo,v 1.2 2004/02/21 01:44:00 gson Exp $
 
-SHA1 (XML-Twig-3.10.tar.gz) = 89f49038d553dafebcb7fefc60a07acb502c4c38
-Size (XML-Twig-3.10.tar.gz) = 179676 bytes
-SHA1 (patch-aa) = b24b9ae8b8dd845192e3dc19d864170e7c3d5f50
+SHA1 (XML-Twig-3.13.tar.gz) = 1d3d01de03820c0f72f1a77d8430852682819eac
+Size (XML-Twig-3.13.tar.gz) = 222081 bytes
+SHA1 (patch-aa) = e464572c1b8d5c70908e755635d15556211c3333
 SHA1 (patch-ab) = 999126e8dce49891eb47ccf0429ed83fb87376fd
diff -r fb6d8dc4f1d9 -r 6428184491cb textproc/p5-XML-Twig/patches/patch-aa
--- a/textproc/p5-XML-Twig/patches/patch-aa     Sat Feb 21 01:42:34 2004 +0000
+++ b/textproc/p5-XML-Twig/patches/patch-aa     Sat Feb 21 01:44:00 2004 +0000
@@ -1,23 +1,19 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/08/07 04:10:03 gson Exp $
+$NetBSD: patch-aa,v 1.2 2004/02/21 01:44:00 gson Exp $
 
---- Makefile.PL.orig   2003-06-06 10:22:46.000000000 -0700
+--- Makefile.PL.orig   2004-01-08 08:38:34.000000000 -0800
 +++ Makefile.PL
-@@ -8,13 +8,14 @@ my @programs;
+@@ -8,13 +8,9 @@
  for (split "\n", <<'QUERIES') {
  xml_pp|y|XML pretty printer
- xml_grep|y|XML grep - grep XML files using XML::Twig's subset of expat
+ xml_grep|y|XML grep - grep XML files using XML::Twig's subset of XPath
 -xml_spellcheck|y|spellcheck XML files skipping tags
  QUERIES
-+#xml_spellcheck|y|spellcheck XML files skipping tags
-+
      my ($program, $default, $description) = split /\|/, $_;
 -    if (prompt("Do you want to install '$program' ($description)?", 
 -               $default) =~ /^y/) {
-+#    if (prompt("Do you want to install '$program' ($description)?", 
-+#               $default) =~ /^y/) {
-       push(@programs, $program);
+-      push(@programs, $program);
 -    }
-+#    }
++    push(@programs, $program);
  }
  
  WriteMakefile(



Home | Main Index | Thread Index | Old Index