Updating package for Perl 5 distribution of HTML::Tree from CPAN in www/p5-HTML-Tree from 4.2 to 5.02. pkgsrc changes: - adjust dependencies - adjust Perl 5 build type upstream changes: 5.02 2012-06-27 Release by Christopher J. Madsen [TESTS] * Do not attempt to check result of $! in construct_tree.t (The fix in 5.01 was not successful.) 5.01 2012-06-20 Release by Christopher J. Madsen [TESTS] * Force C locale in construct_tree.t (in non-English locales, $! will produce messages in a different language) (RT #77823) * Add test for preserving whitespace while parsing. 5.00 2012-06-12 Release by Christopher J. Madsen There are only some minor documentation changes since 4.903. This is a summary of the most significant changes since 4.2. [THINGS THAT MAY BREAK YOUR CODE OR TESTS] * Use weak references to avoid memory leaks See "Weak References" in HTML::Element for details. * new_from_file now dies if the file cannot be opened. $! records the specific problem. (Previously, you got a tree with a few implicit elements.) * Some methods normally returning a scalar could return the empty list in certain circumstances. This has been corrected. The affected methods are: address, deobjectify_text, detach, is_inside, & pindex. * deprecate the Version sub/method. Use the VERSION method instead. [ENHANCEMENTS] * add new_from_url (Using LWP) (David Pottage) (RT #68097) [DOCUMENTATION] * Explain that parse_file (and new_from_file) opens files in binary mode BUT THIS IS PLANNED TO CHANGE. 4.903 2012-06-08 Trial Release by Christopher J. Madsen [DOCUMENTATION] * Explain that parse_file (and new_from_file) opens files in binary mode BUT THIS IS PLANNED TO CHANGE. [TESTS] * test error handling for new_from_file & new_from_url * remove use_ok from most tests (if the module won't load, the tests can't pass anyway) 4.902 2012-06-06 Trial Release by Christopher J. Madsen [THINGS THAT MAY BREAK YOUR CODE OR TESTS] * new_from_url now dies if the request fails or the response is not HTML 4.901 2012-06-06 Trial Release by Christopher J. Madsen [THINGS THAT MAY BREAK YOUR CODE OR TESTS] * new_from_file now dies if the file cannot be opened. $! records the specific problem. (Previously, you got a tree with a few implicit elements.) * Some methods normally returning a scalar could return the empty list in certain circumstances. This has been corrected. The affected methods are: address, deobjectify_text, detach, is_inside, & pindex. [FIXES] * new_from_url did not call eof after parsing [DOCUMENTATION] * Improve SEE ALSO for HTML::TreeBuilder * General documentation cleanup 4.900 2012-06-01 Trial Release by Christopher J. Madsen [THINGS THAT MAY BREAK YOUR CODE OR TESTS] * Use weak references to avoid memory leaks See "Weak References" in HTML::Element for details. * deprecate the Version sub/method. Use the VERSION method instead. [ENHANCEMENTS] * add new_from_url (Using LWP) (David Pottage) (RT #68097)diff -r1.28 -r1.29 pkgsrc/www/p5-HTML-Tree/Makefile
(sno)
@@ -1,26 +1,33 @@ | @@ -1,26 +1,33 @@ | |||
1 | # $NetBSD: Makefile,v 1.28 2011/08/07 08:47:37 tron Exp $ | 1 | # $NetBSD: Makefile,v 1.29 2012/07/24 08:38:53 sno Exp $ | |
2 | 2 | |||
3 | DISTNAME= HTML-Tree-4.2 | 3 | DISTNAME= HTML-Tree-5.02 | |
4 | PKGNAME= p5-${DISTNAME} | 4 | PKGNAME= p5-${DISTNAME} | |
5 | SVR4_PKGNAME= p5htr | 5 | SVR4_PKGNAME= p5htr | |
6 | CATEGORIES= www perl5 | 6 | CATEGORIES= www perl5 | |
7 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/} | 7 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/} | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://search.cpan.org/dist/HTML-Tree/ | 10 | HOMEPAGE= http://search.cpan.org/dist/HTML-Tree/ | |
11 | COMMENT= Perl5 modules for manipulating HTML syntax trees | 11 | COMMENT= Perl5 modules for manipulating HTML syntax trees | |
12 | LICENSE= ${PERL5_LICENSE} | 12 | LICENSE= ${PERL5_LICENSE} | |
13 | 13 | |||
14 | DEPENDS+= p5-HTML-Parser>=3.46:../../www/p5-HTML-Parser | 14 | DEPENDS+= p5-HTML-Parser>=3.46:../../www/p5-HTML-Parser | |
15 | DEPENDS+= p5-HTML-Tagset>=3.02:../../www/p5-HTML-Tagset | 15 | DEPENDS+= p5-HTML-Tagset>=3.02:../../www/p5-HTML-Tagset | |
16 | 16 | # recommended, but result in circular dependency | ||
17 | BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception | 17 | #DEPENDS+= p5-HTML-Format-[0-9]*:../../www/p5-HTML-Format | |
18 | # recommended | |||
19 | DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI | |||
20 | ||||
21 | # Build dependencies Encode, Test::More and base are in Perl5 core ... | |||
22 | BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Exception | |||
23 | BUILD_DEPENDS+= p5-Test-LeakTrace-[0-9]*:../../devel/p5-Test-LeakTrace | |||
18 | 24 | |||
19 | PKG_DESTDIR_SUPPORT= user-destdir | 25 | PKG_DESTDIR_SUPPORT= user-destdir | |
20 | PKG_INSTALLATION_TYPES= overwrite pkgviews | 26 | PKG_INSTALLATION_TYPES= overwrite pkgviews | |
21 | 27 | |||
28 | PERL5_MODULE_TYPE= Module::Build | |||
22 | USE_LANGUAGES= # empty | 29 | USE_LANGUAGES= # empty | |
23 | PERL5_PACKLIST= auto/HTML/Tree/.packlist | 30 | PERL5_PACKLIST= auto/HTML/Tree/.packlist | |
24 | 31 | |||
25 | .include "../../lang/perl5/module.mk" | 32 | .include "../../lang/perl5/module.mk" | |
26 | .include "../../mk/bsd.pkg.mk" | 33 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.12 2011/08/07 08:47:37 tron Exp $ | 1 | $NetBSD: distinfo,v 1.13 2012/07/24 08:38:53 sno Exp $ | |
2 | 2 | |||
3 | SHA1 (HTML-Tree-4.2.tar.gz) = 90fc3f3a2269b32a224f2d905e6e47b5ec4bd600 | 3 | SHA1 (HTML-Tree-5.02.tar.gz) = 899bc572de36456c04d9b7a7b2f980dedf387324 | |
4 | RMD160 (HTML-Tree-4.2.tar.gz) = 81a93be6962f5142025d5012ae604ed932fe86ca | 4 | RMD160 (HTML-Tree-5.02.tar.gz) = 987de99678d4ab2f6842c9ef57e538242b787a12 | |
5 | Size (HTML-Tree-4.2.tar.gz) = 155774 bytes | 5 | Size (HTML-Tree-5.02.tar.gz) = 147057 bytes |