Mon May 27 15:20:35 2013 UTC ()
Update to 0.23

Upstream changes:
0.23 2013-05-17T00:16:48Z

    - fixed guts(), clone() and replace_with() to properly handle XML::LibXML::Dtd nodes
      - guts() now includes the Dtd node in the returned document (unless it were implicitly created)
      - clone() calls createInternalSubset() on the new document
      - replace_with() calls createInternalSubset() if the replacement is a XML::LibXML::Dtd (can't import Dtd node)
        (cafe01)

0.22 2013-05-13T00:04:09Z

    - improved guts(), calling nonBlankChildNodes() instead of childNodes()
    - improved HTML::TreeBuilder::LibXML::Node documentation
      (cafe01)

0.21 2013-05-12T19:12:53Z

    - fixed guts(),
      - now returning nodes from <head> and <body> instead of just <body>
      - now returning text and comment nodes instead of just element nodes
      - returned nodes now belong to the same document
    - fixed to_HTML to render valid html, not xml
      (cafe01)

0.20 2013-05-10T20:44:16Z

    - improved replace_with() on document node.
    - fixed push_content() and unshift_content() to work with document mode.
    (cafe01)

0.19 2013-05-10T01:03:58Z

    - fixed replace_with() and parent(),
      to avoid calling appendChild() on a Document node, which is not supported by XML::LibXML.
      (cafe01)

0.18 2013-05-09T20:49:04Z

    - implemented all node methods needed for Web::Query::LibXML to work
      - clone_list
      - detach
      - delete_content
      - content_list
      - replace_with
      - push_content
      - unshift_content
      - postinsert
      - preinsert
      - disembowel (HTML::TreeBuilder::LibXML)
      (cafe01)

    - modified parse_file() to read file content, then call parse_content()
      - thats because parse_content() will detect (heuristically) when the parser will add implict <html><body> tags, so guts() can work properly.
      (cafe01)

0.18 2013-05-09T01:27:46Z

    - implemented matches(), parent(), guts() node method
      (Carlos Fernando Avila Gratz)


(wen)
diff -r1.9 -r1.10 pkgsrc/www/p5-HTML-TreeBuilder-LibXML/Makefile
diff -r1.5 -r1.6 pkgsrc/www/p5-HTML-TreeBuilder-LibXML/distinfo

cvs diff -r1.9 -r1.10 pkgsrc/www/p5-HTML-TreeBuilder-LibXML/Makefile (expand / switch to unified diff)

--- pkgsrc/www/p5-HTML-TreeBuilder-LibXML/Makefile 2012/10/28 06:30:40 1.9
+++ pkgsrc/www/p5-HTML-TreeBuilder-LibXML/Makefile 2013/05/27 15:20:34 1.10
@@ -1,20 +1,22 @@ @@ -1,20 +1,22 @@
1# $NetBSD: Makefile,v 1.9 2012/10/28 06:30:40 asau Exp $ 1# $NetBSD: Makefile,v 1.10 2013/05/27 15:20:34 wen Exp $
2 2
3DISTNAME= HTML-TreeBuilder-LibXML-0.17 3DISTNAME= HTML-TreeBuilder-LibXML-0.23
4PKGNAME= p5-${DISTNAME} 4PKGNAME= p5-${DISTNAME}
5CATEGORIES= www perl5 5CATEGORIES= www perl5
6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/} 6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://search.cpan.org/dist/HTML-TreeBuilder-LibXML/ 9HOMEPAGE= http://search.cpan.org/dist/HTML-TreeBuilder-LibXML/
10COMMENT= Perl 5 HTML::TreeBuilder and XPath compatible interface with libxml 10COMMENT= Perl 5 HTML::TreeBuilder and XPath compatible interface with libxml
11LICENSE= ${PERL5_LICENSE} 11LICENSE= ${PERL5_LICENSE}
12 12
13USE_LANGUAGES= # empty 13USE_LANGUAGES= # empty
14PERL5_PACKLIST= auto/HTML/TreeBuilder/LibXML/.packlist 14PERL5_PACKLIST= auto/HTML/TreeBuilder/LibXML/.packlist
15 15
16DEPENDS+= p5-HTML-TreeBuilder-XPath>=0.11:../../www/p5-HTML-TreeBuilder-XPath 16PERL5_MODULE_TYPE= Module::Build
 17
 18DEPENDS+= p5-HTML-TreeBuilder-XPath>=0.14:../../www/p5-HTML-TreeBuilder-XPath
17DEPENDS+= p5-XML-LibXML>=1.70:../../textproc/p5-XML-LibXML 19DEPENDS+= p5-XML-LibXML>=1.70:../../textproc/p5-XML-LibXML
18 20
19.include "../../lang/perl5/module.mk" 21.include "../../lang/perl5/module.mk"
20.include "../../mk/bsd.pkg.mk" 22.include "../../mk/bsd.pkg.mk"

cvs diff -r1.5 -r1.6 pkgsrc/www/p5-HTML-TreeBuilder-LibXML/distinfo (expand / switch to unified diff)

--- pkgsrc/www/p5-HTML-TreeBuilder-LibXML/distinfo 2012/10/21 23:13:52 1.5
+++ pkgsrc/www/p5-HTML-TreeBuilder-LibXML/distinfo 2013/05/27 15:20:34 1.6
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.5 2012/10/21 23:13:52 wiz Exp $ 1$NetBSD: distinfo,v 1.6 2013/05/27 15:20:34 wen Exp $
2 2
3SHA1 (HTML-TreeBuilder-LibXML-0.17.tar.gz) = 8e95d946924908b8cc0d7e01ded418a10c97be2c 3SHA1 (HTML-TreeBuilder-LibXML-0.23.tar.gz) = 76127ef2086a55368179cff1f2d2486bf6e09bab
4RMD160 (HTML-TreeBuilder-LibXML-0.17.tar.gz) = ae245ec445322683124457d4d187f5e47ef2b803 4RMD160 (HTML-TreeBuilder-LibXML-0.23.tar.gz) = f5070a694b1a00dc9fdf225ed2f66e9c95b8f1c0
5Size (HTML-TreeBuilder-LibXML-0.17.tar.gz) = 26701 bytes 5Size (HTML-TreeBuilder-LibXML-0.23.tar.gz) = 22306 bytes