X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=35a4b64c6c09d124d911f3c02f21b5afbbdb5e6d;hb=8b1a7e1c5717bc4efa839638b59bca2635cb1306;hp=f78435c3714d806d4edc6b30d236d0943d8eb24b;hpb=47a60d4195569cb204a8b2ed47ed2b22953e3894;p=catagits%2FCatalyst-Authentication-Credential-OpenID.git diff --git a/Makefile.PL b/Makefile.PL index f78435c..35a4b64 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,10 +1,12 @@ use inc::Module::Install 0.87; +use strict; +use warnings; +use Module::Install::AuthorTests; name "Catalyst-Authentication-Credential-OpenID"; all_from "lib/Catalyst/Authentication/Credential/OpenID.pm"; -author "Ashley Pond V "; +author "Ashley Pond V "; -requires "parent" => "0.2"; requires "Class::Accessor::Fast" => undef; requires "HTML::Parser" => "3"; requires "LWP::UserAgent" => undef; @@ -12,14 +14,13 @@ requires "Cache::FastMmap" => "1.28"; requires "Catalyst" => "5.7"; requires "Catalyst::Devel" => "1"; requires "Net::OpenID::Consumer" => "1.03"; -requires "Catalyst::Authentication::User::Hash" => undef; +requires "Catalyst::Plugin::Authentication"; requires "Catalyst::Plugin::Session::Store::FastMmap" => "0.05"; requires "Catalyst::Plugin::Session::State::Cookie" => "0.08"; -requires "Catalyst::Engine::HTTP" => undef; -recommends "Config::General" => "2"; -recommends "YAML" => "0.6"; -recommends "Math::BigInt" => undef; +recommends "Config::General" => "2"; +recommends "YAML" => "0.6"; +recommends "Math::BigInt" => undef; recommends "LWPx::ParanoidAgent" => "1.03"; test_requires "Catalyst::Engine::HTTP"; @@ -30,13 +31,33 @@ test_requires "Test::More" => "0.42"; # test_requires "Net::DNS" => undef; # test_requires "IO::Socket::INET" => undef; +author_tests 't/author'; +author_requires( + 'Test::WWW::Mechanize' => undef, + 'Catalyst::Runtime' => undef, + 'Catalyst::Devel' => undef, + 'Cache::FastMmap' => undef, + 'Catalyst::Plugin::Session::State::Cookie' => undef, + 'Catalyst::Plugin::Session::Store::FastMmap' => undef, + 'Class::Accessor::Fast' => undef, + 'Crypt::DH' => undef, + 'ExtUtils::MakeMaker' => undef, + 'HTML::Parser' => 3, + 'LWP::UserAgent' => undef, + 'Net::OpenID::Consumer' => undef, + 'Net::OpenID::Server' => undef, + 'Test::WWW::Mechanize' => undef, + 'Net::DNS' => undef, + 'IO::Socket::INET' => undef, +); + + if ( $Module::Install::AUTHOR ) { system("pod2text lib/Catalyst/Authentication/Credential/OpenID.pm > README") == 0 or die "Couldn't update the README"; } -auto_install; resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Authentication-Credential-OpenID/'; WriteAll;