r73268 - in /trunk/libhtml-tree-perl: ./ debian/ lib/HTML/ lib/HTML/Element/ lib/HTML/Tree/ t/ xt/

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Apr 23 17:35:02 UTC 2011


Author: gregoa
Date: Sat Apr 23 17:34:54 2011
New Revision: 73268

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=73268
Log:
New upstream release.

Added:
    trunk/libhtml-tree-perl/xt/
      - copied from r73266, branches/upstream/libhtml-tree-perl/current/xt/
Removed:
    trunk/libhtml-tree-perl/t/zz_perlcritic.t
    trunk/libhtml-tree-perl/t/zz_pod-coverage.t
    trunk/libhtml-tree-perl/t/zz_pod.t
Modified:
    trunk/libhtml-tree-perl/Build.PL
    trunk/libhtml-tree-perl/Changes
    trunk/libhtml-tree-perl/MANIFEST
    trunk/libhtml-tree-perl/META.yml
    trunk/libhtml-tree-perl/Makefile.PL
    trunk/libhtml-tree-perl/debian/changelog
    trunk/libhtml-tree-perl/lib/HTML/AsSubs.pm
    trunk/libhtml-tree-perl/lib/HTML/Element.pm
    trunk/libhtml-tree-perl/lib/HTML/Element/traverse.pm
    trunk/libhtml-tree-perl/lib/HTML/Parse.pm
    trunk/libhtml-tree-perl/lib/HTML/Tree.pm
    trunk/libhtml-tree-perl/lib/HTML/Tree/Scanning.pod
    trunk/libhtml-tree-perl/lib/HTML/TreeBuilder.pm

