r59704 - in /trunk/libpod-tree-perl: Changes META.yml README ToDo.Not debian/changelog lib/Pod/Tree.pm pods2html t/pods2html.t

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Tue Jun 22 17:27:03 UTC 2010


Author: gregoa
Date: Tue Jun 22 17:26:52 2010
New Revision: 59704

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

Modified:
    trunk/libpod-tree-perl/Changes
    trunk/libpod-tree-perl/META.yml
    trunk/libpod-tree-perl/README
    trunk/libpod-tree-perl/ToDo.Not
    trunk/libpod-tree-perl/debian/changelog
    trunk/libpod-tree-perl/lib/Pod/Tree.pm
    trunk/libpod-tree-perl/pods2html
    trunk/libpod-tree-perl/t/pods2html.t

Modified: trunk/libpod-tree-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-tree-perl/Changes?rev=59704&op=diff
==============================================================================
--- trunk/libpod-tree-perl/Changes (original)
+++ trunk/libpod-tree-perl/Changes Tue Jun 22 17:26:52 2010
@@ -1,4 +1,8 @@
 Revision history for Perl extension Pod::Tree
+
+1.17	2010 Jun 21
+	pods2html
+	- quote paths in REs
 
 1.16    2009 Apr 10
 	Pod::Tree::HTML

Modified: trunk/libpod-tree-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-tree-perl/META.yml?rev=59704&op=diff
==============================================================================
--- trunk/libpod-tree-perl/META.yml (original)
+++ trunk/libpod-tree-perl/META.yml Tue Jun 22 17:26:52 2010
@@ -1,16 +1,19 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
-name:         Pod-Tree
-version:      1.16
-version_from: lib/Pod/Tree.pm
-installdirs:  site
-requires:
+--- #YAML:1.0
+name:                Pod-Tree
+version:             1.17
+abstract:            Create a static syntax tree for a POD
+license:             ~
+generated_by:        ExtUtils::MakeMaker version 6.32
+distribution_type:   module
+requires:     
     File::Find:                    1
     HTML::Stream:                  1.49
     IO::File:                      1
     IO::String:                    1
     Pod::Escapes:                  1.02
     Text::Template:                1
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.30_01
+meta-spec:
+    url:     http://module-build.sourceforge.net/META-spec-v1.2.html
+    version: 1.2
+author:
+    - Steven McDougall (swmcd at world.std.com)

Modified: trunk/libpod-tree-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-tree-perl/README?rev=59704&op=diff
==============================================================================
--- trunk/libpod-tree-perl/README (original)
+++ trunk/libpod-tree-perl/README Tue Jun 22 17:26:52 2010
@@ -86,6 +86,6 @@
 
 
 COPYRIGHT
-Copyright (c) 1999-2009 by Steven McDougall. This module is free
+Copyright (c) 1999-2010 by Steven McDougall. This module is free
 software; you can redistribute it and/or modify it under the same
 terms as Perl itself.

Modified: trunk/libpod-tree-perl/ToDo.Not
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-tree-perl/ToDo.Not?rev=59704&op=diff
==============================================================================
--- trunk/libpod-tree-perl/ToDo.Not (original)
+++ trunk/libpod-tree-perl/ToDo.Not Tue Jun 22 17:26:52 2010
@@ -8,27 +8,18 @@
 hooks to pods2html to support them.
 
 
-2. Make pods2html support \ in Win32 paths
-I write Perl code that runs on Win32, and I don't generally have to
-hack the paths. I couldn't find any reference to this issue in either
-the PerlFAQ or the ActiveState docs. Before hacking pods2html, I would
-want an authoritative statement of
-- what the problem is
-- a robust way to fix it
-
-
-3. Remove the ($] >= 5.005 ? key from Makefile.PL
+2. Remove the ($] >= 5.005 ? key from Makefile.PL
 I had a complaint that this syntax breaks on Cygwin, but I can no
 longer contact the person who reported it to confirm the problem.
 
 
-4. Generate an index and TOC in the sytle of Marek::Pod::Html
+3. Generate an index and TOC in the sytle of Marek::Pod::Html
 This is
 - beyond the scope of POD
 - beyond the scope of Pod::Tree
 
 
-5. XHTML support
+4. XHTML support
 I've had a request for XHTML compliance.
 I thought this would be easy
 - downcase all the tags
@@ -39,17 +30,18 @@
 the first, and the second is a big job.
 
 
