Tue Jul 24 08:38:54 2012 UTC ()
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)


(sno)
diff -r1.28 -r1.29 pkgsrc/www/p5-HTML-Tree/Makefile
diff -r1.12 -r1.13 pkgsrc/www/p5-HTML-Tree/distinfo

cvs diff -r1.28 -r1.29 pkgsrc/www/p5-HTML-Tree/Makefile (expand / switch to unified diff)

--- pkgsrc/www/p5-HTML-Tree/Makefile 2011/08/07 08:47:37 1.28
+++ pkgsrc/www/p5-HTML-Tree/Makefile 2012/07/24 08:38:53 1.29
@@ -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
3DISTNAME= HTML-Tree-4.2 3DISTNAME= HTML-Tree-5.02
4PKGNAME= p5-${DISTNAME} 4PKGNAME= p5-${DISTNAME}
5SVR4_PKGNAME= p5htr 5SVR4_PKGNAME= p5htr
6CATEGORIES= www perl5 6CATEGORIES= www perl5
7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/} 7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://search.cpan.org/dist/HTML-Tree/ 10HOMEPAGE= http://search.cpan.org/dist/HTML-Tree/
11COMMENT= Perl5 modules for manipulating HTML syntax trees 11COMMENT= Perl5 modules for manipulating HTML syntax trees
12LICENSE= ${PERL5_LICENSE} 12LICENSE= ${PERL5_LICENSE}
13 13
14DEPENDS+= p5-HTML-Parser>=3.46:../../www/p5-HTML-Parser 14DEPENDS+= p5-HTML-Parser>=3.46:../../www/p5-HTML-Parser
15DEPENDS+= p5-HTML-Tagset>=3.02:../../www/p5-HTML-Tagset 15DEPENDS+= p5-HTML-Tagset>=3.02:../../www/p5-HTML-Tagset
16 16# recommended, but result in circular dependency
17BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception 17#DEPENDS+= p5-HTML-Format-[0-9]*:../../www/p5-HTML-Format
 18# recommended
 19DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
 20
 21# Build dependencies Encode, Test::More and base are in Perl5 core ...
 22BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Exception
 23BUILD_DEPENDS+= p5-Test-LeakTrace-[0-9]*:../../devel/p5-Test-LeakTrace
18 24
19PKG_DESTDIR_SUPPORT= user-destdir 25PKG_DESTDIR_SUPPORT= user-destdir
20PKG_INSTALLATION_TYPES= overwrite pkgviews 26PKG_INSTALLATION_TYPES= overwrite pkgviews
21 27
 28PERL5_MODULE_TYPE= Module::Build
22USE_LANGUAGES= # empty 29USE_LANGUAGES= # empty
23PERL5_PACKLIST= auto/HTML/Tree/.packlist 30PERL5_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"

cvs diff -r1.12 -r1.13 pkgsrc/www/p5-HTML-Tree/distinfo (expand / switch to unified diff)

--- pkgsrc/www/p5-HTML-Tree/distinfo 2011/08/07 08:47:37 1.12
+++ pkgsrc/www/p5-HTML-Tree/distinfo 2012/07/24 08:38:53 1.13
@@ -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
3SHA1 (HTML-Tree-4.2.tar.gz) = 90fc3f3a2269b32a224f2d905e6e47b5ec4bd600 3SHA1 (HTML-Tree-5.02.tar.gz) = 899bc572de36456c04d9b7a7b2f980dedf387324
4RMD160 (HTML-Tree-4.2.tar.gz) = 81a93be6962f5142025d5012ae604ed932fe86ca 4RMD160 (HTML-Tree-5.02.tar.gz) = 987de99678d4ab2f6842c9ef57e538242b787a12
5Size (HTML-Tree-4.2.tar.gz) = 155774 bytes 5Size (HTML-Tree-5.02.tar.gz) = 147057 bytes