Merged 5.49_01 (r1339) from refactored branch to trunk
[catagits/Catalyst-Runtime.git] / Build.PL
index 0f8b5f9..40a7891 100644 (file)
--- a/Build.PL
+++ b/Build.PL
@@ -2,41 +2,49 @@ use strict;
 use Module::Build;
 
 my $build = Module::Build->new(
+    create_makefile_pl => 'passthrough',
     license            => 'perl',
     module_name        => 'Catalyst',
     requires           => {
         'perl'                              => '5.8.1',
         'UNIVERSAL::require'                => 0,
-        'CGI'                               => '3.06',
         'Class::Accessor::Fast'             => 0,
         'Class::Data::Inheritable'          => 0,
-        'File::Temp'                        => 0.14,
-        'HTTP::Daemon'                      => 0,
+        'CGI::Cookie'                       => 0,
         'HTML::Entities'                    => 0,
+        'HTTP::Body'                        => 0,
         'HTTP::Headers'                     => 1.59,
         'HTTP::Request'                     => 0,
         'HTTP::Response'                    => 0,
         'LWP::UserAgent'                    => 0,
         'Module::Pluggable::Fast'           => 0.16,
+        'NEXT'                              => 0,
         'Path::Class'                       => 0.09,
+        'Scalar::Util'                      => 0,
         'Template'                          => 0,
         'Text::ASCIITable'                  => 0.17,
+        'Test::MockObject'                  => 0,
         'Tree::Simple'                      => 0,
         'Tree::Simple::Visitor::FindByPath' => 0,
-        'URI'                               => 0,
-       'Time::HiRes'                       => 0,
+        'URI'                               => 1.35,
+        'URI::Query'                        => 0,
     },
-    create_makefile_pl   => 'passthrough',
-    create_readme        => 1,
-    script_files         => [ glob('script/*') ],
-    test_files           => "t/",
-    recursive_test_files => 1
+    recommends         => { 'Catalyst::Engine::Apache' => 0, },
+    create_makefile_pl => 'passthrough',
+    create_readme      => 1,
+    script_files       => [ glob('script/*') ],
+    test_files         => [
+        glob('t/*.t'),     glob('t/*/*.t'),
+        glob('t/*/*/*.t'), glob('t/*/*/*/*.t'),
+        glob('t/*/*/*/*/*.t')
+    ]
 );
 $build->create_build_script;
 
 print( '*' x 80, "\n" );
 print(
-    (qw/chansen draven fordmason naughton sri the_jester/)[ int( rand(6) ) ],
+    (qw/andyg chansen draven fordmason mst naughton sri jester/)
+    [ int( rand(8) ) ],
     " is the greatest and gabb is ",
     ( (localtime)[2] > 12 ? "drunk" : "hung over" ),
     " again!\n"
@@ -45,3 +53,9 @@ print( '*' x 80, "\n" );
 
 eval "use FCGI";
 print qq/Install "FCGI" for FastCGI support.\n/ if $@;
+
+print qq/
+*** IMPORTANT NOTE: ***
+The Apache engines have been moved to a separate package in Catalyst 5.5.
+Please install Catalyst::Engine::Apache if you need Apache support.
+/;