r65873 - in /branches/upstream/libpod-readme-perl/current: Build.PL Changes MANIFEST META.yml Makefile.PL lib/Pod/Readme.pm

ansgar at users.alioth.debian.org ansgar at users.alioth.debian.org
Thu Dec 16 11:49:46 UTC 2010


Author: ansgar
Date: Thu Dec 16 11:49:39 2010
New Revision: 65873

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=65873
Log:
[svn-upgrade] new version libpod-readme-perl (0.11)

Removed:
    branches/upstream/libpod-readme-perl/current/Build.PL
Modified:
    branches/upstream/libpod-readme-perl/current/Changes
    branches/upstream/libpod-readme-perl/current/MANIFEST
    branches/upstream/libpod-readme-perl/current/META.yml
    branches/upstream/libpod-readme-perl/current/Makefile.PL
    branches/upstream/libpod-readme-perl/current/lib/Pod/Readme.pm

Modified: branches/upstream/libpod-readme-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpod-readme-perl/current/Changes?rev=65873&op=diff
==============================================================================
--- branches/upstream/libpod-readme-perl/current/Changes (original)
+++ branches/upstream/libpod-readme-perl/current/Changes Thu Dec 16 11:49:39 2010
@@ -1,4 +1,10 @@
 Revision history for Perl extension Pod::Readme.
+
+0.11  2010-12-09
+        - Recognise the =encoding directive, rather than dying when it's
+          encountered.
+          TODO: actually take heed of it.
+          Thanks to Ivan Bessarabov for bringing this to my attention!
 
 0.10  2010-05-19
         - David Precious <davidp at preshweb.co.uk> taking over maintainership

Modified: branches/upstream/libpod-readme-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpod-readme-perl/current/MANIFEST?rev=65873&op=diff
==============================================================================
--- branches/upstream/libpod-readme-perl/current/MANIFEST (original)
+++ branches/upstream/libpod-readme-perl/current/MANIFEST Thu Dec 16 11:49:39 2010
@@ -1,8 +1,6 @@
-Build.PL
 Changes
 Makefile.PL
 MANIFEST
-META.yml
 README
 bin/pod2readme
 t/10-basic.t
@@ -10,3 +8,4 @@
 t/90-pod.t
 t/90-podcover.t
 lib/Pod/Readme.pm
+META.yml                                 Module meta-data (added by MakeMaker)

Modified: branches/upstream/libpod-readme-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpod-readme-perl/current/META.yml?rev=65873&op=diff
==============================================================================
--- branches/upstream/libpod-readme-perl/current/META.yml (original)
+++ branches/upstream/libpod-readme-perl/current/META.yml Thu Dec 16 11:49:39 2010
@@ -1,32 +1,27 @@
----
-abstract: 'Convert POD to README file'
+--- #YAML:1.0
+name:               Pod-Readme
+version:            0.11
+abstract:           Convert POD to README file
 author:
-  - 'Robert Rothenberg <rrwo at cpan.org>'
+    - David Precious <davidp at preshweb.co.uk>
+license:            perl
+distribution_type:  module
+configure_requires:
+    ExtUtils::MakeMaker:  0
 build_requires:
-  Test::More: 0
-configure_requires:
-  Module::Build: 0.36
-generated_by: 'Module::Build version 0.3603'
-license: perl
+    ExtUtils::MakeMaker:  0
+requires:
+    Carp:            0
+    File::Copy:      0
+    IO::File:        0
+    Pod::Text:       3.0
+    Regexp::Common:  0
+    Test::More:      0
+no_index:
+    directory:
+        - t
+        - inc
+generated_by:       ExtUtils::MakeMaker version 6.56
 meta-spec:
-  url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
-name: Pod-Readme
-provides:
-  Pod::Readme:
-    file: lib/Pod/Readme.pm
-    version: 0.10
-recommends:
-  Test::Pod: 1.00
-  Test::Pod::Coverage: 0
-  Test::Portability::Files: 0
-requires:
-  Carp: 0
-  File::Copy: 0
-  IO::File: 0
-  Pod::Text: 3.0
-  Regexp::Common: 0
-  perl: 5.005
-resources:
-  license: http://dev.perl.org/licenses/
-version: 0.10
+    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
+    version:  1.4

Modified: branches/upstream/libpod-readme-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpod-readme-perl/current/Makefile.PL?rev=65873&op=diff
==============================================================================
--- branches/upstream/libpod-readme-perl/current/Makefile.PL (original)
+++ branches/upstream/libpod-readme-perl/current/Makefile.PL Thu Dec 16 11:49:39 2010
@@ -1,22 +1,27 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.3603
-require 5.005;
+use strict;
+use warnings;
 use ExtUtils::MakeMaker;
-WriteMakefile
-(
-          'NAME' => 'Pod::Readme',
-          'VERSION_FROM' => 'lib/Pod/Readme.pm',
-          'PREREQ_PM' => {
-                           'Carp' => 0,
-                           'File::Copy' => 0,
-                           'IO::File' => 0,
-                           'Pod::Text' => '3.0',
-                           'Regexp::Common' => 0,
-                           'Test::More' => 0
-                         },
-          'INSTALLDIRS' => 'site',
-          'EXE_FILES' => [
-                           'bin/pod2readme'
-                         ],
-          'PL_FILES' => {}
-        )
-;
+WriteMakefile(
+    NAME => 'Pod::Readme',
+    AUTHOR => 'David Precious <davidp at preshweb.co.uk>',
+    VERSION_FROM => 'lib/Pod/Readme.pm',
+    ABSTRACT_FROM => 'lib/Pod/Readme.pm',
+    ($ExtUtils::MakeMaker::VERSION >= 6.3002
+        ? (LICENSE=> 'perl')
+                : ()),
+    PREREQ_PM => {
+                    'Carp' => '0',
+                    'File::Copy' => '0',
+                    'IO::File' => '0',
+                    'Pod::Text' => '3.0',
+                    'Regexp::Common' => '0',
+                    'Test::More' => '0'
+                    },
+    INSTALLDIRS => 'site',
+    EXE_FILES => [
+                    'bin/pod2readme'
+                    ],
+    PL_FILES => {},
+    dist       => { COMPRESS => 'gzip -9f', SUFFIX => 'gz' },
+    clean      => { FILES => 'Pod-Readme-*' },
+);

Modified: branches/upstream/libpod-readme-perl/current/lib/Pod/Readme.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libpod-readme-perl/current/lib/Pod/Readme.pm?rev=65873&op=diff
==============================================================================
--- branches/upstream/libpod-readme-perl/current/lib/Pod/Readme.pm (original)
+++ branches/upstream/libpod-readme-perl/current/lib/Pod/Readme.pm Thu Dec 16 11:49:39 2010
@@ -60,7 +60,7 @@
 
 @ISA = qw( Pod::PlainText );
 
-$VERSION = '0.10';
+$VERSION = '0.11';
 
 =begin internal
 
@@ -264,6 +264,32 @@
   }
 }
 
+=begin internal
+
+=over
+
+=item cmd_encoding
+
+Handle =encoding directive.
+
+TODO: actually change the encoding of the output file.
+
+=back
+
+=end internal
+
+=cut
+
+sub cmd_encoding {
+    my $self = shift;
+    my $encoding = (split /\s+/, shift)[0];
+    if ($self->{_encoding}) {
+        die "=encoding option must occur only once!";
+    }
+    $self->{_encoding} = $encoding;
+    # TODO: Need to actually do something with this option
+    # At least recognising it and not dying is a step in the right direction.
+}
 
 =begin internal
 




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