X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=e3b05bec87ce833d66b0c0d88b385212ffa94e44;hb=par_stderr_not_null;hp=8d54d18de83ff1d373f30d18551271c26bc9c685;hpb=2b6385ce647af97ff0195f64a1d8619ff4667a0f;p=catagits%2FCatalyst-Devel.git diff --git a/Makefile.PL b/Makefile.PL index 8d54d18..e3b05be 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,20 +1,53 @@ -use inc::Module::Install 0.87; +use strict; +use warnings; +use inc::Module::Install 0.91; +use Module::Install::AuthorRequires; +use Module::Install::AuthorTests; name 'Catalyst-Devel'; all_from 'lib/Catalyst/Devel.pm'; -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 'Moose'; +requires 'MooseX::Emulate::Class::Accessor::Fast'; +requires 'File::ShareDir'; +requires 'namespace::clean'; +requires 'namespace::autoclean'; +requires 'Catalyst' => '5.90001'; +requires 'Catalyst::Action::RenderView' => '0.10'; +requires 'Catalyst::Plugin::Static::Simple' => '0.28'; +requires 'Catalyst::Plugin::ConfigLoader' => '0.30'; requires 'Config::General' => '2.42'; # as of 1.07, we use .conf and not .yaml -requires 'File::ChangeNotify' => '0.03'; +requires 'File::ChangeNotify' => '0.07'; requires 'File::Copy::Recursive'; -requires 'Module::Install' => '0.64'; -requires 'parent'; # as of 1.04 requires 'Path::Class' => '0.09'; requires 'Template' => '2.14'; +requires 'MooseX::Daemonize'; # Optional in scripts +requires 'Starman'; # Optional in scripts + +# The Catalyst applications this module distribution have a Makefile.PL using +# Module::Install as well as the Module::Install::Catalyst extension included in +# this distribution. Therefore we really *depend* on Module::Install to be +# installed, even though we also use it to build this distribution and include +# it in its inc/ directory for releases. +requires 'Module::Install' => '0.91'; + +author_requires 'IPC::Run3'; +author_requires 'Module::Info'; +author_requires 'File::Find::Rule'; + +test_requires 'Test::More' => '0.94'; +test_requires 'Test::Fatal' => '0.003'; + +install_share 'share'; + +author_tests 't/author'; + +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'; @@ -23,7 +56,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 +70,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: # @@ -73,7 +106,7 @@ if ($Module::Install::AUTHOR) { [ 'IRC' => 'irc://irc.perl.org/#catalyst' ], [ 'license', => 'http://dev.perl.org/licenses/' ], [ 'homepage', => 'http://dev.catalyst.perl.org/'], - [ 'repository', => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Devel/' ], + [ 'repository', => 'git://git.shadowcat.co.uk/catagits/Catalyst-Devel.git' ], ]; Meta->{values}{requires} = [ grep {