r63338 - in /trunk/libgetopt-long-descriptive-perl: ./ debian/ debian/source/ lib/Getopt/Long/ lib/Getopt/Long/Descriptive/

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Oct 5 00:02:20 UTC 2010


Author: jawnsy-guest
Date: Tue Oct  5 00:01:52 2010
New Revision: 63338

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=63338
Log:
  + Small fix to eliminate warnings when perl is run with -w
* Standards-Version 3.9.1 (no changes)
* Use new 3.0 (quilt) source format

Added:
    trunk/libgetopt-long-descriptive-perl/debian/source/
    trunk/libgetopt-long-descriptive-perl/debian/source/format
Modified:
    trunk/libgetopt-long-descriptive-perl/Changes
    trunk/libgetopt-long-descriptive-perl/META.yml
    trunk/libgetopt-long-descriptive-perl/Makefile.PL
    trunk/libgetopt-long-descriptive-perl/README
    trunk/libgetopt-long-descriptive-perl/debian/changelog
    trunk/libgetopt-long-descriptive-perl/debian/control
    trunk/libgetopt-long-descriptive-perl/debian/copyright
    trunk/libgetopt-long-descriptive-perl/lib/Getopt/Long/Descriptive.pm
    trunk/libgetopt-long-descriptive-perl/lib/Getopt/Long/Descriptive/Opts.pm
    trunk/libgetopt-long-descriptive-perl/lib/Getopt/Long/Descriptive/Usage.pm

Modified: trunk/libgetopt-long-descriptive-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgetopt-long-descriptive-perl/Changes?rev=63338&op=diff
==============================================================================
--- trunk/libgetopt-long-descriptive-perl/Changes (original)
+++ trunk/libgetopt-long-descriptive-perl/Changes Tue Oct  5 00:01:52 2010
@@ -1,4 +1,8 @@
 Revision history for Getopt-Long-Descriptive
+
+0.086   2010-09-19
+        fix minimum required version of Sub::Exporter
+        minor tweak to avoid warnings when run with -w
 
 0.085   2010-03-13
         rewrite much of the documentation

Modified: trunk/libgetopt-long-descriptive-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgetopt-long-descriptive-perl/META.yml?rev=63338&op=diff
==============================================================================
--- trunk/libgetopt-long-descriptive-perl/META.yml (original)
+++ trunk/libgetopt-long-descriptive-perl/META.yml Tue Oct  5 00:01:52 2010
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               Getopt-Long-Descriptive
-version:            0.085
+version:            0.086
 abstract:           Getopt::Long, but simpler and more powerful
 author:
     - Hans Dieter Pearcey <hdp at cpan.org>
@@ -14,7 +14,7 @@
     Getopt::Long:      2.33
     List::Util:        0
     Params::Validate:  0.74
-    Sub::Exporter:     0
+    Sub::Exporter:     0.972
     Test::More:        0
 no_index:
     directory:

Modified: trunk/libgetopt-long-descriptive-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgetopt-long-descriptive-perl/Makefile.PL?rev=63338&op=diff
==============================================================================
--- trunk/libgetopt-long-descriptive-perl/Makefile.PL (original)
+++ trunk/libgetopt-long-descriptive-perl/Makefile.PL Tue Oct  5 00:01:52 2010
@@ -12,7 +12,7 @@
     'Getopt::Long'     => 2.33, # !-options get --no-X
     'List::Util'       => 0,
     'Params::Validate' => '0.74',
-    'Sub::Exporter'    => 0,
+    'Sub::Exporter'    => 0.972, # generator name with \'name'
     'Test::More'       => 0,
   },
   dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },

Modified: trunk/libgetopt-long-descriptive-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgetopt-long-descriptive-perl/README?rev=63338&op=diff
==============================================================================
--- trunk/libgetopt-long-descriptive-perl/README (original)
+++ trunk/libgetopt-long-descriptive-perl/README Tue Oct  5 00:01:52 2010
@@ -2,7 +2,7 @@
 
 VERSION
 
