r44230 - in /trunk/libmoosex-app-cmd-perl: ./ debian/ lib/MooseX/App/ lib/MooseX/App/Cmd/ t/lib/Test/ConfigFromFile/Command/ t/lib/Test/MyCmd/Command/

carnil-guest at users.alioth.debian.org carnil-guest at users.alioth.debian.org
Fri Sep 18 05:56:10 UTC 2009


Author: carnil-guest
Date: Fri Sep 18 05:56:04 2009
New Revision: 44230

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44230
Log:
* New upstream release
  - various fixes for upstream version of App::Cmd
* Add versioned dependency on libapp-cmd-perl (>= 0.3). 
* Bump Standards-Version to 3.8.3 (no changes) 

Modified:
    trunk/libmoosex-app-cmd-perl/Changes
    trunk/libmoosex-app-cmd-perl/META.yml
    trunk/libmoosex-app-cmd-perl/Makefile.PL
    trunk/libmoosex-app-cmd-perl/SIGNATURE
    trunk/libmoosex-app-cmd-perl/debian/changelog
    trunk/libmoosex-app-cmd-perl/debian/control
    trunk/libmoosex-app-cmd-perl/lib/MooseX/App/Cmd.pm
    trunk/libmoosex-app-cmd-perl/lib/MooseX/App/Cmd/Command.pm
    trunk/libmoosex-app-cmd-perl/t/lib/Test/ConfigFromFile/Command/moo.pm
    trunk/libmoosex-app-cmd-perl/t/lib/Test/MyCmd/Command/bark.pm
    trunk/libmoosex-app-cmd-perl/t/lib/Test/MyCmd/Command/frobulate.pm
    trunk/libmoosex-app-cmd-perl/t/lib/Test/MyCmd/Command/justusage.pm

Modified: trunk/libmoosex-app-cmd-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-app-cmd-perl/Changes?rev=44230&op=diff
==============================================================================
--- trunk/libmoosex-app-cmd-perl/Changes (original)
+++ trunk/libmoosex-app-cmd-perl/Changes Fri Sep 18 05:56:04 2009
@@ -1,3 +1,6 @@
+0.06
+    - various fixes for upstream version of App::Cmd (vovkasm & brunov)
+
 0.05
     - Various minor fixes due to upstream module changes
 

Modified: trunk/libmoosex-app-cmd-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-app-cmd-perl/META.yml?rev=44230&op=diff
==============================================================================
--- trunk/libmoosex-app-cmd-perl/META.yml (original)
+++ trunk/libmoosex-app-cmd-perl/META.yml Fri Sep 18 05:56:04 2009
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               MooseX-App-Cmd
-version:            0.05
+version:            0.06
 abstract:           ~
 author:  []
 license:            unknown
@@ -10,7 +10,7 @@
 build_requires:
     ExtUtils::MakeMaker:  0
 requires:
-    App::Cmd:             0
+    App::Cmd:             0.3
     Getopt::Long::Descriptive:  0
     Moose:                0.86
     MooseX::Getopt:       0.18
@@ -19,7 +19,7 @@
     directory:
         - t
         - inc
-generated_by:       ExtUtils::MakeMaker version 6.52
+generated_by:       ExtUtils::MakeMaker version 6.55_02
 meta-spec:
     url:      http://module-build.sourceforge.net/META-spec-v1.4.html
     version:  1.4

