r68554 - in /branches/upstream/cpanminus/current: Changes META.yml bin/cpanm lib/App/cpanminus.pm
ghedo-guest at users.alioth.debian.org
ghedo-guest at users.alioth.debian.org
Sun Feb 13 21:56:30 UTC 2011
Author: ghedo-guest
Date: Sun Feb 13 21:56:21 2011
New Revision: 68554
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=68554
Log:
[svn-upgrade] new version cpanminus (1.1008)
Modified:
branches/upstream/cpanminus/current/Changes
branches/upstream/cpanminus/current/META.yml
branches/upstream/cpanminus/current/bin/cpanm
branches/upstream/cpanminus/current/lib/App/cpanminus.pm
Modified: branches/upstream/cpanminus/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/cpanminus/current/Changes?rev=68554&op=diff
==============================================================================
--- branches/upstream/cpanminus/current/Changes (original)
+++ branches/upstream/cpanminus/current/Changes Sun Feb 13 21:56:21 2011
@@ -1,4 +1,11 @@
See http://github.com/miyagawa/cpanminus/ for the latest development.
+
+1.1008 Wed Jan 26 14:05:51 PST 2011
+ - Fixed glitches due to the deletion of Module::Metadata::Version
+
+1.1007 Tue Jan 18 09:39:05 PST 2011
+ - Fixed installation documents
+ - Added PERL_CPANM_NO_AUTOMATED_TESTING to unset AUTOMATED_TESTING to find which modules break (mst)
1.1006 Thu Dec 16 11:27:29 PST 2010
- Fixed docs to use curl instead of wget because of its cert bug
Modified: branches/upstream/cpanminus/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/cpanminus/current/META.yml?rev=68554&op=diff
==============================================================================
--- branches/upstream/cpanminus/current/META.yml (original)
+++ branches/upstream/cpanminus/current/META.yml Sun Feb 13 21:56:21 2011
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: App-cpanminus
-version: 1.1006
+version: 1.1008
abstract: Get, unpack, build and install modules from CPAN.
author: []
license: perl
Modified: branches/upstream/cpanminus/current/bin/cpanm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/cpanminus/current/bin/cpanm?rev=68554&op=diff
==============================================================================
--- branches/upstream/cpanminus/current/bin/cpanm (original)
+++ branches/upstream/cpanminus/current/bin/cpanm Sun Feb 13 21:56:21 2011
@@ -18,7 +18,7 @@
$fatpacked{"App/cpanminus.pm"} = <<'APP_CPANMINUS';
package App::cpanminus;
- our $VERSION = "1.1006";
+ our $VERSION = "1.1008";
=head1 NAME
@@ -59,7 +59,7 @@
Otherwise,
cd ~/bin
- curl -O http://xrl.us/cpanm
+ curl -LO http://xrl.us/cpanm
chmod +x cpanm
# edit shebang if you don't have /usr/bin/env
@@ -220,7 +220,7 @@
use constant WIN32 => $^O eq 'MSWin32';
use constant SUNOS => $^O eq 'solaris';
- our $VERSION = "1.1006";
+ our $VERSION = "1.1008";
$VERSION = eval $VERSION;
my $quote = WIN32 ? q/"/ : q/'/;
@@ -873,7 +873,10 @@
sub test {
my($self, $cmd, $distname) = @_;
return 1 if $self->{notest};
- local $ENV{AUTOMATED_TESTING} = 1;
+
+ # http://www.nntp.perl.org/group/perl.perl5.porters/2009/10/msg152656.html
+ local $ENV{AUTOMATED_TESTING} = 1
+ unless $self->env('NO_AUTOMATED_TESTING');
return 1 if $self->run_timeout($cmd, $self->{test_timeout});
if ($self->{force}) {
@@ -1148,6 +1151,7 @@
my($self, $mod, $want_ver) = @_;
require Module::Metadata;
+ require Module::Metadata::Version; # Module::Metadata might be loaded from user's $PERL5LIB missing ::Version
my $meta = Module::Metadata->new_from_module($mod, inc => $self->{search_inc})
or return 0, undef;
@@ -5658,7 +5662,8 @@
unshift @INC, sub {
if (my $fat = $fatpacked{$_[1]}) {
- open my $fh, '<', \$fat;
+ open my $fh, '<', \$fat
+ or die "FatPacker error loading $_[1] (could be a perl installation issue?)";
return $fh;
}
return
Modified: branches/upstream/cpanminus/current/lib/App/cpanminus.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/cpanminus/current/lib/App/cpanminus.pm?rev=68554&op=diff
==============================================================================
--- branches/upstream/cpanminus/current/lib/App/cpanminus.pm (original)
+++ branches/upstream/cpanminus/current/lib/App/cpanminus.pm Sun Feb 13 21:56:21 2011
@@ -1,5 +1,5 @@
package App::cpanminus;
-our $VERSION = "1.1006";
+our $VERSION = "1.1008";
=head1 NAME
@@ -40,7 +40,7 @@
Otherwise,
cd ~/bin
- curl -O http://xrl.us/cpanm
+ curl -LO http://xrl.us/cpanm
chmod +x cpanm
# edit shebang if you don't have /usr/bin/env
More information about the Pkg-perl-cvs-commits
mailing list