In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/742adbff4f079f203897faa086d954cc3a26460a?hp=086d291379a28ceb3cd7cc6416747be8c426476b>

- Log -----------------------------------------------------------------
commit 742adbff4f079f203897faa086d954cc3a26460a
Author: Andreas J. Koenig <[email protected]>
Date:   Mon Jun 14 09:46:15 2010 +0100

    Update CPAN.pm to 1.94_57
    
      2010-05-24  Andreas J. Koenig  <[email protected]>
    
            * release 1.94_57
    
            * bugfix: treat modules correctly that are deprecated in perl 5.12.
    
            * bugfix: RT #57482 and #57788 revealed that configure_requires
            implicitly assumed build_requires instead of normal requires. 
(Reported
            by Andrew Whatson and Father Chrysostomos respectively)
    
            * testfix: solaris should run the tests without expect because 
(some?)
            solaris have a broken expect
    
            * testfix: run tests with cache_metadata off to prevent spill over
            effects from previous test runs
    
    Signed-off-by: Chris 'BinGOs' Williams <[email protected]>
-----------------------------------------------------------------------

Summary of changes:
 Porting/Maintainers.pl             |    2 +-
 cpan/CPAN/Changes                  |   16 ++++++++++++++++
 cpan/CPAN/lib/CPAN.pm              |    9 +++++++--
 cpan/CPAN/lib/CPAN/Distribution.pm |   22 +++++++++++++++-------
 cpan/CPAN/lib/CPAN/FTP.pm          |    6 +++++-
 cpan/CPAN/lib/CPAN/Queue.pm        |    6 +++---
 6 files changed, 47 insertions(+), 14 deletions(-)

diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl
index 2c39cf6..caad924 100755
--- a/Porting/Maintainers.pl
+++ b/Porting/Maintainers.pl
@@ -351,7 +351,7 @@ use File::Glob qw(:case);
     'CPAN' =>
        {
        'MAINTAINER'    => 'andk',
-       'DISTRIBUTION'  => 'ANDK/CPAN-1.94_56.tar.gz',
+       'DISTRIBUTION'  => 'ANDK/CPAN-1.94_57.tar.gz',
        'FILES'         => q[cpan/CPAN],
        'EXCLUDED'      => [ qr{^distroprefs/},
                             qr{^inc/Test/},
diff --git a/cpan/CPAN/Changes b/cpan/CPAN/Changes
index 1b5300c..4b2d697 100644
--- a/cpan/CPAN/Changes
+++ b/cpan/CPAN/Changes
@@ -1,3 +1,19 @@
+2010-05-24  Andreas J. Koenig  <[email protected]>
+
+       * release 1.94_57
+
+       * bugfix: treat modules correctly that are deprecated in perl 5.12.
+
+       * bugfix: RT #57482 and #57788 revealed that configure_requires
+       implicitly assumed build_requires instead of normal requires. (Reported
+       by Andrew Whatson and Father Chrysostomos respectively)
+
+       * testfix: solaris should run the tests without expect because (some?)
+       solaris have a broken expect
+
+       * testfix: run tests with cache_metadata off to prevent spill over
+       effects from previous test runs
+
 2010-02-17  Andreas J. Koenig  <[email protected]>
 
        * release 1.94_56
diff --git a/cpan/CPAN/lib/CPAN.pm b/cpan/CPAN/lib/CPAN.pm
index 9d09708..8d835cd 100644
--- a/cpan/CPAN/lib/CPAN.pm
+++ b/cpan/CPAN/lib/CPAN.pm
@@ -2,7 +2,7 @@
 # vim: ts=4 sts=4 sw=4:
 use strict;
 package CPAN;
-$CPAN::VERSION = '1.94_56';
+$CPAN::VERSION = '1.94_57';
 $CPAN::VERSION =~ s/_//;
 
 # we need to run chdir all over and we would get at wrong libraries
@@ -1142,7 +1142,7 @@ sub has_inst {
   CPAN: Module::Signature security checks disabled because Module::Signature
   not installed.  Please consider installing the Module::Signature module.
   You may also need to be able to connect over the Internet to the public
-  keyservers like pgp.mit.edu (port 11371).
+  keyservers like pool.sks-keyservers.net or pgp.mit.edu.
 
 });
                 $CPAN::Frontend->mysleep(2);
@@ -3729,6 +3729,11 @@ This module and its competitor, the CPANPLUS module, are 
both much
 cooler than the other. CPAN.pm is older. CPANPLUS was designed to be
 more modular, but it was never intended to be compatible with CPAN.pm.
 
+=head2 CPANMINUS
+
+In the year 2010 App::cpanminus was launched as a new approach to a
+cpan shell with a considerably smaller footprint. Very cool stuff.
+
 =head1 SECURITY ADVICE
 
 This software enables you to upgrade software on your computer and so
diff --git a/cpan/CPAN/lib/CPAN/Distribution.pm 
b/cpan/CPAN/lib/CPAN/Distribution.pm
index ac8f873..eeca99c 100644
--- a/cpan/CPAN/lib/CPAN/Distribution.pm
+++ b/cpan/CPAN/lib/CPAN/Distribution.pm
@@ -5,7 +5,7 @@ use CPAN::Distroprefs;
 use CPAN::InfoObj;
 @CPAN::Distribution::ISA = qw(CPAN::InfoObj);
 use vars qw($VERSION);
-$VERSION = "1.9456_01";
+$VERSION = "1.9600";
 
 # Accessors
 sub cpan_comment {
@@ -638,7 +638,7 @@ sub satisfy_configure_requires {
         # configure_requires simply fail, all others succeed
     }
     my @prereq = $self->unsat_prereq("configure_requires_later");
-    $self->debug("configure_requir...@prereq]") if $CPAN::DEBUG;
+    $self->debug(sprintf "configure_requires[%s]", join(",",map {join "/",@$_} 
@prereq)) if $CPAN::DEBUG;
     return 1 unless @prereq;
     $self->debug(\...@prereq) if $CPAN::DEBUG;
     if ($self->{configure_requires_later}) {
@@ -2576,10 +2576,9 @@ sub unsat_prereq {
                      or $need_version eq '0'    # "==" would trigger warning 
when not numeric
                      or $need_version eq "undef"
                     )) {
-                unless ($nmo->inst_deprecated) {                               
-                    next NEED;                                                 
-                }                                                              
-
+                unless ($nmo->inst_deprecated) {
+                    next NEED;
+                }
             }
 
             $available_version = $nmo->available_version;
@@ -2696,7 +2695,16 @@ sub unsat_prereq {
                 }
             }
         }