Modified: trunk/libhtml-tree-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tree-perl/Build.PL?rev=73268&op=diff
==============================================================================
--- trunk/libhtml-tree-perl/Build.PL (original)
+++ trunk/libhtml-tree-perl/Build.PL Sat Apr 23 17:34:54 2011
@@ -6,14 +6,29 @@
 my $class = Module::Build->subclass(
     class => 'My::Builder',
     code  => q{
+        sub ACTION_authortest {
+            my ($self) = @_;
+            $self->depends_on('build');
+            $self->depends_on('manifest');
+            $self->depends_on('distmeta');
+            $self->test_files( qw< t xt/author > );
+            $self->recursive_test_files(1);
+            $self->depends_on('test');
+            return;
+        }
+        sub ACTION_distdir {
+            my ($self) = @_;
+            $self->depends_on('authortest');
+            return $self->SUPER::ACTION_distdir();
+        }
     }
 );
 
 my $builder = $class->new(
     module_name       => 'HTML::Tree',
     license           => 'perl',
-    dist_author       => 'Jeff Fearn <Jeff.Fearn at gmail.com>',
-    dist_version_from => 'lib/HTML/Tree.pm',
+    dist_author       => 'Jeff Fearn <jfearn at cpan.org>',
+    dist_version_from => 'lib/HTML/Element.pm',
 	create_makefile_pl => 'traditional',
     build_requires    => {
         'Module::Build'       => 0,

Modified: trunk/libhtml-tree-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tree-perl/Changes?rev=73268&op=diff
==============================================================================
--- trunk/libhtml-tree-perl/Changes (original)
+++ trunk/libhtml-tree-perl/Changes Sat Apr 23 17:34:54 2011
@@ -1,4 +1,13 @@
 Changelog for HTML-Tree
+4.2
+    [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.
+
 4.1 Mon Oct 25 2010
     [FIXES]
     * '/' is a valid attribute (pull from tokuhirom) (RT #61809)

Modified: trunk/libhtml-tree-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tree-perl/MANIFEST?rev=73268&op=diff
==============================================================================
--- trunk/libhtml-tree-perl/MANIFEST (original)
+++ trunk/libhtml-tree-perl/MANIFEST Sat Apr 23 17:34:54 2011
@@ -10,7 +10,9 @@
 lib/HTML/Tree/AboutTrees.pod
 lib/HTML/Tree/Scanning.pod
 lib/HTML/TreeBuilder.pm
+Makefile.PL
 MANIFEST
+META.yml
 README
 t/00system.t
 t/assubs.t
@@ -31,9 +33,7 @@
 t/subclass.t
 t/tag-rendering.t
 t/unicode.t
-t/zz_perlcritic.t
-t/zz_pod-coverage.t
-t/zz_pod.t
 TODO
-META.yml
-Makefile.PL
+xt/author/zz_perlcritic.t
+xt/author/zz_pod-coverage.t
+xt/author/zz_pod.t

Modified: trunk/libhtml-tree-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tree-perl/META.yml?rev=73268&op=diff
==============================================================================
--- trunk/libhtml-tree-perl/META.yml (original)
+++ trunk/libhtml-tree-perl/META.yml Sat Apr 23 17:34:54 2011
@@ -1,42 +1,44 @@
 ---
-name: HTML-Tree
-version: 4.1
+abstract: 'Class for objects that represent HTML elements'
 author:
-  - 'Jeff Fearn <Jeff.Fearn at gmail.com>'
-abstract: build and scan parse-trees of HTML
-license: perl
-resources:
-  license: http://dev.perl.org/licenses/
-requires:
-  HTML::Parser: 3.46
-  HTML::Tagset: 3.02
-  perl: 5.8.0
+  - 'Jeff Fearn <jfearn at cpan.org>'
 build_requires:
   HTML::Parser: 3.46
   HTML::Tagset: 3.02
   Module::Build: 0
   Test::Exception: 0
   Test::More: 0
+configure_requires:
+  Module::Build: 0.36
+generated_by: 'Module::Build version 0.3603'
+license: perl
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: HTML-Tree
 provides:
   HTML::AsSubs:
     file: lib/HTML/AsSubs.pm
-    version: 1.16
+    version: 4.2
   HTML::Element:
     file: lib/HTML/Element.pm
-    version: 4.1
+    version: 4.2
   HTML::Element::traverse:
     file: lib/HTML/Element/traverse.pm
-    version: 0
+    version: 4.2
   HTML::Parse:
     file: lib/HTML/Parse.pm
-    version: 2.71
+    version: 4.2
   HTML::Tree:
     file: lib/HTML/Tree.pm
-    version: 4.1
+    version: 4.2
   HTML::TreeBuilder:
     file: lib/HTML/TreeBuilder.pm
-    version: 4.1
-generated_by: Module::Build version 0.32
-meta-spec:
-  url: http://module-build.sourceforge.net/META-spec-v1.2.html
-  version: 1.2
+    version: 4.2
+requires:
+  HTML::Parser: 3.46
+  HTML::Tagset: 3.02
+  perl: v5.8.0
+resources:
+  license: http://dev.perl.org/licenses/
+version: 4.2

Modified: trunk/libhtml-tree-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tree-perl/Makefile.PL?rev=73268&op=diff
==============================================================================
--- trunk/libhtml-tree-perl/Makefile.PL (original)
+++ trunk/libhtml-tree-perl/Makefile.PL Sat Apr 23 17:34:54 2011
@@ -1,14 +1,15 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.32
-require 5.8.0;
+# Note: this file was auto-generated by Module::Build::Compat version 0.3603
+require 5.008000;
 use ExtUtils::MakeMaker;
 WriteMakefile
 (
+          'PL_FILES' => {},
           'INSTALLDIRS' => 'site',
           'NAME' => 'HTML::Tree',
           'EXE_FILES' => [
                            'htmltree'
                          ],
-          'VERSION_FROM' => 'lib/HTML/Tree.pm',
+          'VERSION_FROM' => 'lib/HTML/Element.pm',
           'PREREQ_PM' => {
                            'Test::More' => 0,
                            'Test::Exception' => 0,

Modified: trunk/libhtml-tree-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tree-perl/debian/changelog?rev=73268&op=diff
==============================================================================
--- trunk/libhtml-tree-perl/debian/changelog (original)
+++ trunk/libhtml-tree-perl/debian/changelog Sat Apr 23 17:34:54 2011
@@ -1,3 +1,9 @@
+libhtml-tree-perl (4.2-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- gregor herrmann <gregoa at debian.org>  Sat, 23 Apr 2011 19:33:25 +0200
+
 libhtml-tree-perl (4.1-1) unstable; urgency=low
 
   * New upstream release.

Modified: trunk/libhtml-tree-perl/lib/HTML/AsSubs.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tree-perl/lib/HTML/AsSubs.pm?rev=73268&op=diff
==============================================================================
--- trunk/libhtml-tree-perl/lib/HTML/AsSubs.pm (original)
+++ trunk/libhtml-tree-perl/lib/HTML/AsSubs.pm Sat Apr 23 17:34:54 2011
@@ -78,7 +78,7 @@
 require Exporter;
 @ISA = qw(Exporter);
 
-$VERSION = '1.16';
+$VERSION = 4.2;
 
 # Problem: exports so damned much.  Has no concept of "export only HTML4
 #  elements".  TODO:?? make something that make functions that just

Modified: trunk/libhtml-tree-perl/lib/HTML/Element.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tree-perl/lib/HTML/Element.pm?rev=73268&op=diff
==============================================================================
--- trunk/libhtml-tree-perl/lib/HTML/Element.pm (original)
+++ trunk/libhtml-tree-perl/lib/HTML/Element.pm Sat Apr 23 17:34:54 2011
@@ -6,7 +6,7 @@
 
 =head1 VERSION
 
-Version 4.1
+Version 4.2
 
 =cut
 
@@ -17,7 +17,7 @@
 use integer;    # vroom vroom!
 
 use vars qw( $VERSION );
-$VERSION = '4.1';
+$VERSION = 4.2;
 
 # This contorls encoding entities on output.
 # When set entities won't be re-encoded.
@@ -4193,9 +4193,16 @@
 
 =head1 AUTHOR
 
-Currently maintained by Pete Krawczyk C<< <petek at cpan.org> >>
-
-Original authors: Gisle Aas, Sean Burke and Andy Lester.
+Current Author:
+	Jeff Fearn C<< <jfearn at cpan.org> >>.
+
+Original HTML-Tree author:
+	Gisle Aas.
+
+Former Authors:
+	Sean M. Burke.
+	Andy Lester.
+	Pete Krawczyk C<< <petek at cpan.org> >>.
 
 Thanks to Mark-Jason Dominus for a POD suggestion.
 

Modified: trunk/libhtml-tree-perl/lib/HTML/Element/traverse.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tree-perl/lib/HTML/Element/traverse.pm?rev=73268&op=diff
==============================================================================
--- trunk/libhtml-tree-perl/lib/HTML/Element/traverse.pm (original)
+++ trunk/libhtml-tree-perl/lib/HTML/Element/traverse.pm Sat Apr 23 17:34:54 2011
@@ -7,7 +7,8 @@
 use strict;
 
 use HTML::Element ();
-$VERSION = $VERSION = $HTML::Element::VERSION;
+use vars qw( $VERSION );
+$VERSION = 4.2;
 1;
 
 __END__
@@ -326,7 +327,15 @@
 Copyright 2000,2001 Sean M. Burke
 
 =head1 AUTHOR
-
-Sean M. Burke, E<lt>sburke at cpan.orgE<gt>
+Current Author:
+	Jeff Fearn C<< <jfearn at cpan.org> >>.
+
+Original HTML-Tree author:
+	Gisle Aas.
+
+Former Authors:
+	Sean M. Burke.
+	Andy Lester.
+	Pete Krawczyk C<< <petek at cpan.org> >>.
 
 =cut

Modified: trunk/libhtml-tree-perl/lib/HTML/Parse.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tree-perl/lib/HTML/Parse.pm?rev=73268&op=diff
==============================================================================
--- trunk/libhtml-tree-perl/lib/HTML/Parse.pm (original)
+++ trunk/libhtml-tree-perl/lib/HTML/Parse.pm Sat Apr 23 17:34:54 2011
@@ -97,10 +97,16 @@
 merchantability or fitness for a particular purpose.
 
 =head1 AUTHOR
+Current Author:
+	Jeff Fearn C<< <jfearn at cpan.org> >>.
 
-Currently maintained by Pete Krawczyk C<< <petek at cpan.org> >>
+Original HTML-Tree author:
+	Gisle Aas.
 
-Original authors: Gisle Aas, Sean Burke and Andy Lester.
+Former Authors:
+	Sean M. Burke.
+	Andy Lester.
+	Pete Krawczyk C<< <petek at cpan.org> >>.
 
 =cut
 
@@ -123,7 +129,7 @@
 
 require HTML::TreeBuilder;
 
-$VERSION = '2.71';
+$VERSION = 4.2;
 
 sub parse_html {
     my $p = $_[1];

Modified: trunk/libhtml-tree-perl/lib/HTML/Tree.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tree-perl/lib/HTML/Tree.pm?rev=73268&op=diff
==============================================================================
--- trunk/libhtml-tree-perl/lib/HTML/Tree.pm (original)
+++ trunk/libhtml-tree-perl/lib/HTML/Tree.pm Sat Apr 23 17:34:54 2011
@@ -6,7 +6,7 @@
 
 =head1 VERSION
 
-4.1
+4.2
 
 =cut
 
@@ -18,7 +18,7 @@
 use HTML::TreeBuilder ();
 
 use vars qw( $VERSION );
-$VERSION = '4.1';
+$VERSION = 4.2;
 
 =head1 SYNOPSIS
 
@@ -54,6 +54,9 @@
     unshift @_, 'HTML::TreeBuilder';
     goto &HTML::TreeBuilder::new_from_content;
 }
+
+1;
+__END__
 
 =head1 DESCRIPTION
 
@@ -182,9 +185,16 @@
 
 =head1 AUTHOR
 
-Original HTML-Tree author Gisle Aas.  Handed off to Sean M. Burke.
-and Andy Lester.  Currently maintained by Pete Krawczyk
-C<< <petek at cpan.org> >>.
+Current Author:
+	Jeff Fearn C<< <jfearn at cpan.org> >>.
+
+Original HTML-Tree author:
+	Gisle Aas.
+
+Former Authors:
+	Sean M. Burke.
+	Andy Lester.
+	Pete Krawczyk C<< <petek at cpan.org> >>.
 
 =head1 COPYRIGHT
 
@@ -206,4 +216,3 @@
 
 =cut
 
-1;

Modified: trunk/libhtml-tree-perl/lib/HTML/Tree/Scanning.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tree-perl/lib/HTML/Tree/Scanning.pod?rev=73268&op=diff
==============================================================================
--- trunk/libhtml-tree-perl/lib/HTML/Tree/Scanning.pod (original)
+++ trunk/libhtml-tree-perl/lib/HTML/Tree/Scanning.pod Sat Apr 23 17:34:54 2011
@@ -17,6 +17,11 @@
 Journal> #19 and is copyright 2000 The Perl Journal. It appears
 courtesy of Jon Orwant and The Perl Journal.  This document may be
 distributed under the same terms as Perl itself.
+
+(Note that this is discussed in chapters 6 through 10 of the
+book I<Perl and LWP> L<http://lwp.interglacial.com/> which
+was written after the following documentation, and which is
+available free online.)
 
 =head1 Scanning HTML
 

Modified: trunk/libhtml-tree-perl/lib/HTML/TreeBuilder.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tree-perl/lib/HTML/TreeBuilder.pm?rev=73268&op=diff
==============================================================================
--- trunk/libhtml-tree-perl/lib/HTML/TreeBuilder.pm (original)
+++ trunk/libhtml-tree-perl/lib/HTML/TreeBuilder.pm Sat Apr 23 17:34:54 2011
@@ -5,7 +5,6 @@
 use integer;    # vroom vroom!
 use Carp ();
 use vars qw(@ISA $VERSION $DEBUG);
-$VERSION = '4.1';
 
 #---------------------------------------------------------------------------
 # Make a 'DEBUG' constant...
@@ -59,6 +58,7 @@
 use HTML::Element ();
 use HTML::Parser  ();
 @ISA = qw(HTML::Element HTML::Parser);
+$VERSION = 4.2;
 
 # This looks schizoid, I know.
 # It's not that we ARE an element AND a parser.
@@ -2143,8 +2143,16 @@
 
 =head1 AUTHOR
 
-Currently maintained by Pete Krawczyk C<< <petek at cpan.org> >>
-
-Original authors: Gisle Aas, Sean Burke and Andy Lester.
+Current Author:
+	Jeff Fearn C<< <jfearn at cpan.org> >>.
+
+Original HTML-Tree author:
+	Gisle Aas.
+
+Former Authors:
+	Sean M. Burke.
+	Andy Lester.
+	Pete Krawczyk C<< <petek at cpan.org> >>.
+
 
 =cut




More information about the Pkg-perl-cvs-commits mailing list