summaryrefslogtreecommitdiff
path: root/www/p5-HTML-Tree
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2012-07-24 08:38:53 +0000
committersno <sno@pkgsrc.org>2012-07-24 08:38:53 +0000
commitc19eeda8e7c03b079ba4e6d59f54b92bbb0accd5 (patch)
treeb64eaa40d9f8ffe0206539d0a5064846d1b484ed /www/p5-HTML-Tree
parent7350bbdd40bc90cc7f52a211f53e985137abafda (diff)
downloadpkgsrc-c19eeda8e7c03b079ba4e6d59f54b92bbb0accd5.tar.gz
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)
Diffstat (limited to 'www/p5-HTML-Tree')
-rw-r--r--www/p5-HTML-Tree/Makefile13
-rw-r--r--www/p5-HTML-Tree/distinfo8
2 files changed, 14 insertions, 7 deletions
diff --git a/www/p5-HTML-Tree/Makefile b/www/p5-HTML-Tree/Makefile
index 64eca21ec55..894b4c233e2 100644
--- a/www/p5-HTML-Tree/Makefile
+++ b/www/p5-HTML-Tree/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2011/08/07 08:47:37 tron Exp $
+# $NetBSD: Makefile,v 1.29 2012/07/24 08:38:53 sno Exp $
-DISTNAME= HTML-Tree-4.2
+DISTNAME= HTML-Tree-5.02
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5htr
CATEGORIES= www perl5
@@ -13,12 +13,19 @@ LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-HTML-Parser>=3.46:../../www/p5-HTML-Parser
DEPENDS+= p5-HTML-Tagset>=3.02:../../www/p5-HTML-Tagset
+# recommended, but result in circular dependency
+#DEPENDS+= p5-HTML-Format-[0-9]*:../../www/p5-HTML-Format
+# recommended
+DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
-BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
+# Build dependencies Encode, Test::More and base are in Perl5 core ...
+BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Exception
+BUILD_DEPENDS+= p5-Test-LeakTrace-[0-9]*:../../devel/p5-Test-LeakTrace
PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PERL5_MODULE_TYPE= Module::Build
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/HTML/Tree/.packlist
diff --git a/www/p5-HTML-Tree/distinfo b/www/p5-HTML-Tree/distinfo
index 14954b34384..942fc45eb7f 100644
--- a/www/p5-HTML-Tree/distinfo
+++ b/www/p5-HTML-Tree/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2011/08/07 08:47:37 tron Exp $
+$NetBSD: distinfo,v 1.13 2012/07/24 08:38:53 sno Exp $
-SHA1 (HTML-Tree-4.2.tar.gz) = 90fc3f3a2269b32a224f2d905e6e47b5ec4bd600
-RMD160 (HTML-Tree-4.2.tar.gz) = 81a93be6962f5142025d5012ae604ed932fe86ca
-Size (HTML-Tree-4.2.tar.gz) = 155774 bytes
+SHA1 (HTML-Tree-5.02.tar.gz) = 899bc572de36456c04d9b7a7b2f980dedf387324
+RMD160 (HTML-Tree-5.02.tar.gz) = 987de99678d4ab2f6842c9ef57e538242b787a12
+Size (HTML-Tree-5.02.tar.gz) = 147057 bytes