r62965 - in /trunk/libhtml-parser-perl/debian: changelog control patches/example_selfdocs.patch patches/series

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Sat Sep 25 22:59:17 UTC 2010


Author: periapt-guest
Date: Sat Sep 25 22:59:06 2010
New Revision: 62965

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=62965
Log:
* Added myself to Uploaders
* Started working on #584088

Added:
    trunk/libhtml-parser-perl/debian/patches/example_selfdocs.patch
Modified:
    trunk/libhtml-parser-perl/debian/changelog
    trunk/libhtml-parser-perl/debian/control
    trunk/libhtml-parser-perl/debian/patches/series

Modified: trunk/libhtml-parser-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-parser-perl/debian/changelog?rev=62965&op=diff
==============================================================================
--- trunk/libhtml-parser-perl/debian/changelog (original)
+++ trunk/libhtml-parser-perl/debian/changelog Sat Sep 25 22:59:06 2010
@@ -1,5 +1,6 @@
 libhtml-parser-perl (3.68-1) UNRELEASED; urgency=low
 
+  [ Salvatore Bonaccorso ]
   # no need to upload, only changes in POD and 
   # for specific case of bleadperl 
   IGNORE-VERSION: 3.68-1
@@ -7,6 +8,10 @@
   * New upstream release
   * Bump Standards-Version to 3.9.1.
   * Refresh debian/copyright file.
+
+  [ Nicholas Bamber ]
+  * Added myself to Uploaders
+  * Started working on #584088
 
  -- Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>  Thu, 02 Sep 2010 07:49:31 +0200
 

Modified: trunk/libhtml-parser-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-parser-perl/debian/control?rev=62965&op=diff
==============================================================================
--- trunk/libhtml-parser-perl/debian/control (original)
+++ trunk/libhtml-parser-perl/debian/control Sat Sep 25 22:59:06 2010
@@ -5,7 +5,7 @@
  libhtml-tagset-perl, libtest-pod-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>,
- Damyan Ivanov <dmn at debian.org>,
+ Damyan Ivanov <dmn at debian.org>, Nicholas Bamber <nicholas at periapt.co.uk>,
  Antonio Radici <antonio at dyne.org>,
  Rene Mayorga <rmayorga at debian.org>, Jonathan Yu <jawnsy at cpan.org>,
  Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>

Added: trunk/libhtml-parser-perl/debian/patches/example_selfdocs.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-parser-perl/debian/patches/example_selfdocs.patch?rev=62965&op=file
==============================================================================
--- trunk/libhtml-parser-perl/debian/patches/example_selfdocs.patch (added)
+++ trunk/libhtml-parser-perl/debian/patches/example_selfdocs.patch Sat Sep 25 22:59:06 2010
@@ -1,0 +1,45 @@
+--- a/eg/hanchors
++++ b/eg/hanchors
+@@ -6,6 +6,7 @@
+ # See also HTML::LinkExtor
+ 
+ use HTML::Parser;
++use Encode;
+ 
+ my $p = HTML::Parser->new(api_version => 3,
+      start_h => [\&a_start_handler, "self,tagname,attr"],
+@@ -35,7 +36,7 @@
+ sub a_end_handler
+ {
+     my($self, $tag) = @_;
+-    my $text = join("", @{$self->handler("text")});
++    my $text = encode('utf8',join("", @{$self->handler("text")}));
+     $text =~ s/^\s+//;
+     $text =~ s/\s+$//;
+     $text =~ s/\s+/ /g;
+--- /dev/null
++++ b/eg/README
+@@ -0,0 +1,11 @@
++For all of these scripts if you run them with a file argument, where the file
++contains some HTML, you should get some output.
++
++For example try running:
++
++lynx -dump -source -raw http://www.debian.org > /tmp/a.txt
++./hanchors /tmp/a.txt
++
++Of course if http://www.debian.org is not your favourite web site you can
++make the appropriate substitution.
++
+--- a/eg/hlc
++++ b/eg/hlc
+@@ -1,5 +1,9 @@
+ #!/usr/bin/perl -w
+ 
++# This script will assume that the first command line argument
++# is a file containing HTML, and return a version
++# where all the tags are converted to lowercase.
++
+ use strict;
+ use HTML::Parser ();
+ 

Modified: trunk/libhtml-parser-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-parser-perl/debian/patches/series?rev=62965&op=diff
==============================================================================
--- trunk/libhtml-parser-perl/debian/patches/series (original)
+++ trunk/libhtml-parser-perl/debian/patches/series Sat Sep 25 22:59:06 2010
@@ -1,1 +1,2 @@
 debian_examples_location.patch
+example_selfdocs.patch




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