summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorsno <sno>2010-09-21 21:19:25 +0000
committersno <sno>2010-09-21 21:19:25 +0000
commit9a6ecb7d44c55738bc69f4d01b8380ccf8a58e1d (patch)
treeed8cbd1547f642847ad7bac0aed7446c780b7e24 /www
parent4f769578247b04755fee3438e07c540ac78b90e7 (diff)
downloadpkgsrc-9a6ecb7d44c55738bc69f4d01b8380ccf8a58e1d.tar.gz
Updating www/p5-HTML-Tree from 3.23nb2 to 4.0
pkgsrc changes: - adjust dependencies - adding license definition Upstream changes: 4.0 Mon Sep 20 2010 [THINGS THAT MAY BREAK YOUR CODE OR TESTS] * Changes to entity encoding from ord values to XML entities may break tests expecting &#00; style encoding. * Attribute names are now validated in as_XML and invalid names will cause an error. [FIXES] * Optionally empty tags with content now have close tag. (RT #49932 #41806) * Added attribute name validation. (RT #23439) * Added span to @TAGS in AsSubs. (RT #55848) * Changed tag encoding to human readable form, e.g. &gt;, and stopped re-encoding encoded tags (RT #55835) * Added no_expand_entities option to disable entity decoding when parsing source. (RT #24947) * Fix replace_with not setting parent for an array of content. (RT #28204 #45495) * Removed newline being appended to as_HTML output. (RT #41739) * Fix invalid parent for subsclasses. (RT #36247) * Fixed #! line in tests (RT #41945) * Switched to Module::Build * Fixed Perl::Critic errors * Added lots of use strict and use warnings * Fix PERL_UNICODE breaking tests. (RT #28404) * Add check for class type to traverse. (RT #35948) * Move attribute name validation to as_XML. (RT #60619) * Fix critic test exploding if Test::Perl::Critic isn't installed. * Fix annoying message about x.yy_z not being numeric in t/building.t * Added extra_chars options to as_trimmed_text (RT #26436) * Added catch for broken table tags (RT #59980) * Replace parentheses for constants. (RT #58880) * Removed build deps Devel::Cover, Test::Pod::Coverage, Test::Perl::Critic. (RT #58878) * Added create_makefile_pl => 'traditional' to Build.PL (RT #58878) [ENHANCEMENTS] * (Ricardo Signes RT #26282) The secret hack to allow elements to be created from classes other than HTML::Element has been cleaned up and documented for the benefit of TreeBuilder subclasses. q.v., HTML::TreeBuilder->element_class * Added HTML::Element::encoded_content to control encoding of entities on output. [TESTS] * Added test for optionally empty tags, like A. * Added test for invalid attribute name. * Added more tests for entity parsing. * Add parent test from Christopher J. Madsen. (RT #28204) * Add subclass test. (RT #36247) [DOCUMENTATION] * Docs spelling patch from Ansgar Burchardt <ansgar@43-1.org> (RT #55836) * Added definition of white space to as_trimmed_text. (RT #26436)
Diffstat (limited to 'www')
-rw-r--r--www/p5-HTML-Tree/Makefile11
-rw-r--r--www/p5-HTML-Tree/distinfo8
2 files changed, 11 insertions, 8 deletions
diff --git a/www/p5-HTML-Tree/Makefile b/www/p5-HTML-Tree/Makefile
index cdf0ca2ccc2..181f27f4a8f 100644
--- a/www/p5-HTML-Tree/Makefile
+++ b/www/p5-HTML-Tree/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.25 2010/08/21 16:36:51 seb Exp $
+# $NetBSD: Makefile,v 1.26 2010/09/21 21:19:25 sno Exp $
-DISTNAME= HTML-Tree-3.23
+DISTNAME= HTML-Tree-4.0
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 2
+#PKGREVISION= 2
SVR4_PKGNAME= p5htr
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/}
@@ -10,15 +10,18 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/HTML-Tree/
COMMENT= Perl5 modules for manipulating HTML syntax trees
+LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-HTML-Parser>=3.46:../../www/p5-HTML-Parser
DEPENDS+= p5-HTML-Tagset>=3.02:../../www/p5-HTML-Tagset
+BUILD_DEPENDS+= p5-Test-Exception-[0-9]*:../../devel/p5-Test-Exception
+
PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= # empty
-PERL5_PACKLIST= auto/HTML-Tree/.packlist
+PERL5_PACKLIST= auto/HTML/Tree/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-HTML-Tree/distinfo b/www/p5-HTML-Tree/distinfo
index 8c8f3a1596c..2c18d9d7dfe 100644
--- a/www/p5-HTML-Tree/distinfo
+++ b/www/p5-HTML-Tree/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2007/02/18 03:17:10 wiz Exp $
+$NetBSD: distinfo,v 1.10 2010/09/21 21:19:25 sno Exp $
-SHA1 (HTML-Tree-3.23.tar.gz) = 25135e1888aa9805cdfce0907ff17a6fdd422b0e
-RMD160 (HTML-Tree-3.23.tar.gz) = 5a0878cc3c36fad4d309f02b498efcf4dacbc552
-Size (HTML-Tree-3.23.tar.gz) = 121438 bytes
+SHA1 (HTML-Tree-4.0.tar.gz) = 78689f1fd026f03432e886c6b4b49f7d4d89aa8b
+RMD160 (HTML-Tree-4.0.tar.gz) = ad245baea05b58b63adf7ba6addef32a90057fda
+Size (HTML-Tree-4.0.tar.gz) = 129998 bytes