# -*- Mode: cperl; coding: utf-8; cperl-indent-level: 4 -*-
use strict;
package CPAN;
-$CPAN::VERSION = '1.91';
+$CPAN::VERSION = '1.9101';
$CPAN::VERSION = eval $CPAN::VERSION if $CPAN::VERSION =~ /_/;
use CPAN::HandleConfig;
if ($CPAN::META->has_inst("File::Temp")) {
$installation_report_fh
= File::Temp->new(
+ dir => File::Spec->tmpdir,
template => 'cpan_install_XXXX',
suffix => '.txt',
unlink => 0,
# $DB::single = 1;
if ($do->{make_test}
&& $do->{build_dir}
- && !$do->{make_test}->failed
+ && !(UNIVERSAL::can($do->{make_test},"failed") ?
+ $do->{make_test}->failed :
+ $do->{make_test} =~ /^YES/
+ )
&& (
!$do->{install}
||
my($fh,$filename);
if ($CPAN::META->has_inst("File::Temp")) {
$fh = File::Temp->new(
+ dir => File::Spec->tmpdir,
template => 'cpan_htmlconvert_XXXX',
suffix => '.txt',
unlink => 0,
my($fh,$filename);
if ($CPAN::META->has_inst("File::Temp")) {
$fh = File::Temp->new(
+ dir => File::Spec->tmpdir,
template => "cpan_getsave_url_XXXX",
suffix => ".html",
unlink => 0,
my $yaml = $resp->content;
# was fuer ein Umweg!
my $fh = File::Temp->new(
+ dir => File::Spec->tmpdir,
template => 'cpan_reports_XXXX',
suffix => '.yaml',
unlink => 0,
$VAR1 = {
"mapping" => {
+ "comment" => {
+ "type" => "text"
+ },
+ "cpanconfig" => {
+ "mapping" => {
+ "=" => {
+ "type" => "text"
+ }
+ },
+ "type" => "map"
+ },
"disabled" => {
"enum" => [
0,
],
"type" => "int"
},
- "test" => {
+ "goto" => {
+ "type" => "text"
+ },
+ "install" => {
"mapping" => {
+ "args" => {
+ "sequence" => [
+ {
+ "type" => "text"
+ }
+ ],
+ "type" => "seq"
+ },
+ "commandline" => {
+ "type" => "text"
+ },
"eexpect" => {
"mapping" => {
+ "mode" => {
+ "enum" => [
+ "deterministic",
+ "anyorder"
+ ],
+ "type" => "text"
+ },
"talk" => {
"sequence" => [
{
},
"timeout" => {
"type" => "number"
- },
- "mode" => {
- "enum" => [
- "deterministic",
- "anyorder"
- ],
- "type" => "text"
}
},
"type" => "map"
},
"type" => "map"
},
- "args" => {
- "sequence" => [
- {
- "type" => "text"
- }
- ],
- "type" => "seq"
- },
"expect" => {
"sequence" => [
{
}
],
"type" => "seq"
- },
- "commandline" => {
- "type" => "text"
}
},
"type" => "map"
},
"make" => {},
- "install" => {},
"match" => {
"mapping" => {
+ "distribution" => {
+ "type" => "text"
+ },
+ "module" => {
+ "type" => "text"
+ },
+ "perl" => {
+ "type" => "text"
+ },
"perlconfig" => {
"mapping" => {
"=" => {
}
},
"type" => "map"
- },
- "perl" => {
- "type" => "text"
- },
- "module" => {
- "type" => "text"
- },
- "distribution" => {
- "type" => "text"
}
},
"type" => "map"
},
- "pl" => {},
- "comment" => {
- "type" => "text"
- },
- "cpanconfig" => {
- "mapping" => {
- "=" => {
- "type" => "text"
- }
- },
- "type" => "map"
- },
- "goto" => {
- "type" => "text"
- },
"patches" => {
"sequence" => [
{
}
],
"type" => "seq"
- }
+ },
+ "pl" => {},
+ "test" => {}
},
"type" => "map"
};
-$VAR1->{"mapping"}{"make"} = $VAR1->{"mapping"}{"test"};
-$VAR1->{"mapping"}{"install"} = $VAR1->{"mapping"}{"test"};
-$VAR1->{"mapping"}{"pl"} = $VAR1->{"mapping"}{"test"};
+$VAR1->{"mapping"}{"make"} = $VAR1->{"mapping"}{"install"};
+$VAR1->{"mapping"}{"pl"} = $VAR1->{"mapping"}{"install"};
+$VAR1->{"mapping"}{"test"} = $VAR1->{"mapping"}{"install"};