X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Build.PL;h=3dea0107b27677edc6f587cd3e2453d4fe1cef6b;hb=3c2bc5e2dc448e36704a71f25d66503cef8831fb;hp=9bc5aed6e1bd4c2592327ea49390d09b6f20a9c1;hpb=5569c072bdd927aa987d9bb1234ae69947db4867;p=gitmo%2FMoose.git diff --git a/Build.PL b/Build.PL index 9bc5aed..3dea010 100644 --- a/Build.PL +++ b/Build.PL @@ -2,22 +2,27 @@ use Module::Build; use strict; +# Scalar::Util 1.18 doesn't work on Windows +my $win32 = !! ( $^O eq 'Win32' or $^O eq 'cygwin' ); + my $build = Module::Build->new( module_name => 'Moose', license => 'perl', requires => { - 'Scalar::Util' => '1.18', - 'Carp' => '0', - 'Class::MOP' => '0.21', - 'Sub::Name' => '0.02', + 'Scalar::Util' => $win32 ? '1.17' : '1.18', + 'Carp' => '0', + 'Class::MOP' => '0.34', + 'Sub::Name' => '0.02', + 'Sub::Exporter' => '0.954', + 'Sub::Install' => '0.92', + 'B' => '0', }, optional => { }, build_requires => { - 'Test::More' => '0.47', - 'Test::Exception' => '0.21', - 'Locale::US' => '0', - 'Regexp::Common' => '0', + 'Test::More' => '0.62', + 'Test::Exception' => '0.21', + 'Test::LongString' => '0', }, create_makefile_pl => 'traditional', recursive_test_files => 1,