From: David Golden Date: Sat, 21 Nov 2009 04:57:43 +0000 (-0500) Subject: Update generated Module::Build::ConfigData X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0b93a7997e668a672f4c77f82ec1c83b5f39445c;p=p5sagit%2Fp5-mst-13.2.git Update generated Module::Build::ConfigData --- diff --git a/MANIFEST b/MANIFEST index 77abbd3..ebaf249 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1527,6 +1527,7 @@ cpan/Module-Build/lib/Module/Build/Base.pm Module::Build cpan/Module-Build/lib/Module/Build/Bundling.pod Module::Build cpan/Module-Build/lib/Module/Build/Compat.pm Module::Build cpan/Module-Build/lib/Module/Build/Config.pm Module::Build +cpan/Module-Build/lib/Module/Build/ConfigData.pm Configuration for Module::Build cpan/Module-Build/lib/Module/Build/Cookbook.pm Module::Build cpan/Module-Build/lib/Module/Build/Dumper.pm Module::Build cpan/Module-Build/lib/Module/Build/ModuleInfo.pm Module::Build @@ -2240,7 +2241,7 @@ cpan/Test-Simple/t/BEGIN_use_ok.t Test::More use_ok() testing cpan/Test-Simple/t/buffer.t Test::Builder buffering test cpan/Test-Simple/t/Builder/Builder.t Test::Builder tests cpan/Test-Simple/t/Builder/carp.t Test::Builder test -cpan/Test-Simple/t/Builder/create.t Test::Builder test +cpan/Test-Simple/t/Builder/create.t Test::Builder test cpan/Test-Simple/t/Builder/current_test.t Test::Builder tests cpan/Test-Simple/t/Builder/current_test_without_plan.t Test::Builder tests cpan/Test-Simple/t/Builder/details.t Test::Builder tests @@ -3495,7 +3496,6 @@ lib/less.t See if less support works lib/locale.pm For "use locale" lib/locale.t See if locale support works lib/look.pl A "look" equivalent -lib/Module/Build/ConfigData.pm Configuration for Module::Build lib/Net/hostent.pm By-name interface to Perl's builtin gethost* lib/Net/hostent.t See if Net::hostent works lib/Net/netent.pm By-name interface to Perl's builtin getnet* @@ -4158,7 +4158,7 @@ symbian/sanity.pl Helper code for config.pl symbian/sdk.pl Helper code for config.pl symbian/sisify.pl Packaging utility symbian/symbian_dll.cpp The DLL stub for Symbian -symbian/symbianish.h Header for Symbian +symbian/symbianish.h Header for Symbian symbian/symbian_proto.h Prototypes for Symbian symbian/symbian_stubs.c Stub routines for Symbian symbian/symbian_stubs.h Stub headers for Symbian @@ -4430,7 +4430,7 @@ t/op/numconvert.t See if accessing fields does not change numeric values t/op/oct.t See if oct and hex work t/op/ord.t See if ord works t/op/or.t See if || works in weird situations -t/op/overload_integer.t See if overload::constant for integer works after "use". +t/op/overload_integer.t See if overload::constant for integer works after "use". t/op/override.t See if operator overriding works t/op/pack.t See if pack and unpack work t/op/pos.t See if pos works @@ -4502,7 +4502,7 @@ t/porting/test_bootstrap.t Test that the instructions for test bootstrapping are t/README Instructions for regression tests t/re/pat_advanced.t See if advanced esoteric patterns work t/re/pat_advanced_thr.t See if advanced esoteric patterns work in another thread -t/re/pat_psycho.t See if insane esoteric and slow patterns work +t/re/pat_psycho.t See if insane esoteric and slow patterns work t/re/pat_psycho_thr.t See if insane esoteric and slow patterns work in another thread t/re/pat_re_eval.t See if esoteric patterns using re 'eval' work t/re/pat_re_eval_thr.t See if esoteric patterns using re 'eval' work in another thread diff --git a/lib/Module/Build/ConfigData.pm b/cpan/Module-Build/lib/Module/Build/ConfigData.pm similarity index 76% rename from lib/Module/Build/ConfigData.pm rename to cpan/Module-Build/lib/Module/Build/ConfigData.pm index 76956bc..83c8892 100644 --- a/lib/Module/Build/ConfigData.pm +++ b/cpan/Module-Build/lib/Module/Build/ConfigData.pm @@ -51,18 +51,18 @@ sub write { sub feature { my ($package, $key) = @_; return $features->{$key} if exists $features->{$key}; - + my $info = $auto_features->{$key} or return 0; - + # Under perl 5.005, each(%$foo) isn't working correctly when $foo # was reanimated with Data::Dumper and eval(). Not sure why, but # copying to a new hash seems to solve it. my %info = %$info; - + require Module::Build; # XXX should get rid of this while (my ($type, $prereqs) = each %info) { next if $type eq 'description' || $type eq 'recommends'; - + my %p = %$prereqs; # Ditto here. while (my ($modname, $spec) = each %p) { my $status = Module::Build->check_installed_status($modname, $spec); @@ -78,16 +78,15 @@ sub feature { Module::Build::ConfigData - Configuration for Module::Build - =head1 SYNOPSIS use Module::Build::ConfigData; $value = Module::Build::ConfigData->config('foo'); $value = Module::Build::ConfigData->feature('bar'); - + @names = Module::Build::ConfigData->config_names; @names = Module::Build::ConfigData->feature_names; - + Module::Build::ConfigData->set_config(foo => $new_value); Module::Build::ConfigData->set_feature(bar => $new_value); Module::Build::ConfigData->write; # Save changes @@ -163,17 +162,30 @@ authorship claim or copyright claim to the contents of C { + 'requires' => { + 'Software::License' => 0 + }, + 'description' => 'Create licenses automatically in distributions' + }, + 'inc_bundling_support' => { + 'requires' => { + 'ExtUtils::Installed' => '1.999', + 'ExtUtils::Install' => '1.54' + }, + 'description' => 'Bundle Module::Build in inc/' + }, 'YAML_support' => { 'requires' => { - 'YAML' => ' >= 0.35, != 0.49_01 ' + 'YAML::Tiny' => '1.38' }, - 'description' => 'Use YAML.pm to write META.yml files' + 'description' => 'Use YAML::Tiny to write META.yml files' }, 'manpage_support' => { 'requires' => { @@ -181,15 +193,22 @@ do{ my $x = [ }, 'description' => 'Create Unix man pages' }, - 'C_support' => { - 'requires' => { - 'ExtUtils::CBuilder' => '0.15' - }, - 'recommends' => { - 'ExtUtils::ParseXS' => '1.02' + 'PPM_support' => { + 'requires' => { + 'IO::File' => '1.13' }, - 'description' => 'Compile/link C & XS code' - }, + 'description' => 'Generate PPM files for distributions' + }, + 'dist_authoring' => { + 'requires' => { + 'Archive::Tar' => '1.09' + }, + 'recommends' => { + 'Module::Signature' => '0.21', + 'Pod::Readme' => '0.04' + }, + 'description' => 'Create new distributions' + }, 'HTML_support' => { 'requires' => { 'Pod::Html' => 0 @@ -198,4 +217,4 @@ do{ my $x = [ } } ]; -$x; } \ No newline at end of file +$x; }