Modified: trunk/libmoosex-app-cmd-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-app-cmd-perl/Makefile.PL?rev=44230&op=diff
==============================================================================
--- trunk/libmoosex-app-cmd-perl/Makefile.PL (original)
+++ trunk/libmoosex-app-cmd-perl/Makefile.PL Fri Sep 18 05:56:04 2009
@@ -12,7 +12,7 @@
     PL_FILES     => {},
     PREREQ_PM    => {
         'Test::use::ok'             => 0,
-        'App::Cmd'                  => 0,
+        'App::Cmd'                  => 0.3,
         'Moose'                     => 0.86,
         'MooseX::Getopt'            => "0.18",
         'Getopt::Long::Descriptive' => 0,

Modified: trunk/libmoosex-app-cmd-perl/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-app-cmd-perl/SIGNATURE?rev=44230&op=diff
==============================================================================
--- trunk/libmoosex-app-cmd-perl/SIGNATURE (original)
+++ trunk/libmoosex-app-cmd-perl/SIGNATURE Fri Sep 18 05:56:04 2009
@@ -14,29 +14,29 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 a19265068585a4e891f3b054ea7eeccb86968cdf Changes
+SHA1 41ab8d2fee4d3585fa96cf7271185d7981770242 Changes
 SHA1 c740fe5cba821190dc99d8baf6d996a9094bea70 MANIFEST
 SHA1 190e9058eb9c6446a1a3f3ddf15b082f1ecde152 MANIFEST.SKIP
-SHA1 a15ce2ef5542c10bbb299486bf3bc00932a097e9 META.yml
-SHA1 c4597d32f5ce0e45cb6dc0bc8817dca93c4a7fcc Makefile.PL
-SHA1 e71eb061d6871635a413788d94513a6f5ac5cf46 lib/MooseX/App/Cmd.pm
-SHA1 4540a56b0070a02b4d402b2dcb81dc0c796f9dd4 lib/MooseX/App/Cmd/Command.pm
+SHA1 9aadae0336be8de9e394efa63925c46e63ff739b META.yml
+SHA1 dc4043304d3cfc51685c6617e9168c2698494f06 Makefile.PL
+SHA1 4a94f61c2fba8d1614bc31f94a425f1eee2b7302 lib/MooseX/App/Cmd.pm
+SHA1 7e9ff06775478b85c1546427eb78446e8077f598 lib/MooseX/App/Cmd/Command.pm
 SHA1 6fd801b5eb71c402d484782b81d0f4a8379a7f36 t/00-load.t
 SHA1 f952086edd71b83111f01d208454c51bc46dbf84 t/basic.t
 SHA1 622180410b221c9662e86ffd412f949c2eba8768 t/build_emulates_new.t
 SHA1 efd7c468870324bf54d442e06ea93f83dea173f8 t/configfile.t
 SHA1 2b412bcfb4193c32081d4b100e7fafd1381ff4ad t/lib/Test/ConfigFromFile.pm
-SHA1 a9959ae836eb4a34ba071df980f38f196d887f59 t/lib/Test/ConfigFromFile/Command/moo.pm
+SHA1 c9829c568c78a7e48c976dbbe390a558dcf8fcb1 t/lib/Test/ConfigFromFile/Command/moo.pm
 SHA1 29e252d185222483c06a9af5070ea76942d4f64e t/lib/Test/ConfigFromFile/config.yaml
 SHA1 7c9fb28b6e6d4095bce936e3cc4c7ec2456aca10 t/lib/Test/MyCmd.pm
-SHA1 f456585d0015d3faee5d456bc1f9bf13e81a0ebf t/lib/Test/MyCmd/Command/bark.pm
-SHA1 1f6181faad0b9d1ff05c160fef1aa5a64cb4f815 t/lib/Test/MyCmd/Command/frobulate.pm
-SHA1 281c6db7a399ec0490f19abb073b50774e4073c6 t/lib/Test/MyCmd/Command/justusage.pm
+SHA1 6421073332e3f07899509b35b9973d95c58a877c t/lib/Test/MyCmd/Command/bark.pm
+SHA1 1e2fc7e3c247156590ae2e11ddd61460dff2a3cf t/lib/Test/MyCmd/Command/frobulate.pm
+SHA1 f87824cb16d7cb5e8636376363ca3043e25afdd9 t/lib/Test/MyCmd/Command/justusage.pm
 SHA1 a0e952beb3dc6eaf2de0b3aefc80fb57a1c6e409 t/lib/Test/MyCmd/Command/stock.pm
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.7 (Darwin)
+Version: GnuPG/MacGPG2 v2.0.12 (Darwin)
 
-iD8DBQFKUXDvVCwRwOvSdBgRAvtWAKCQYTec+xm9YcAvKYnhgTgnSwGXbgCbB1bP
-qTvKNTwrDYL6m/hhouLJ66w=
-=II+k
+iEYEARECAAYFAkqyxaMACgkQVCwRwOvSdBjFsgCgkhKvchJwNzIacW4huwdglOqD
+2T8AnAuQLW9I4Vc5ugmnAKs4CDkAaqn1
+=A1Ra
 -----END PGP SIGNATURE-----

Modified: trunk/libmoosex-app-cmd-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-app-cmd-perl/debian/changelog?rev=44230&op=diff
==============================================================================
--- trunk/libmoosex-app-cmd-perl/debian/changelog (original)
+++ trunk/libmoosex-app-cmd-perl/debian/changelog Fri Sep 18 05:56:04 2009
@@ -1,10 +1,14 @@
-libmoosex-app-cmd-perl (0.05-2) UNRELEASED; urgency=low
+libmoosex-app-cmd-perl (0.06-1) UNRELEASED; urgency=low
 
+  * New upstream release
+    - various fixes for upstream version of App::Cmd
   * debian/control: Changed: Replace versioned (build-)dependency on
     perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as
     permitted by Debian Policy 3.8.3).
