Hello community, here is the log from the commit of package perl-Module-Build for openSUSE:Factory checked in at 2013-06-14 16:46:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Module-Build (Old) and /work/SRC/openSUSE:Factory/.perl-Module-Build.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Module-Build" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Module-Build/perl-Module-Build.changes 2012-11-10 16:55:41.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Module-Build.new/perl-Module-Build.changes 2013-06-14 16:46:52.000000000 +0200 @@ -1,0 +2,22 @@ +Tue Jun 11 13:13:38 UTC 2013 - [email protected] + +- updated to 0.4005 + [ENHANCEMENTS] + + - Added --pureperl-only support + + [BUG FIXES] + + - #72176: pod2html will fail with an empty podpath in some cases. [Phillip Moore] + + - Fix links between modules in HTML docs output [Michael Wild, Leon Timmermans] + + [BUG FIXES] + + - Minor VMS fix for @INC [Craig Berry] + + [ENHANCEMENTS] + + - test_requires support has been added [Matsuno Tokuhiro] + +------------------------------------------------------------------- Old: ---- Module-Build-0.4003.tar.gz New: ---- Module-Build-0.4005.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Module-Build.spec ++++++ --- /var/tmp/diff_new_pack.91AZpX/_old 2013-06-14 16:46:53.000000000 +0200 +++ /var/tmp/diff_new_pack.91AZpX/_new 2013-06-14 16:46:53.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Module-Build # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ Summary: Build and install Perl modules License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl -Version: 0.4003 +Version: 0.4005 Release: 0 Url: http://search.cpan.org/dist/Module-Build/ Source: http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz ++++++ Module-Build-0.4003.tar.gz -> Module-Build-0.4005.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/Changes new/Module-Build-0.4005/Changes --- old/Module-Build-0.4003/Changes 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/Changes 2013-04-25 15:16:17.000000000 +0200 @@ -1,5 +1,27 @@ Revision history for Perl extension Module::Build. +0.4005 - Thu Apr 25 15:10:14 CEST 2013 + + [ENHANCEMENTS] + + - Added --pureperl-only support + + [BUG FIXES] + + - #72176: pod2html will fail with an empty podpath in some cases. [Phillip Moore] + + - Fix links between modules in HTML docs output [Michael Wild, Leon Timmermans] + +0.4004 - Fri Mar 29 15:05:00 CET 2013 + + [BUG FIXES] + + - Minor VMS fix for @INC [Craig Berry] + + [ENHANCEMENTS] + + - test_requires support has been added [Matsuno Tokuhiro] + 0.4003 - Sat Aug 18 11:17:49 CEST 2012 [BUG FIXES] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/META.json new/Module-Build-0.4005/META.json --- old/Module-Build-0.4003/META.json 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/META.json 2013-04-25 15:16:17.000000000 +0200 @@ -5,7 +5,7 @@ "Module-Build mailing list at <[email protected]>." ], "dynamic_config" : 1, - "generated_by" : "Module::Build version 0.4003, CPAN::Meta::Converter version 2.120921", + "generated_by" : "Module::Build version 0.4005, CPAN::Meta::Converter version 2.130880", "license" : [ "perl_5" ], @@ -59,99 +59,99 @@ "provides" : { "Module::Build" : { "file" : "lib/Module/Build.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Base" : { "file" : "lib/Module/Build/Base.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Compat" : { "file" : "lib/Module/Build/Compat.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Config" : { "file" : "lib/Module/Build/Config.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Cookbook" : { "file" : "lib/Module/Build/Cookbook.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Dumper" : { "file" : "lib/Module/Build/Dumper.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::ModuleInfo" : { "file" : "lib/Module/Build/ModuleInfo.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Notes" : { "file" : "lib/Module/Build/Notes.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::PPMMaker" : { "file" : "lib/Module/Build/PPMMaker.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Platform::Amiga" : { "file" : "lib/Module/Build/Platform/Amiga.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Platform::Default" : { "file" : "lib/Module/Build/Platform/Default.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Platform::EBCDIC" : { "file" : "lib/Module/Build/Platform/EBCDIC.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Platform::MPEiX" : { "file" : "lib/Module/Build/Platform/MPEiX.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Platform::MacOS" : { "file" : "lib/Module/Build/Platform/MacOS.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Platform::RiscOS" : { "file" : "lib/Module/Build/Platform/RiscOS.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Platform::Unix" : { "file" : "lib/Module/Build/Platform/Unix.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Platform::VMS" : { "file" : "lib/Module/Build/Platform/VMS.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Platform::VOS" : { "file" : "lib/Module/Build/Platform/VOS.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Platform::Windows" : { "file" : "lib/Module/Build/Platform/Windows.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Platform::aix" : { "file" : "lib/Module/Build/Platform/aix.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Platform::cygwin" : { "file" : "lib/Module/Build/Platform/cygwin.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Platform::darwin" : { "file" : "lib/Module/Build/Platform/darwin.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Platform::os2" : { "file" : "lib/Module/Build/Platform/os2.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::PodParser" : { "file" : "lib/Module/Build/PodParser.pm", - "version" : "0.4003" + "version" : "0.4005" }, "Module::Build::Version" : { "file" : "lib/Module/Build/Version.pm", @@ -163,11 +163,11 @@ }, "inc::latest" : { "file" : "lib/inc/latest.pm", - "version" : "0.4003" + "version" : "0.4005" }, "inc::latest::private" : { "file" : "lib/inc/latest/private.pm", - "version" : "0.4003" + "version" : "0.4005" } }, "release_status" : "stable", @@ -180,5 +180,5 @@ }, "x_MailingList" : "mailto:[email protected]" }, - "version" : "0.4003" + "version" : "0.4005" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/META.yml new/Module-Build-0.4005/META.yml --- old/Module-Build-0.4003/META.yml 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/META.yml 2013-04-25 15:16:17.000000000 +0200 @@ -10,7 +10,7 @@ Test::Harness: 3.16 Test::More: 0.49 dynamic_config: 1 -generated_by: 'Module::Build version 0.4003, CPAN::Meta::Converter version 2.120921' +generated_by: 'Module::Build version 0.4005, CPAN::Meta::Converter version 2.130880' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -19,76 +19,76 @@ provides: Module::Build: file: lib/Module/Build.pm - version: 0.4003 + version: 0.4005 Module::Build::Base: file: lib/Module/Build/Base.pm - version: 0.4003 + version: 0.4005 Module::Build::Compat: file: lib/Module/Build/Compat.pm - version: 0.4003 + version: 0.4005 Module::Build::Config: file: lib/Module/Build/Config.pm - version: 0.4003 + version: 0.4005 Module::Build::Cookbook: file: lib/Module/Build/Cookbook.pm - version: 0.4003 + version: 0.4005 Module::Build::Dumper: file: lib/Module/Build/Dumper.pm - version: 0.4003 + version: 0.4005 Module::Build::ModuleInfo: file: lib/Module/Build/ModuleInfo.pm - version: 0.4003 + version: 0.4005 Module::Build::Notes: file: lib/Module/Build/Notes.pm - version: 0.4003 + version: 0.4005 Module::Build::PPMMaker: file: lib/Module/Build/PPMMaker.pm - version: 0.4003 + version: 0.4005 Module::Build::Platform::Amiga: file: lib/Module/Build/Platform/Amiga.pm - version: 0.4003 + version: 0.4005 Module::Build::Platform::Default: file: lib/Module/Build/Platform/Default.pm - version: 0.4003 + version: 0.4005 Module::Build::Platform::EBCDIC: file: lib/Module/Build/Platform/EBCDIC.pm - version: 0.4003 + version: 0.4005 Module::Build::Platform::MPEiX: file: lib/Module/Build/Platform/MPEiX.pm - version: 0.4003 + version: 0.4005 Module::Build::Platform::MacOS: file: lib/Module/Build/Platform/MacOS.pm - version: 0.4003 + version: 0.4005 Module::Build::Platform::RiscOS: file: lib/Module/Build/Platform/RiscOS.pm - version: 0.4003 + version: 0.4005 Module::Build::Platform::Unix: file: lib/Module/Build/Platform/Unix.pm - version: 0.4003 + version: 0.4005 Module::Build::Platform::VMS: file: lib/Module/Build/Platform/VMS.pm - version: 0.4003 + version: 0.4005 Module::Build::Platform::VOS: file: lib/Module/Build/Platform/VOS.pm - version: 0.4003 + version: 0.4005 Module::Build::Platform::Windows: file: lib/Module/Build/Platform/Windows.pm - version: 0.4003 + version: 0.4005 Module::Build::Platform::aix: file: lib/Module/Build/Platform/aix.pm - version: 0.4003 + version: 0.4005 Module::Build::Platform::cygwin: file: lib/Module/Build/Platform/cygwin.pm - version: 0.4003 + version: 0.4005 Module::Build::Platform::darwin: file: lib/Module/Build/Platform/darwin.pm - version: 0.4003 + version: 0.4005 Module::Build::Platform::os2: file: lib/Module/Build/Platform/os2.pm - version: 0.4003 + version: 0.4005 Module::Build::PodParser: file: lib/Module/Build/PodParser.pm - version: 0.4003 + version: 0.4005 Module::Build::Version: file: lib/Module/Build/Version.pm version: 0.87 @@ -97,10 +97,10 @@ version: 1.41 inc::latest: file: lib/inc/latest.pm - version: 0.4003 + version: 0.4005 inc::latest::private: file: lib/inc/latest/private.pm - version: 0.4003 + version: 0.4005 recommends: ExtUtils::Install: 0.3 ExtUtils::Manifest: 1.54 @@ -132,4 +132,4 @@ license: http://dev.perl.org/licenses/ repository: https://github.com/Perl-Toolchain-Gang/Module-Build x_MailingList: mailto:[email protected] -version: 0.4003 +version: 0.4005 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/API.pod new/Module-Build-0.4005/lib/Module/Build/API.pod --- old/Module-Build-0.4003/lib/Module/Build/API.pod 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/API.pod 2013-04-25 15:16:17.000000000 +0200 @@ -72,6 +72,13 @@ is performed. See also the L<add_to_cleanup()|/"add_to_cleanup(@files)"> method. +=item allow_pureperl + +[version 0.4005] + +A bool indicating the module is still functional without its xs parts. +When an XS module is build with --pureperl_only, it will otherwise fail. + =item auto_configure_requires [version 0.34] @@ -175,6 +182,15 @@ See the documentation for L<Module::Build::Authoring/"PREREQUISITES"> for the details of how requirements can be specified. +=item test_requires + +[version 0.4004] + +Modules listed in this section must be installed before testing the distribution. + +See the documentation for L<Module::Build::Authoring/"PREREQUISITES"> +for the details of how requirements can be specified. + =item create_packlist [version 0.28] @@ -1753,7 +1769,7 @@ Returns a reference to a hash describing all prerequisites. The keys of the hash will be the various prerequisite types ('requires', 'build_requires', -'configure_requires', 'recommends', or 'conflicts') and the values will be +'test_requires', 'configure_requires', 'recommends', or 'conflicts') and the values will be references to hashes of module names and version numbers. Only prerequisites types that are defined will be included. The C<prereq_data> action is just a thin wrapper around the C<prereq_data()> method and dumps the hash as a string @@ -1916,6 +1932,8 @@ =item allow_mb_mismatch() +=item allow_pureperl() + =item auto_configure_requires() =item autosplit() @@ -2016,6 +2034,8 @@ =item program_name() +=item pureperl_only() + =item quiet() =item recommends() @@ -2034,6 +2054,8 @@ =item test_file_exts() +=item test_requires() + =item use_rcfile() =item use_tap_harness() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Authoring.pod new/Module-Build-0.4005/lib/Module/Build/Authoring.pod --- old/Module-Build-0.4003/lib/Module/Build/Authoring.pod 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Authoring.pod 2013-04-25 15:16:17.000000000 +0200 @@ -183,6 +183,10 @@ might also think of this as "can use" or "is aware of" or "changes behavior in the presence of". +=item test_requires + +Items that are necessary for testing. + =item conflicts Items that can cause problems with this distribution when installed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Base.pm new/Module-Build-0.4005/lib/Module/Build/Base.pm --- old/Module-Build-0.4003/lib/Module/Build/Base.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Base.pm 2013-04-25 15:16:17.000000000 +0200 @@ -6,7 +6,7 @@ use vars qw($VERSION); use warnings; -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; BEGIN { require 5.006001 } @@ -922,6 +922,8 @@ __PACKAGE__->add_property(use_tap_harness => 0); __PACKAGE__->add_property(cpan_client => 'cpan'); __PACKAGE__->add_property(tap_harness_args => {}); +__PACKAGE__->add_property(pureperl_only => 0); +__PACKAGE__->add_property(allow_pureperl => 0); __PACKAGE__->add_property( 'installdirs', default => 'site', @@ -942,7 +944,7 @@ } { - my @prereq_action_types = qw(requires build_requires conflicts recommends); + my @prereq_action_types = qw(requires build_requires test_requires conflicts recommends); foreach my $type (@prereq_action_types) { __PACKAGE__->add_property($type => {}); } @@ -1812,7 +1814,7 @@ my @myINC = $self->_added_to_INC; for (@myINC, values %q) { - $_ = File::Spec->canonpath( $_ ); + $_ = File::Spec->canonpath( $_ ) unless $self->is_vmsish; s/([\\\'])/\\$1/g; } @@ -1915,6 +1917,7 @@ # XXX refactor this mapping somewhere $mymeta->{prereqs}{runtime}{requires} = $prereqs->{requires}; $mymeta->{prereqs}{build}{requires} = $prereqs->{build_requires}; + $mymeta->{prereqs}{test}{requires} = $prereqs->{test_requires}; $mymeta->{prereqs}{runtime}{recommends} = $prereqs->{recommends}; $mymeta->{prereqs}{runtime}{conflicts} = $prereqs->{conflicts}; # delete empty entries @@ -2119,6 +2122,8 @@ use_tap_harness tap_harness_args cpan_client + pureperl_only + allow_pureperl ); # normalize only selected option names return $opt; @@ -2159,6 +2164,8 @@ debug sign use_tap_harness + pureperl_only + allow_pureperl ); # inverted boolean options; eg --noverbose or --no-verbose @@ -2968,7 +2975,9 @@ sub process_xs_files { my $self = shift; + return if $self->pureperl_only && $self->allow_pureperl; my $files = $self->find_xs_files; + croak 'Can\'t build xs files under --pureperl-only' if %$files && $self->pureperl_only; while (my ($from, $to) = each %$files) { unless ($from eq $to) { $self->add_to_cleanup($to); @@ -3301,6 +3310,7 @@ foreach my $regexp ( @{ $args{exclude} } ) { next FILE if $file =~ $regexp; } + $file = $self->localize_file_path($file); $files{$file} = File::Spec->abs2rel($file, $dir) if $self->contains_pod( $file ) } } @@ -3358,11 +3368,11 @@ : $self->original_prefix('core'); my $htmlroot = $self->install_sets('core')->{libhtml}; - my @podpath = (map { File::Spec->abs2rel($_ ,$podroot) } grep { -d } + my @podpath = ( (map { File::Spec->abs2rel($_ ,$podroot) } grep { -d } ( $self->install_sets('core', 'lib'), # lib $self->install_sets('core', 'bin'), # bin $self->install_sets('site', 'lib'), # site/lib - ) ), File::Spec->rel2abs($self->blib); + ) ), File::Spec->rel2abs($self->blib) ); my $podpath = $ENV{PERL_CORE} ? File::Spec->catdir($podroot, 'lib') @@ -3427,7 +3437,7 @@ } or $self->log_warn("[$htmltool] pod2html (" . join(", ", map { "q{$_} => q{$opts{$_}}" } (keys %opts)) . ") failed: $@"); } else { - my $path2root = join( '/', ('..') x (@rootdirs+@dirs) ); + my $path2root = File::Spec->catdir(File::Spec->updir x @dirs); my $fh = IO::File->new($infile) or die "Can't read $infile: $!"; my $abstract = Module::Build::PodParser->new(fh => $fh)->get_abstract(); @@ -4094,9 +4104,9 @@ $self->run_perl_script('Build.PL') # XXX Should this be run w/ --nouse-rcfile or die "Error executing 'Build.PL' in dist directory: $!"; - $self->run_perl_script('Build') - or die "Error executing 'Build' in dist directory: $!"; - $self->run_perl_script('Build', [], ['test']) + $self->run_perl_script($self->build_script) + or die "Error executing $self->build_script in dist directory: $!"; + $self->run_perl_script($self->build_script, [], ['test']) or die "Error executing 'Build test' in dist directory"; }); } @@ -4110,9 +4120,9 @@ sub { $self->run_perl_script('Build.PL') or die "Error executing 'Build.PL' in dist directory: $!"; - $self->run_perl_script('Build') - or die "Error executing 'Build' in dist directory: $!"; - $self->run_perl_script('Build', [], ['install']) + $self->run_perl_script($self->build_script) + or die "Error executing $self->build_script in dist directory: $!"; + $self->run_perl_script($self->build_script, [], ['install']) or die "Error executing 'Build install' in dist directory"; } ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Compat.pm new/Module-Build-0.4005/lib/Module/Build/Compat.pm --- old/Module-Build-0.4003/lib/Module/Build/Compat.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Compat.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; use File::Basename (); use File::Spec; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Config.pm new/Module-Build-0.4005/lib/Module/Build/Config.pm --- old/Module-Build-0.4003/lib/Module/Build/Config.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Config.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Config; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Cookbook.pm new/Module-Build-0.4005/lib/Module/Build/Cookbook.pm --- old/Module-Build-0.4003/lib/Module/Build/Cookbook.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Cookbook.pm 2013-04-25 15:16:17.000000000 +0200 @@ -1,7 +1,7 @@ package Module::Build::Cookbook; use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; =head1 NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Dumper.pm new/Module-Build-0.4005/lib/Module/Build/Dumper.pm --- old/Module-Build-0.4003/lib/Module/Build/Dumper.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Dumper.pm 2013-04-25 15:16:17.000000000 +0200 @@ -1,7 +1,7 @@ package Module::Build::Dumper; use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; # This is just a split-out of a wrapper function to do Data::Dumper # stuff "the right way". See: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/ModuleInfo.pm new/Module-Build-0.4005/lib/Module/Build/ModuleInfo.pm --- old/Module-Build-0.4003/lib/Module/Build/ModuleInfo.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/ModuleInfo.pm 2013-04-25 15:16:17.000000000 +0200 @@ -4,7 +4,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; require Module::Metadata; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Notes.pm new/Module-Build-0.4005/lib/Module/Build/Notes.pm --- old/Module-Build-0.4003/lib/Module/Build/Notes.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Notes.pm 2013-04-25 15:16:17.000000000 +0200 @@ -4,7 +4,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Data::Dumper; use IO::File; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/PPMMaker.pm new/Module-Build-0.4005/lib/Module/Build/PPMMaker.pm --- old/Module-Build-0.4003/lib/Module/Build/PPMMaker.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/PPMMaker.pm 2013-04-25 15:16:17.000000000 +0200 @@ -5,7 +5,7 @@ use vars qw($VERSION); use IO::File; -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; # This code is mostly borrowed from ExtUtils::MM_Unix 6.10_03, with a diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Platform/Amiga.pm new/Module-Build-0.4005/lib/Module/Build/Platform/Amiga.pm --- old/Module-Build-0.4003/lib/Module/Build/Platform/Amiga.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Platform/Amiga.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Module::Build::Base; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Platform/Default.pm new/Module-Build-0.4005/lib/Module/Build/Platform/Default.pm --- old/Module-Build-0.4003/lib/Module/Build/Platform/Default.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Platform/Default.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Module::Build::Base; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Platform/EBCDIC.pm new/Module-Build-0.4005/lib/Module/Build/Platform/EBCDIC.pm --- old/Module-Build-0.4003/lib/Module/Build/Platform/EBCDIC.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Platform/EBCDIC.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Module::Build::Base; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Platform/MPEiX.pm new/Module-Build-0.4005/lib/Module/Build/Platform/MPEiX.pm --- old/Module-Build-0.4003/lib/Module/Build/Platform/MPEiX.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Platform/MPEiX.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Module::Build::Base; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Platform/MacOS.pm new/Module-Build-0.4005/lib/Module/Build/Platform/MacOS.pm --- old/Module-Build-0.4003/lib/Module/Build/Platform/MacOS.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Platform/MacOS.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Module::Build::Base; use vars qw(@ISA); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Platform/RiscOS.pm new/Module-Build-0.4005/lib/Module/Build/Platform/RiscOS.pm --- old/Module-Build-0.4003/lib/Module/Build/Platform/RiscOS.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Platform/RiscOS.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Module::Build::Base; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Platform/Unix.pm new/Module-Build-0.4005/lib/Module/Build/Platform/Unix.pm --- old/Module-Build-0.4003/lib/Module/Build/Platform/Unix.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Platform/Unix.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Module::Build::Base; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Platform/VMS.pm new/Module-Build-0.4005/lib/Module/Build/Platform/VMS.pm --- old/Module-Build-0.4003/lib/Module/Build/Platform/VMS.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Platform/VMS.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Module::Build::Base; use Config; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Platform/VOS.pm new/Module-Build-0.4005/lib/Module/Build/Platform/VOS.pm --- old/Module-Build-0.4003/lib/Module/Build/Platform/VOS.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Platform/VOS.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Module::Build::Base; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Platform/Windows.pm new/Module-Build-0.4005/lib/Module/Build/Platform/Windows.pm --- old/Module-Build-0.4003/lib/Module/Build/Platform/Windows.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Platform/Windows.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Config; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Platform/aix.pm new/Module-Build-0.4005/lib/Module/Build/Platform/aix.pm --- old/Module-Build-0.4003/lib/Module/Build/Platform/aix.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Platform/aix.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Module::Build::Platform::Unix; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Platform/cygwin.pm new/Module-Build-0.4005/lib/Module/Build/Platform/cygwin.pm --- old/Module-Build-0.4003/lib/Module/Build/Platform/cygwin.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Platform/cygwin.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Module::Build::Platform::Unix; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Platform/darwin.pm new/Module-Build-0.4005/lib/Module/Build/Platform/darwin.pm --- old/Module-Build-0.4003/lib/Module/Build/Platform/darwin.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Platform/darwin.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Module::Build::Platform::Unix; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/Platform/os2.pm new/Module-Build-0.4005/lib/Module/Build/Platform/os2.pm --- old/Module-Build-0.4003/lib/Module/Build/Platform/os2.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/Platform/os2.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Module::Build::Platform::Unix; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build/PodParser.pm new/Module-Build-0.4005/lib/Module/Build/PodParser.pm --- old/Module-Build-0.4003/lib/Module/Build/PodParser.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build/PodParser.pm 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use vars qw(@ISA); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/Module/Build.pm new/Module-Build-0.4005/lib/Module/Build.pm --- old/Module-Build-0.4003/lib/Module/Build.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/Module/Build.pm 2013-04-25 15:16:17.000000000 +0200 @@ -16,7 +16,7 @@ use vars qw($VERSION @ISA); @ISA = qw(Module::Build::Base); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/inc/latest/private.pm new/Module-Build-0.4005/lib/inc/latest/private.pm --- old/Module-Build-0.4003/lib/inc/latest/private.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/inc/latest/private.pm 2013-04-25 15:16:17.000000000 +0200 @@ -1,7 +1,7 @@ package inc::latest::private; use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use File::Spec; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/lib/inc/latest.pm new/Module-Build-0.4005/lib/inc/latest.pm --- old/Module-Build-0.4003/lib/inc/latest.pm 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/lib/inc/latest.pm 2013-04-25 15:16:17.000000000 +0200 @@ -1,7 +1,7 @@ package inc::latest; use strict; use vars qw($VERSION); -$VERSION = '0.4003'; +$VERSION = '0.4005'; $VERSION = eval $VERSION; use Carp; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/t/install.t new/Module-Build-0.4005/t/install.t --- old/Module-Build-0.4003/t/install.t 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/t/install.t 2013-04-25 15:16:17.000000000 +0200 @@ -209,14 +209,6 @@ is keys %$pods, 1; my $expect = $mb->localize_file_path('lib/Simple/Docs.pod'); - # TODO: - # True for traditional VMS, but will need to be changed when ODS-5 support - # for case preserved filenames is active. - # The issue is that the keys to the $pods hash are currently being set to - # lowercase on VMS so can not be found in exact case. - - $expect = lc($expect) if $^O eq 'VMS'; - is $pods->{$expect}, $expect; my $pms = $mb->_find_file_by_type('awefawef', 'lib'); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/t/metadata.t new/Module-Build-0.4005/t/metadata.t --- old/Module-Build-0.4003/t/metadata.t 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/t/metadata.t 2013-04-25 15:16:17.000000000 +0200 @@ -2,7 +2,7 @@ use strict; use lib 't/lib'; -use MBTest tests => 51; +use MBTest tests => 52; blib_load('Module::Build'); blib_load('Module::Build::ConfigData'); @@ -15,6 +15,9 @@ dist_version => '3.14159265', dist_author => [ 'Simple Simon <ss\@somewhere.priv>' ], dist_abstract => 'Something interesting', + test_requires => { + 'Test::More' => 0.98, + }, license => 'perl', meta_add => { keywords => [qw(super duper something)], @@ -80,6 +83,9 @@ is_deeply $node->{author}, $metadata{dist_author}; is $node->{license}, $metadata{license}; is_deeply $node->{configure_requires}, $mb_config_req, 'Add M::B to configure_requires'; + is_deeply $node->{test_requires}, { + 'Test::More' => '0.98', + }, 'Test::More was required by ->new'; like $node->{generated_by}, qr{Module::Build}; ok defined( $node->{'meta-spec'}{version} ), "'meta-spec' -> 'version' field present in META.yml"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Module-Build-0.4003/t/xs.t new/Module-Build-0.4005/t/xs.t --- old/Module-Build-0.4003/t/xs.t 2012-08-18 11:24:41.000000000 +0200 +++ new/Module-Build-0.4005/t/xs.t 2013-04-25 15:16:17.000000000 +0200 @@ -19,7 +19,7 @@ } elsif ( !$Config{usedl} ) { plan skip_all => 'Perl not compiled for dynamic loading' } else { - plan tests => 20; + plan tests => 22; } require Cwd; $tmp = MBTest->tmpdir( $tmp_exec ? () : (DIR => Cwd::cwd) ); @@ -117,6 +117,14 @@ stdout_stderr_of( sub { eval { $mb->dispatch('test') } } ); is $@, ''; +eval { $mb->dispatch('clean') }; + +eval { $mb->dispatch('build', 'pureperl_only' => 1) }; +like $@, qr/\ACan\'t build xs files under --pureperl-only/, 'Can\'t build xs under pureperl'; + +eval { $mb->dispatch('build', pureperl_only => 1, allow_pureperl => 1) }; +is $@, '', 'Can\'t build xs under pureperl, unless allow_pureperl'; + eval { $mb->dispatch('realclean') }; is $@, ''; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