-6. Solaris problem
+5. Solaris problem
 A test failure on Solaris that I don't understand and probably can't
 reproduce. This may be another example of the $Config{perlpath} vs.
 perl problem.
   
 
-7. Complaint of -w warnings on empty paragraphs
+6. Complaint of -w warnings on empty paragraphs
 I can't reproduce this, and I haven't been able to contact the
 reporter. 
 
-8.HTML classes for CSS
+
+7. HTML classes for CSS
 I have a request to specify HTML classes to support CSS. It's not hard
 to do, but it bulks up both the code and the generated HTML, and it
 isn't clear that it gains anything. Style sheets can use HTML element

Modified: trunk/libpod-tree-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-tree-perl/debian/changelog?rev=59704&op=diff
==============================================================================
--- trunk/libpod-tree-perl/debian/changelog (original)
+++ trunk/libpod-tree-perl/debian/changelog Tue Jun 22 17:26:52 2010
@@ -1,3 +1,9 @@
+libpod-tree-perl (1.17-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- gregor herrmann <gregoa at debian.org>  Tue, 22 Jun 2010 19:25:51 +0200
+
 libpod-tree-perl (1.16-1) unstable; urgency=low
 
   * Initial Release (closes: #561849)

Modified: trunk/libpod-tree-perl/lib/Pod/Tree.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-tree-perl/lib/Pod/Tree.pm?rev=59704&op=diff
==============================================================================
--- trunk/libpod-tree-perl/lib/Pod/Tree.pm (original)
+++ trunk/libpod-tree-perl/lib/Pod/Tree.pm Tue Jun 22 17:26:52 2010
@@ -51,7 +51,7 @@
 use Pod::Tree::Node;
 use base qw(Exporter);
 
-$Pod::Tree::VERSION = '1.16';
+$Pod::Tree::VERSION = '1.17';
 
 
 sub new

Modified: trunk/libpod-tree-perl/pods2html
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-tree-perl/pods2html?rev=59704&op=diff
==============================================================================
--- trunk/libpod-tree-perl/pods2html (original)
+++ trunk/libpod-tree-perl/pods2html Tue Jun 22 17:26:52 2010
@@ -84,7 +84,7 @@
 	return;
     }
 
-    $dir =~ s/^$PodDir/$HTMLDir/o;
+    $dir =~ s/^\Q$PodDir/$HTMLDir/o;
     -d $dir or MkDir $dir;
     print "$File::Find::name\n";
 }
@@ -99,7 +99,7 @@
     print "$source\n";
 
     my $dest = $source;
-    $dest =~ s/^$PodDir/$HTMLDir/;
+    $dest =~ s/^\Q$PodDir/$HTMLDir/o;
     $dest =~ s( \.\w+$ )(.html)x;
 
     my $depth = Depth($source);
@@ -279,7 +279,7 @@
 =item C<--empty>
 
 Creates HTML files for empty PODs.
-If this options is not provided, then no HTML file is created for empty PODs.
+If this option is not provided, then no HTML file is created for empty PODs.
 
 
 =item C<--index> I<title>
@@ -353,5 +353,5 @@
 
 =head1 COPYRIGHT
 
-Copyright (c) 1999-2007 by Steven McDougall.  This program is free software;
+Copyright (c) 1999-2010 by Steven McDougall.  This program is free software;
 you can redistribute it and/or modify it under the same terms as Perl.

Modified: trunk/libpod-tree-perl/t/pods2html.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libpod-tree-perl/t/pods2html.t?rev=59704&op=diff
==============================================================================
--- trunk/libpod-tree-perl/t/pods2html.t (original)
+++ trunk/libpod-tree-perl/t/pods2html.t Tue Jun 22 17:26:52 2010
@@ -67,10 +67,12 @@
 {
     my $d = shift;
     
+    my $pods2html = "blib/script/pods2html";
+
     rmtree("$d/podR/HTML");
-    system "blib/script/pods2html $d/podR $d/podR/HTML";
+    system "$Config{perlpath} blib/script/pods2html $d/podR $d/podR/HTML";
     RDiff("$d/podR_exp", "$d/podR") and Not; OK;
-    system "blib/script/pods2html $d/podR $d/podR/HTML";
+    system "$Config{perlpath} blib/script/pods2html $d/podR $d/podR/HTML";
     RDiff("$d/podR_exp", "$d/podR") and Not; OK;
 }
 




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