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)diff -r1.9 -r1.10 pkgsrc/www/p5-HTML-TreeBuilder-LibXML/Makefile
(wen)
@@ -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 | |||
3 | DISTNAME= HTML-TreeBuilder-LibXML-0.17 | 3 | DISTNAME= HTML-TreeBuilder-LibXML-0.23 | |
4 | PKGNAME= p5-${DISTNAME} | 4 | PKGNAME= p5-${DISTNAME} | |
5 | CATEGORIES= www perl5 | 5 | CATEGORIES= www perl5 | |
6 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/} | 6 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://search.cpan.org/dist/HTML-TreeBuilder-LibXML/ | 9 | HOMEPAGE= http://search.cpan.org/dist/HTML-TreeBuilder-LibXML/ | |
10 | COMMENT= Perl 5 HTML::TreeBuilder and XPath compatible interface with libxml | 10 | COMMENT= Perl 5 HTML::TreeBuilder and XPath compatible interface with libxml | |
11 | LICENSE= ${PERL5_LICENSE} | 11 | LICENSE= ${PERL5_LICENSE} | |
12 | 12 | |||
13 | USE_LANGUAGES= # empty | 13 | USE_LANGUAGES= # empty | |
14 | PERL5_PACKLIST= auto/HTML/TreeBuilder/LibXML/.packlist | 14 | PERL5_PACKLIST= auto/HTML/TreeBuilder/LibXML/.packlist | |
15 | 15 | |||
16 | DEPENDS+= p5-HTML-TreeBuilder-XPath>=0.11:../../www/p5-HTML-TreeBuilder-XPath | 16 | PERL5_MODULE_TYPE= Module::Build | |
17 | ||||
18 | DEPENDS+= p5-HTML-TreeBuilder-XPath>=0.14:../../www/p5-HTML-TreeBuilder-XPath | |||
17 | DEPENDS+= p5-XML-LibXML>=1.70:../../textproc/p5-XML-LibXML | 19 | DEPENDS+= 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" |
@@ -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 | |||
3 | SHA1 (HTML-TreeBuilder-LibXML-0.17.tar.gz) = 8e95d946924908b8cc0d7e01ded418a10c97be2c | 3 | SHA1 (HTML-TreeBuilder-LibXML-0.23.tar.gz) = 76127ef2086a55368179cff1f2d2486bf6e09bab | |
4 | RMD160 (HTML-TreeBuilder-LibXML-0.17.tar.gz) = ae245ec445322683124457d4d187f5e47ef2b803 | 4 | RMD160 (HTML-TreeBuilder-LibXML-0.23.tar.gz) = f5070a694b1a00dc9fdf225ed2f66e9c95b8f1c0 | |
5 | Size (HTML-TreeBuilder-LibXML-0.17.tar.gz) = 26701 bytes | 5 | Size (HTML-TreeBuilder-LibXML-0.23.tar.gz) = 22306 bytes |