r75817 - in /trunk/cpanminus: Changes META.json META.yml bin/cpanm debian/changelog lib/App/cpanminus.pm

ghedo-guest at users.alioth.debian.org ghedo-guest at users.alioth.debian.org
Thu Jun 16 14:03:46 UTC 2011


Author: ghedo-guest
Date: Thu Jun 16 14:03:37 2011
New Revision: 75817

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

Modified:
    trunk/cpanminus/Changes
    trunk/cpanminus/META.json
    trunk/cpanminus/META.yml
    trunk/cpanminus/bin/cpanm
    trunk/cpanminus/debian/changelog
    trunk/cpanminus/lib/App/cpanminus.pm

Modified: trunk/cpanminus/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/cpanminus/Changes?rev=75817&op=diff
==============================================================================
--- trunk/cpanminus/Changes (original)
+++ trunk/cpanminus/Changes Thu Jun 16 14:03:37 2011
@@ -1,4 +1,9 @@
 See http://github.com/miyagawa/cpanminus/ for the latest development.
+
+1.4008 Wed Jun 15 17:58:28 PDT 2011
+   [Improvements]
+      - Added experimental --skip-configure
+      - Delay load Module::Build bootstrap so that -L won't auto-intall the latest M::B
 
 1.4007 Tue May 17 10:51:18 PDT 2011
    [Incompatible Changes]

Modified: trunk/cpanminus/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/cpanminus/META.json?rev=75817&op=diff
==============================================================================
--- trunk/cpanminus/META.json (original)
+++ trunk/cpanminus/META.json Thu Jun 16 14:03:37 2011
@@ -39,5 +39,5 @@
       }
    },
    "release_status" : "stable",
-   "version" : "1.4007"
+   "version" : "1.4008"
 }

Modified: trunk/cpanminus/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/cpanminus/META.yml?rev=75817&op=diff
==============================================================================
--- trunk/cpanminus/META.yml (original)
+++ trunk/cpanminus/META.yml Thu Jun 16 14:03:37 2011
@@ -21,4 +21,4 @@
   ExtUtils::Install: 1.46
   ExtUtils::MakeMaker: 6.31
   Module::Build: 0.36
-version: 1.4007
+version: 1.4008

Modified: trunk/cpanminus/bin/cpanm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/cpanminus/bin/cpanm?rev=75817&op=diff
==============================================================================
--- trunk/cpanminus/bin/cpanm (original)
+++ trunk/cpanminus/bin/cpanm Thu Jun 16 14:03:37 2011
@@ -18,7 +18,7 @@
 
 $fatpacked{"App/cpanminus.pm"} = <<'APP_CPANMINUS';
   package App::cpanminus;
-  our $VERSION = "1.4007";
+  our $VERSION = "1.4008";
   
   =head1 NAME
   
@@ -314,7 +314,7 @@
   use constant WIN32 => $^O eq 'MSWin32';
   use constant SUNOS => $^O eq 'solaris';
   
-  our $VERSION = "1.4007";
+  our $VERSION = "1.4008";
   
   my $quote = WIN32 ? q/"/ : q/'/;
   
@@ -355,6 +355,7 @@
           scandeps_tree => [],
           format   => 'tree',
           save_dists => undef,
+          skip_configure => 0,
           @_,
       }, $class;
   }
@@ -409,6 +410,7 @@
           'save-dists=s' => sub {
               $self->{save_dists} = $self->maybe_abs($_[1]);
           },
+          'skip-configure!' => \$self->{skip_configure},
       );
   
       if (!@ARGV && $0 ne '-' && !-t STDIN){ # e.g. # cpanm < author/requires.cpanm
@@ -759,6 +761,8 @@
   sub _dump_inc {
       my($self, $inc, $std_inc) = @_;
   
+      # TODO Win32 has forward slashes in @INC but backslashes in %Config
+  
       # $self->{base} for ModuleBuildPatch.pm, . for inc/Module/Install.pm
       my @new_inc     = map { qq('$_') } (@$inc, $self->{base}, '.');
       my @exclude_inc = map { qq('$_') } grep { $_ ne '.' && !ref } $self->_diff($inc, $std_inc);
@@ -825,8 +829,7 @@
       my $self = shift;
       push @{$self->{bootstrap_deps}},
           'ExtUtils::MakeMaker' => 6.31,
-          'ExtUtils::Install'   => 1.46,
-          'Module::Build'       => 0.36;
+          'ExtUtils::Install'   => 1.46;
   }
   
   sub prompt_bool {
@@ -1357,8 +1360,10 @@
           # issues when a newer version is loaded from 'perl' while deps
           # are loaded from the 'site' library path. Just assume it's
           # not in the core, and install to the new local library path.
-          if ($mod eq 'Module::Build' && $core_version != $version) {
-              return 0, undef;
+          if ($mod eq 'Module::Build') {
+              if ($version < 0.36 or $core_version != $version) {
+                  return 0, undef;
+              }
           }
   
           $version = $core_version if $core_version;
@@ -1567,6 +1572,16 @@
   
   sub configure_this {
       my($self, $dist) = @_;
+  
+      if ($self->{skip_configure}) {
+          my $eumm = -e 'Makefile';
+          my $mb   = -e 'Build' && -f _;
+          return {
+              configured => 1,
+              configured_ok => $eumm || $mb,
+              use_module_build => $mb,
+          };
+      }
   
       my @switches;
       @switches = ("-I$self->{base}", "-MDumpedINC") if $self->{self_contained};
@@ -5476,7 +5491,7 @@
 =item --look
 
 Download and unpack the distribution and then open the directory with
-your shell. Handy to poke around the source code or do the manual
+your shell. Handy to poke around the source code or do manual
 testing.
 
 =item -h, --help

Modified: trunk/cpanminus/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/cpanminus/debian/changelog?rev=75817&op=diff
==============================================================================
--- trunk/cpanminus/debian/changelog (original)
+++ trunk/cpanminus/debian/changelog Thu Jun 16 14:03:37 2011
@@ -1,11 +1,8 @@
-cpanminus (1.4007-1) UNRELEASED; urgency=low
-
-  IGNORE-VERSION: 1.4007-1
-  only removes a dependency on LWP
+cpanminus (1.4008-1) UNRELEASED; urgency=low
 
   * New upstream release
 
- -- Alessandro Ghedini <al3xbio at gmail.com>  Wed, 18 May 2011 19:44:49 +0200
+ -- Alessandro Ghedini <al3xbio at gmail.com>  Thu, 16 Jun 2011 15:58:35 +0200
 
 cpanminus (1.4006-1) unstable; urgency=low
 

Modified: trunk/cpanminus/lib/App/cpanminus.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/cpanminus/lib/App/cpanminus.pm?rev=75817&op=diff
==============================================================================
--- trunk/cpanminus/lib/App/cpanminus.pm (original)
+++ trunk/cpanminus/lib/App/cpanminus.pm Thu Jun 16 14:03:37 2011
@@ -1,5 +1,5 @@
 package App::cpanminus;
-our $VERSION = "1.4007";
+our $VERSION = "1.4008";
 
 =head1 NAME
 




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