summaryrefslogtreecommitdiff
path: root/textproc/p5-XML-Twig
diff options
context:
space:
mode:
authorgson <gson@pkgsrc.org>2004-02-21 01:44:00 +0000
committergson <gson@pkgsrc.org>2004-02-21 01:44:00 +0000
commitff8f241559b9df2633d7b8152534484c554d0dbe (patch)
treec4859c59109394fd70b45ef3e6e26bf5f6bd67e2 /textproc/p5-XML-Twig
parenta63098c6930b5bb4187ef6d2a7bbcaf969dc29bd (diff)
downloadpkgsrc-ff8f241559b9df2633d7b8152534484c554d0dbe.tar.gz
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 (limited to 'textproc/p5-XML-Twig')
-rw-r--r--textproc/p5-XML-Twig/Makefile4
-rw-r--r--textproc/p5-XML-Twig/distinfo8
-rw-r--r--textproc/p5-XML-Twig/patches/patch-aa16
3 files changed, 12 insertions, 16 deletions
diff --git a/textproc/p5-XML-Twig/Makefile b/textproc/p5-XML-Twig/Makefile
index a27b490f975..b14c328c2bf 100644
--- a/textproc/p5-XML-Twig/Makefile
+++ b/textproc/p5-XML-Twig/Makefile
@@ -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 --git a/textproc/p5-XML-Twig/distinfo b/textproc/p5-XML-Twig/distinfo
index d6dd702f2c8..e1d3b810805 100644
--- a/textproc/p5-XML-Twig/distinfo
+++ b/textproc/p5-XML-Twig/distinfo
@@ -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 --git a/textproc/p5-XML-Twig/patches/patch-aa b/textproc/p5-XML-Twig/patches/patch-aa
index c1eaf4b8608..97222e36479 100644
--- a/textproc/p5-XML-Twig/patches/patch-aa
+++ b/textproc/p5-XML-Twig/patches/patch-aa
@@ -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(