+  * Add versioned dependency on libapp-cmd-perl (>= 0.3). 
+  * Bump Standards-Version to 3.8.3 (no changes) 
 
- -- Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>  Sun, 16 Aug 2009 20:15:00 +0200
+ -- Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>  Fri, 18 Sep 2009 07:54:49 +0200
 
 libmoosex-app-cmd-perl (0.05-1) unstable; urgency=low
 

Modified: trunk/libmoosex-app-cmd-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-app-cmd-perl/debian/control?rev=44230&op=diff
==============================================================================
--- trunk/libmoosex-app-cmd-perl/debian/control (original)
+++ trunk/libmoosex-app-cmd-perl/debian/control Fri Sep 18 05:56:04 2009
@@ -2,19 +2,19 @@
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 7)
-Build-Depends-Indep: libapp-cmd-perl, libgetopt-long-descriptive-perl,
+Build-Depends-Indep: libapp-cmd-perl (>= 0.3), libgetopt-long-descriptive-perl,
   libmoose-perl (>= 0.86), libmoosex-getopt-perl (>= 0.18), libtest-use-ok-perl,
   libtest-output-perl, perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: franck cuny <franck at lumberjaph.net>, Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>
-Standards-Version: 3.8.2
+Standards-Version: 3.8.3
 Homepage: http://search.cpan.org/dist/MooseX-App-Cmd/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmoosex-app-cmd-perl
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libmoosex-app-cmd-perl
 
 Package: libmoosex-app-cmd-perl
 Architecture: all
-Depends: ${misc:Depends}, ${perl:Depends}, libapp-cmd-perl,
+Depends: ${misc:Depends}, ${perl:Depends}, libapp-cmd-perl (>= 0.3),
   libgetopt-long-descriptive-perl, libmoose-perl (>= 0.86),
   libmoosex-getopt-perl (>= 0.18)
 Description: Perl module combining App::Cmd and MooseX::Getopt

Modified: trunk/libmoosex-app-cmd-perl/lib/MooseX/App/Cmd.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-app-cmd-perl/lib/MooseX/App/Cmd.pm?rev=44230&op=diff
==============================================================================
--- trunk/libmoosex-app-cmd-perl/lib/MooseX/App/Cmd.pm (original)
+++ trunk/libmoosex-app-cmd-perl/lib/MooseX/App/Cmd.pm Fri Sep 18 05:56:04 2009
@@ -23,7 +23,7 @@
   $self->{full_arg0} = $arg0;
 }
 
-our $VERSION = "0.05";
+our $VERSION = "0.06";
 
 __PACKAGE__;
 
@@ -65,7 +65,7 @@
         documentation => "recheck all results",
     );
 
