X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=7c981f66daefc7bd9915a18d851fa43b7ee6bf56;hb=cf042872e38d51533829985f8fc62b18cd46a135;hp=067bc20ce918d5eb8cc565f447594594033b926c;hpb=a13b99da9aeb2204721a7708dfdf5c01d1ae802b;p=catagits%2FCatalyst-Devel.git diff --git a/Makefile.PL b/Makefile.PL index 067bc20..7c981f6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,19 +3,30 @@ use inc::Module::Install 0.87; name 'Catalyst-Devel'; all_from 'lib/Catalyst/Devel.pm'; -requires 'Catalyst' => '5.7000'; +requires 'Moose'; +requires 'File::ShareDir'; +requires 'namespace::autoclean'; +requires 'Catalyst' => '5.8000'; requires 'Catalyst::Action::RenderView' => '0.04'; requires 'Catalyst::Plugin::Static::Simple' => '0.16'; requires 'Catalyst::Plugin::ConfigLoader'; -requires 'Class::Accessor::Fast'; -requires 'Config::General'; # as of 1.07, we use .conf and not .yaml -requires 'File::ChangeNotify'; +requires 'Config::General' => '2.42'; # as of 1.07, we use .conf and not .yaml +requires 'File::ChangeNotify' => '0.03'; requires 'File::Copy::Recursive'; requires 'Module::Install' => '0.64'; requires 'parent'; # as of 1.04 requires 'Path::Class' => '0.09'; requires 'Template' => '2.14'; +install_share 'share'; + +if ( $^O eq 'MSWin32' ) { + # Proc::Background needs this on Win32 but doesn't actually + # require it, if it's missing it just dies in the Makefile.PL. + requires 'Win32::Process' => '0.04'; + requires 'Proc::Background'; +} + if (!$ENV{CATALYST_DEVEL_NO_510_CHECK}) { use Symbol 'gensym'; use IPC::Open3; @@ -23,7 +34,7 @@ if (!$ENV{CATALYST_DEVEL_NO_510_CHECK}) { open NULL, '>', File::Spec->devnull; my $err = gensym; my $pid = open3(gensym, '&>NULL', $err, "$^X -It/lib -MUnknownError -e 1"); - + my $unknown_error = 0; while (<$err>) { @@ -37,7 +48,7 @@ if (!$ENV{CATALYST_DEVEL_NO_510_CHECK}) { ############################### WARNING ################################# # # # You are using perl 5.10.0 with the "Unknown error" bug. This can make # -# developing Catalyst applications much more painful, as it will come # +# developing Catalyst applications much more painful, as it will come # # up with no details every time you have a syntax error in a Controller.# # # # For more information see: #