c1274645b0
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 � 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. >, 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)
27 lines
793 B
Makefile
27 lines
793 B
Makefile
# $NetBSD: Makefile,v 1.26 2010/09/21 21:19:25 sno Exp $
|
|
|
|
DISTNAME= HTML-Tree-4.0
|
|
PKGNAME= p5-${DISTNAME}
|
|
#PKGREVISION= 2
|
|
SVR4_PKGNAME= p5htr
|
|
CATEGORIES= www perl5
|
|
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
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|