Commit graph

28 commits

Author SHA1 Message Date
tron
cc4518634a Update "p5-HTML-Tree" package to version 4.2. Changes since version 4.1:
- [FIXES]
  - Tied all $VERSION to HTML::Element to ensure latest package is used
   for all modules. RT #66110
  - Moved perlcritic tests to xt/author
- [DOCUMENTATION]
  - Added text and link to "Perl and LWP" book.
  - Fix Authors is all PM files.
2011-08-07 08:47:37 +00:00
wiz
434f1253e6 Update to 4.1:
4.1 Mon Oct 25 2010
    [FIXES]
    * '/' is a valid attribute (pull from tokuhirom) (RT #61809)
    * Change check fo subclasses in as_HTML. (RT #61673)
    * Fix ProhibitThreeArgumentOpen being triggered. (RT #61857)
2010-12-02 12:30:29 +00:00
sno
c1274645b0 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 � 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)
2010-09-21 21:19:25 +00:00
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
heinz
162bc27b93 The package supports installation to DESTDIR 2008-01-05 22:38:08 +00:00
wiz
8426767dac Update to 3.23:
3.23    Sun Nov 12 11:09:31 CST 2006
    [THINGS THAT MAY BREAK YOUR CODE OR TESTS]
    * Mark-Jason Dominus points out that the fix for as_html was not
      proper, and broken behavior should never be codified.  Fixed
      as_html so an empty string doesn't encode entites, instead of
      blaming the behavior on HTML::Entities.  (RT 18571)

3.22 	Sat Nov 11 21:23:22 CST 2006
    [THINGS THAT MAY BREAK YOUR CODE OR TESTS]
    * HTML::Element::as_XML now only escapes five characters, instead
      of escaping everything but alphanumerics and spaces.  This is
      more in line with the XML spec, and will no longer escape wide
      characters as two (or more) entities.  Resolves RT 14260.  Thanks
      to Carl Franks and somewhere [at] confuzzled.lu for assistance.

    [FIXES]
    * A string comparison was commented to use lc() on both sides, but
      didn't.  This caused HTML::Element::look_down to not properly find
      elements in certain cases.  Thanks to Andrew Suhachov. (RT 21114)

    [TESTS]
    * Added several new tests and enhanced others.  Thanks to Rocco
      Caputo for t/attributes.t, and several others for providing
      test cases in their RT bugs.

    [DOCUMENTATION]
    * Fixed description of HTML::Element::all_attr_names.  Thanks
      to dsteinbrunner [at] pobox.com for catching it.
    * Fixed example code in HTML::Element::push_content.  Thanks
      to dsteinbrunner [at] pobox.com for catching it. (RT 21293)
    * Fixed description of HTML::Element::as_HTML.  Thanks to
      Mark-Jason Dominus for catching it.  (RT 18569)


3.21	Sun Aug  6 19:10:00 CDT 2006
    [FIXES]
    * Updated HTML::Parser requirement to 3.46 to fix a bug in
      tag-rendering.t, noted in RT 20816 and 19796.  Thanks to
      Gordon Lack and Ricardo Signes
    * Fixed HTML::TreeBuilder to not remove &nbsp; where it shouldn't,
      using patch supplied in RT 17481.  Thanks to Chris Madsen.

    [DOCUMENTATION]
    * HTML-Tree has a new maintainer: Pete Krawczyk
2007-02-18 03:17:10 +00:00
heinz
50238c3bc0 Updated to version 3.20.
Pkgsrc changes:
  - Introduced USE_LANGUAGES.

Relevant changes since version 3.19_01:
=======================================

    [THINGS THAT MAY BREAK YOUR CODE]
    * The store_declarations() method has been restored, but defaults
      to true instead of false.

    [THINGS THAT MAY BREAK YOUR CODE]
    * The store_declarations() method has been removed.
    * Non-closing HTML tags like <IMG> are now rendered as <IMG />.
    * All values in tags are now double-quoted.  Previously, all-numeric
      values weren't quoted.
2006-07-12 17:11:22 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
wiz
d05c5ca198 Update to latest stable version, 3.19.01:
2005-11-09   Andy Lester

   Release 3.19_01 -- No new functionality.  New tests, though!
   Thanks to the Chicago Perl Mongers for their work.
2006-01-01 23:11:38 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00
minskim
99d1da0226 Bl3ify and enable pkgviews installation. 2004-04-25 05:47:02 +00:00
jlam
e8132b3fbf Relinquish maintainership of packages to tech-pkg@NetBSD.org. 2004-04-24 22:46:08 +00:00
heinz
3f53b57d05 Add HOMEPAGE 2004-01-18 21:29:59 +00:00
heinz
c6b695757a Update to 3.18
2003-09-15   Sean M. Burke <sburke@cpan.org>

   Release 3.18 -- bugfix to test, adding qr// to look_(down|up)

   Accepting Iain 'Spoon' Truskett's neat patch for qr// as lookdown
   operators (previously you had to do sub { $_[0]=~ m/.../}).

   Rewrote some tests, notably parsefile.t, which was pointlessly
   failing because of an incompatibility with an HTML::Parser version.

   Removed the disused ancient utils "dtd2pm" and "ent" from the dist.
2004-01-18 21:15:06 +00:00
martti
33e2a02324 COMMENT should start with a capital letter. 2003-07-22 04:14:17 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
kleink
162ad8c82f Update to 3.17 (3.11 is no longer available from CPAN); changes include:
2003-01-18   Sean M. Burke <sburke@cpan.org>

   Release 3.17 -- minor bugfix

   HTML::Element : Making as_HTML('',...) work just like
   as_HTML(undef,...).  Also fixing as_XML's docs to remove mention of
   an unimplemented feature (specifying what characters to escape).


2002-11-06   Sean M. Burke <sburke@cpan.org>

   Release 3.16 -- just fixing a doc typo.


2002-11-06   Sean M. Burke <sburke@cpan.org>

   Release 3.15 -- a few new features.

   Added the aliases "descendents" and "find" to HTML::Element.

   Added a new method "simplify_pres" to HTML::Element.


2002-10-19   Sean M. Burke <sburke@cpan.org>
   Release 3.14 -- minor bugfix

   Just fixes a few problems in HTML::Element with the number_lists
   method.


2002-08-16   Sean M. Burke <sburke@cpan.org>

   Release 3.13 -- basically a bugfix version

   It turns out that 3.12 had a hideous HTML::TreeBuilder bug that
   made the whole thing damn near useless.  Fixed.
   Many many thanks to Michael Koehne for catching this!

   Wrote t/parse.t, to catch this sort of thing from happening again.

   Fixed a bug that would treat <td> outside any table context
   as <tr><table><td> instead of <table><tr><td>



2002-07-30   Sean M. Burke <sburke@cpan.org>

   Release 3.12

   Added as_trimmed_text method to HTML::Element, as described
   (prophesied?) in the fantabulous new book /Perl & LWP/.

   Bugfix: fixed unshift_content when given a LoL.  (_parent wasn't
   getting set right.)

   HTML::Element and HTML::TreeBuilder now enforce at least some
   minimal sanity on what can be in a tag name.  (Notably, no spaces,
   slashes, or control characters.)

   Semi-bugfix: $element->replace_with(...) can now take LoLs in its
   replacement list.

   Bumped HTML::Element version up to 3.12 (right from 3.09)

   Semi-bugfix: as_XML now doesn't use named entities in its return
   value -- it always uses numeric entities.

   Added behavior: new_frow_lol can now do clever things in list
   context.

   HTML::Tree -- added blurb for /Perl & LWP/

   HTML::TreeBuilder -- added blurb for /Perl & LWP/
   Also added a few tweaks to do better with XHTML parsing.
   Added guts() and disembowel() methods, for parsing document fragments.


   TODO: desperately need to add tests to t/
2003-03-16 21:27:21 +00:00
seb
e8328761a2 Use buildlink2. Use perl5/module.mk. 2002-10-27 20:48:55 +00:00
jlam
cc4128d97e Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-26 06:49:36 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
tv
fed6343588 Update to 3.11. 2001-07-09 17:43:57 +00:00
wiz
a0745845b3 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:21:28 +00:00
tv
3a8ba3540e Update to 3.08 (2.04 no longer on CPAN) 2000-12-04 01:58:18 +00:00
jlam
e6bc65c651 p5-HTML-Tree: perl5 modules for manipulating HTML syntax trees 2000-10-15 02:50:49 +00:00