From: Florian Ragwitz Date: Thu, 16 Oct 2008 02:24:05 +0000 (+0000) Subject: Don't depend on Class::Data::Inheritable and NEXT. X-Git-Tag: 5.8000_03~30 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=1a667b7c025ad99457b34ecdeb9158a3986d3946 Don't depend on Class::Data::Inheritable and NEXT. We only use them for testing. Just test_require them. --- diff --git a/Makefile.PL b/Makefile.PL index 27ba0b2..a4a9f90 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -8,7 +8,6 @@ all_from 'lib/Catalyst/Runtime.pm'; requires 'MooseX::Emulate::Class::Accessor::Fast' => '0.00300'; requires 'Moose' => '0.59'; requires 'Carp'; -requires 'Class::Data::Inheritable'; requires 'Class::Inspector' => '1.06'; requires 'CGI::Simple::Cookie'; requires 'Data::Dump'; @@ -21,7 +20,6 @@ requires 'HTTP::Response'; requires 'HTTP::Request::AsCGI' => '0.5'; requires 'LWP::UserAgent'; requires 'Module::Pluggable' => '3.01'; -requires 'NEXT'; requires 'Path::Class' => '0.09'; requires 'Scalar::Util'; requires 'Text::SimpleTable' => '0.03'; @@ -32,6 +30,9 @@ requires 'URI' => '1.35'; requires 'Text::Balanced'; # core in 5.8.x but mentioned for completeness requires 'MRO::Compat'; +test_requires 'NEXT'; +test_requires 'Class::Data::Inheritable'; + if ( ( exists $ENV{AGGREGATE_TESTS} && !$ENV{AGGREGATE_TESTS}) || (!exists $ENV{AGGREGATE_TESTS} && !can_use('Test::Aggregate', '0.34_01'))) { tests join q{ },