Updated CPANPLUS to cpan version 0.89_09
Chris Williams [Thu, 12 Nov 2009 22:31:19 +0000 (22:31 +0000)]
  Changes for 0.89_09     Thu Nov 12 21:54:01 2009
  ================================================
  * Only look for missing prereqs in the output of the last
    set of tests that were run. This resolves RT #51408,
    reported by Andreas Koenig

Porting/Maintainers.pl
cpan/CPANPLUS/lib/CPANPLUS.pm
cpan/CPANPLUS/lib/CPANPLUS/Internals.pm
cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants/Report.pm
cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm

index 468178a..021eab4 100755 (executable)
@@ -423,7 +423,7 @@ use File::Glob qw(:case);
     'CPANPLUS' =>
        {
        'MAINTAINER'    => 'kane',
-       'DISTRIBUTION'  => 'BINGOS/CPANPLUS-0.89_08.tar.gz',
+       'DISTRIBUTION'  => 'BINGOS/CPANPLUS-0.89_09.tar.gz',
        'FILES'         => q[cpan/CPANPLUS],
        'EXCLUDED'      => [ qr{^inc/},
                             qr{^t/dummy-.*\.hidden$},
index 00e898a..5421106 100644 (file)
@@ -13,7 +13,7 @@ BEGIN {
     use vars        qw( @EXPORT @ISA $VERSION );
     @EXPORT     =   qw( shell fetch get install );
     @ISA        =   qw( Exporter );
-    $VERSION = "0.89_08";     #have to hardcode or cpan.org gets unhappy
+    $VERSION = "0.89_09";     #have to hardcode or cpan.org gets unhappy
 }
 
 ### purely for backward compatibility, so we can call it from the commandline:
index a6c348f..0715ba9 100644 (file)
@@ -42,7 +42,7 @@ use vars qw[@ISA $VERSION];
             CPANPLUS::Internals::Report
         ];
 
-$VERSION = "0.89_08";
+$VERSION = "0.89_09";
 
 =pod
 
index 6ad577c..59a41a6 100644 (file)
@@ -145,12 +145,13 @@ use constant TEST_FAIL_STAGE
 use constant MISSING_PREREQS_LIST
                             => sub {
                                 my $buffer = shift;
+                                my $last = ( split /\[ERROR\] .+? MAKE TEST/, $buffer )[-1];
                                 my @list = map { s/.pm$//; s|/|::|g; $_ }
-                                    ($buffer =~
+                                    ($last =~
                                         m/\bCan\'t locate (\S+) in \@INC/g);
                                 
                                 ### make sure every missing prereq is only 
-                                ### listed ones
+                                ### listed once
                                 {   my %seen;
                                     @list = grep { !$seen{$_}++ } @list
                                 }
index 245d32c..eaa9f80 100644 (file)
@@ -26,7 +26,7 @@ local $Data::Dumper::Indent     = 1; # for dumpering from !
 BEGIN {
     use vars        qw[ $VERSION @ISA ];
     @ISA        =   qw[ CPANPLUS::Shell::_Base::ReadLine ];
-    $VERSION = "0.89_08";
+    $VERSION = "0.89_09";
 }
 
 load CPANPLUS::Shell;