-        my $needed_as = exists $prereq_pm->{requires}{$need_module} ? "r" : 
"b";
+        my $needed_as;
+        if (0) {
+        } elsif (exists $prereq_pm->{requires}{$need_module}) {
+            $needed_as = "r";
+        } elsif ($slot eq "configure_requires_later") {
+            # we have not yet run the {Build,Makefile}.PL, we must presume "r"
+            $needed_as = "r";
+        } else {
+            $needed_as = "b";
+        }
         push @need, [$need_module,$needed_as];
     }
     my @unfolded = map { "[".join(",",@$_)."]" } @need;
diff --git a/cpan/CPAN/lib/CPAN/FTP.pm b/cpan/CPAN/lib/CPAN/FTP.pm
index 268ca28..7338699 100644
--- a/cpan/CPAN/lib/CPAN/FTP.pm
+++ b/cpan/CPAN/lib/CPAN/FTP.pm
@@ -46,7 +46,11 @@ sub _ftp_statistics {
                 $CPAN::Frontend->myprint("Warning (usually harmless): 
$...@\n");
                 return;
             } elsif (ref $@ eq "CPAN::Exception::yaml_process_error") {
-                $CPAN::Frontend->mydie($@);
+                my $time = time;
+                my $to = "$file.$time";
+                $CPAN::Frontend->myprint("Error reading '$file': 
$...@\nstashing away as '$to' to prevent further interruptions. You may want to 
remove that file later.\n");
+                rename $file, $to or $CPAN::Frontend->mydie("Could not rename: 
$!");
+                return;
             }
         } else {
             $CPAN::Frontend->mydie($@);
diff --git a/cpan/CPAN/lib/CPAN/Queue.pm b/cpan/CPAN/lib/CPAN/Queue.pm
index b60f57c..58d6911 100644
--- a/cpan/CPAN/lib/CPAN/Queue.pm
+++ b/cpan/CPAN/lib/CPAN/Queue.pm
@@ -109,9 +109,9 @@ sub jumpqueue {
     my $class = shift;
     my @what = @_;
     CPAN->debug(sprintf("before jumpqueue All[%s] what[%s]",
-                        join("",
-                             map {sprintf " 
%s\[%s]\n",$_->{qmod},$_->{reqtype}} @All, @what
-                            ))) if $CPAN::DEBUG;
+                        join("",map {sprintf " 
%s\[%s]\n",$_->{qmod},$_->{reqtype}} @All),
+                        join("",map {sprintf " 
%s\[%s]\n",$_->{qmod},$_->{reqtype}} @what),
+                       )) if $CPAN::DEBUG;
     unless (defined $what[0]{reqtype}) {
         # apparently it was not the Shell that sent us this enquiry,
         # treat it as commandline

--
Perl5 Master Repository

Reply via email to