-0.085
+0.086
 
 INSTALLATION
 

Modified: trunk/libgetopt-long-descriptive-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgetopt-long-descriptive-perl/debian/changelog?rev=63338&op=diff
==============================================================================
--- trunk/libgetopt-long-descriptive-perl/debian/changelog (original)
+++ trunk/libgetopt-long-descriptive-perl/debian/changelog Tue Oct  5 00:01:52 2010
@@ -1,11 +1,11 @@
-libgetopt-long-descriptive-perl (0.085-1) UNRELEASED; urgency=low
-
-  Documentation changes only
-  IGNORE-VERSION: 0.085-1
+libgetopt-long-descriptive-perl (0.086-1) UNRELEASED; urgency=low
 
   * New upstream release
+    + Small fix to eliminate warnings when perl is run with -w
+  * Standards-Version 3.9.1 (no changes)
+  * Use new 3.0 (quilt) source format
 
- -- Jonathan Yu <jawnsy at cpan.org>  Sat, 13 Mar 2010 23:15:46 -0500
+ -- Jonathan Yu <jawnsy at cpan.org>  Mon, 04 Oct 2010 20:12:53 -0400
 
 libgetopt-long-descriptive-perl (0.084-1) unstable; urgency=low
 

Modified: trunk/libgetopt-long-descriptive-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgetopt-long-descriptive-perl/debian/control?rev=63338&op=diff
==============================================================================
--- trunk/libgetopt-long-descriptive-perl/debian/control (original)
+++ trunk/libgetopt-long-descriptive-perl/debian/control Tue Oct  5 00:01:52 2010
@@ -8,7 +8,7 @@
  gregor herrmann <gregoa at debian.org>, Jonathan Yu <jawnsy at cpan.org>,
  Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Standards-Version: 3.8.4
+Standards-Version: 3.9.1
 Homepage: http://search.cpan.org/dist/Getopt-Long-Descriptive/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libgetopt-long-descriptive-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libgetopt-long-descriptive-perl/

Modified: trunk/libgetopt-long-descriptive-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgetopt-long-descriptive-perl/debian/copyright?rev=63338&op=diff
==============================================================================
--- trunk/libgetopt-long-descriptive-perl/debian/copyright (original)
+++ trunk/libgetopt-long-descriptive-perl/debian/copyright Tue Oct  5 00:01:52 2010
@@ -18,8 +18,8 @@
  This program is free software; you can redistribute it and/or modify
  it under the terms of the Artistic License, which comes with Perl.
  .
- On Debian GNU/Linux systems, the complete text of the Artistic License
- can be found in `/usr/share/common-licenses/Artistic'
+ On Debian systems, the complete text of the Artistic License can be
+ found in `/usr/share/common-licenses/Artistic'
 
 License: GPL-1+
  This program is free software; you can redistribute it and/or modify
@@ -27,5 +27,5 @@
  the Free Software Foundation; either version 1, or (at your option)
  any later version.
  .
- On Debian GNU/Linux systems, the complete text of the GNU General
- Public License can be found in `/usr/share/common-licenses/GPL'
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in `/usr/share/common-licenses/GPL'

Added: trunk/libgetopt-long-descriptive-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgetopt-long-descriptive-perl/debian/source/format?rev=63338&op=file
==============================================================================
--- trunk/libgetopt-long-descriptive-perl/debian/source/format (added)
+++ trunk/libgetopt-long-descriptive-perl/debian/source/format Tue Oct  5 00:01:52 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)

Modified: trunk/libgetopt-long-descriptive-perl/lib/Getopt/Long/Descriptive.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgetopt-long-descriptive-perl/lib/Getopt/Long/Descriptive.pm?rev=63338&op=diff
==============================================================================
--- trunk/libgetopt-long-descriptive-perl/lib/Getopt/Long/Descriptive.pm (original)
+++ trunk/libgetopt-long-descriptive-perl/lib/Getopt/Long/Descriptive.pm Tue Oct  5 00:01:52 2010
@@ -1,4 +1,5 @@
 use strict;
