X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=0d29ef60ba88ff55637eca58164c5c8ea7417500;hb=695839da2bca73d0bf1c53338a90fe2b2e007702;hp=91ceaa046e9edd0c548569a259f3acf8cd323bef;hpb=f35dde034cc9dd687d4972ad675224456c227be6;p=catagits%2FCatalyst-Plugin-Authentication.git diff --git a/Makefile.PL b/Makefile.PL index 91ceaa0..0d29ef6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,13 +1,50 @@ -use inc::Module::Install 0.65; +use strict; +use warnings; +use inc::Module::Install 0.87; +use Module::Install::AuthorRequires; +use Module::Install::AuthorTests; +use Module::Install::Authority; + +if ( $Module::Install::AUTHOR ) { + system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' ) + and die; +} + +perl_version '5.008001'; name 'Catalyst-Plugin-Authentication'; all_from 'lib/Catalyst/Plugin/Authentication.pm'; - -perl_version '5.8.1'; +authority 'BOBTFISH'; requires 'Catalyst::Runtime'; requires 'Class::Inspector'; +requires 'MRO::Compat'; requires 'Catalyst::Plugin::Session' => '0.10'; +requires 'Moose'; +requires 'MooseX::Emulate::Class::Accessor::Fast'; +requires 'namespace::autoclean'; +requires 'String::RewritePrefix'; +requires 'Try::Tiny'; + +test_requires 'Test::More' => '0.88'; +test_requires 'Test::Exception'; +test_requires 'Class::MOP'; +test_requires 'Moose'; + +author_requires( + 'Test::Pod' => '1.14', + 'Test::Pod::Coverage' => '1.04', + 'Test::NoTabs' => 0, + 'Test::EOL' => 0, + 'Test::WWW::Mechanize::Catalyst' => 0, + 'Catalyst::Plugin::Session' => 0, + 'Catalyst::Plugin::Session::State::Cookie' => 0, + 'Digest::SHA1' => 0, +); + +author_tests 't/author'; auto_install; +resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Plugin-Authentication.git'; + WriteAll;