X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=Makefile.PL;h=3384a3c35b333565bb4bdaf45fd180670206cda7;hp=ed5f13dc9a0849760e0d6ed80d46acabac50339f;hb=212ba4eef702e4c181720011fbe6c61b84a6feb7;hpb=5e177741088e696314b644f0e0a11d700a89d9d0 diff --git a/Makefile.PL b/Makefile.PL index ed5f13d..3384a3c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,25 +1,28 @@ use strict; use warnings; use inc::Module::Install 0.87; -BEGIN { # Make it easy for newbies - if ($Module::Install::AUTHOR) { - require Module::Install::AuthorRequires; - require Module::Install::CheckConflicts; - } +{ # Ensure that these get used - yes, M::I loads them for us, but if you're + # in author mode and don't have them installed, then the error is tres + # cryptic. + no warnings 'redefine'; + use Module::Install::AuthorRequires; + use Module::Install::CheckConflicts; + use Module::Install::AuthorTests; } -perl_version '5.008006'; + +perl_version '5.008004'; name 'Catalyst-Runtime'; all_from 'lib/Catalyst/Runtime.pm'; requires 'List::MoreUtils'; -requires 'namespace::autoclean'; +requires 'namespace::autoclean' => '0.09'; requires 'namespace::clean'; requires 'B::Hooks::EndOfScope' => '0.08'; -requires 'MooseX::Emulate::Class::Accessor::Fast' => '0.00801'; +requires 'MooseX::Emulate::Class::Accessor::Fast' => '0.00903'; requires 'Class::MOP' => '0.83'; -requires 'Moose' => '0.78'; -requires 'MooseX::MethodAttributes::Inheritable' => '0.15'; +requires 'Moose' => '0.90'; +requires 'MooseX::MethodAttributes::Inheritable' => '0.17'; requires 'Carp'; requires 'Class::C3::Adopt::NEXT' => '0.07'; requires 'CGI::Simple::Cookie'; @@ -60,7 +63,9 @@ else { grep { $_ ne 't/aggregate.t' } map { glob } qw[t/*.t t/aggregate/*.t]; } +author_requires 'CatalystX::LeakChecker', '0.03'; # Skipped if this isn't installed +author_tests 't/author'; author_requires(map {; $_ => 0 } qw( Test::NoTabs Test::Pod @@ -105,6 +110,7 @@ EOF # NOTE - This is the version number of the _incompatible_ code, # not the version number of the fixed version. my %conflicts = ( + 'Catalyst::Model::Akismet' => '0.02', 'Catalyst::Component::ACCEPT_CONTEXT' => '0.06', 'Catalyst::Plugin::ENV' => '9999', # This plugin is just stupid, full stop # should have been a core fix. @@ -130,6 +136,7 @@ my %conflicts = ( 'Catalyst::Action::REST' => '0.67', 'CatalystX::CRUD' => '0.42', 'CatalystX::CRUD::Model::RDBO' => '0.20', + 'Catalyst::View::Mason' => '0.17', ); check_conflicts(%conflicts);