-    sub run {
+    sub execute {
         my ( $self, $opt, $args ) = @_;
 
         # you may ignore $opt, it's in the attributes anyway

Modified: trunk/libmoosex-app-cmd-perl/lib/MooseX/App/Cmd/Command.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-app-cmd-perl/lib/MooseX/App/Cmd/Command.pm?rev=44230&op=diff
==============================================================================
--- trunk/libmoosex-app-cmd-perl/lib/MooseX/App/Cmd/Command.pm (original)
+++ trunk/libmoosex-app-cmd-perl/lib/MooseX/App/Cmd/Command.pm Fri Sep 18 05:56:04 2009
@@ -27,6 +27,7 @@
 
 sub _process_args {
     my ( $class, $args, @params ) = @_;
+    local @ARGV = @$args;
 
     my $config_from_file;
     if($class->meta->does_role('MooseX::ConfigFromFile')) {
@@ -46,7 +47,7 @@
     }
 
     my %processed = $class->_parse_argv(
-        argv => $args,
+        params => { argv => \@ARGV },
         options => [ $class->_attrs_to_options( $config_from_file ) ],
     );
 
@@ -90,7 +91,7 @@
         required => 1,
     );
 
-    sub run {
+    sub execute {
         my ( $self, $opts, $args ) = @_;
 
         print $self->option_field; # also available in $opts->{option_field}

Modified: trunk/libmoosex-app-cmd-perl/t/lib/Test/ConfigFromFile/Command/moo.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-app-cmd-perl/t/lib/Test/ConfigFromFile/Command/moo.pm?rev=44230&op=diff
==============================================================================
--- trunk/libmoosex-app-cmd-perl/t/lib/Test/ConfigFromFile/Command/moo.pm (original)
+++ trunk/libmoosex-app-cmd-perl/t/lib/Test/ConfigFromFile/Command/moo.pm Fri Sep 18 05:56:04 2009
@@ -19,7 +19,7 @@
     documentation => "required option field",
 );
 
-sub run {
+sub execute {
   my ($self, $opt, $arg) =@_;
 
   die ("cows go " . join(' ', $self->moo));

Modified: trunk/libmoosex-app-cmd-perl/t/lib/Test/MyCmd/Command/bark.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-app-cmd-perl/t/lib/Test/MyCmd/Command/bark.pm?rev=44230&op=diff
==============================================================================
--- trunk/libmoosex-app-cmd-perl/t/lib/Test/MyCmd/Command/bark.pm (original)
+++ trunk/libmoosex-app-cmd-perl/t/lib/Test/MyCmd/Command/bark.pm Fri Sep 18 05:56:04 2009
@@ -16,7 +16,7 @@
     documentation => "required option field",
 );
 
-sub run {
+sub execute {
   my ($self, $opt, $arg) =@_;
 
   die "my dog name barks " . $self->wow . "\n";

Modified: trunk/libmoosex-app-cmd-perl/t/lib/Test/MyCmd/Command/frobulate.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-app-cmd-perl/t/lib/Test/MyCmd/Command/frobulate.pm?rev=44230&op=diff
==============================================================================
--- trunk/libmoosex-app-cmd-perl/t/lib/Test/MyCmd/Command/frobulate.pm (original)
+++ trunk/libmoosex-app-cmd-perl/t/lib/Test/MyCmd/Command/frobulate.pm Fri Sep 18 05:56:04 2009
@@ -22,8 +22,8 @@
     documentation => "set widget name",
 );
 
-sub run {
-  my ($self, $opt, $arg) =@_;
+sub execute {
+  my ($self, $opt, $arg) = @_;
 
   die "the widget name is " . $self->widget . " - @$arg\n";
 }

Modified: trunk/libmoosex-app-cmd-perl/t/lib/Test/MyCmd/Command/justusage.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-app-cmd-perl/t/lib/Test/MyCmd/Command/justusage.pm?rev=44230&op=diff
==============================================================================
--- trunk/libmoosex-app-cmd-perl/t/lib/Test/MyCmd/Command/justusage.pm (original)
+++ trunk/libmoosex-app-cmd-perl/t/lib/Test/MyCmd/Command/justusage.pm Fri Sep 18 05:56:04 2009
@@ -9,7 +9,7 @@
 
 =cut
 
-sub run {
+sub execute {
   my ($self, $opt, $arg) = @_;
 
   die $self->usage->text;




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