+use warnings;
 package Getopt::Long::Descriptive;
 
 use Carp qw(carp croak);
@@ -17,11 +18,11 @@
 
 =head1 VERSION
 
-Version 0.085
+Version 0.086
 
 =cut
 
-our $VERSION = '0.085';
+our $VERSION = '0.086';
 
 =head1 SYNOPSIS
 
@@ -62,8 +63,8 @@
 
 =head1 FUNCTIONS
 
-Getopt::Long::Descriptive only exports one routine, and exports it by default.
-It is exported with L<Sub::Exporter>.
+Getopt::Long::Descriptive only exports one routine by default:
+C<describe_options>.  All GLD's exports are exported by L<Sub::Exporter>.
 
 =head2 describe_options
 
@@ -83,7 +84,7 @@
 to die with it.  For more methods and options, consults the documentation for
 the Usage class.
 
-=head3 usage_desc
+=head3 $usage_desc
 
 The C<$usage_desc> parameter to C<describe_options> is a C<sprintf>-like string
 that is used in generating the first line of the usage message.  It's a
@@ -104,7 +105,7 @@
 Literal C<%> characters will need to be written as C<%%>, just like with
 C<sprintf>.
 
-=head3 opt_spec
+=head3 @opt_spec
 
 The C<@opt_spec> part of the args to C<describe_options> is used to configure
 option parsing and to produce the usage message.  Each entry in the list is an
@@ -220,7 +221,7 @@
 
 =back
 
-=head3 arg
+=head3 %arg
 
 The C<%arg> to C<describe_options> is optional.  If the last parameter is a
 hashref, it contains extra arguments to modify the way C<describe_options>
@@ -256,7 +257,7 @@
 }
 
 use Sub::Exporter::Util ();
-use Sub::Exporter -setup => {
+use Sub::Exporter 0.972 -setup => {
   exports => [
     describe_options => \'_build_describe_options',
     q(prog_name),
@@ -285,7 +286,9 @@
     spec       => $_->[0] || '',
     desc       => @$_ > 1 ? $_->[1] : 'spacer',
     constraint => $_->[2] || {},
-    name       => _munge((split /[:=|!+]/, $_->[0] || '')[0]),
+
+    # if @$_ is 0 then we got [], a spacer
+    name       => @$_ ? _munge((split /[:=|!+]/, $_->[0] || '')[0]) : '',
   )} } @_;
 }
     

Modified: trunk/libgetopt-long-descriptive-perl/lib/Getopt/Long/Descriptive/Opts.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgetopt-long-descriptive-perl/lib/Getopt/Long/Descriptive/Opts.pm?rev=63338&op=diff
==============================================================================
--- trunk/libgetopt-long-descriptive-perl/lib/Getopt/Long/Descriptive/Opts.pm (original)
+++ trunk/libgetopt-long-descriptive-perl/lib/Getopt/Long/Descriptive/Opts.pm Tue Oct  5 00:01:52 2010
@@ -10,11 +10,11 @@
 
 =head1 VERSION
 
-Version 0.085
+Version 0.086
 
 =cut
 
-our $VERSION = '0.085';
+our $VERSION = '0.086';
 
 =head1 DESCRIPTION
 

Modified: trunk/libgetopt-long-descriptive-perl/lib/Getopt/Long/Descriptive/Usage.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgetopt-long-descriptive-perl/lib/Getopt/Long/Descriptive/Usage.pm?rev=63338&op=diff
==============================================================================
--- trunk/libgetopt-long-descriptive-perl/lib/Getopt/Long/Descriptive/Usage.pm (original)
+++ trunk/libgetopt-long-descriptive-perl/lib/Getopt/Long/Descriptive/Usage.pm Tue Oct  5 00:01:52 2010
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.085';
+our $VERSION = '0.086';
 
 use List::Util qw(max);
 




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