X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=5397fb4a44647b81355d1c155c6730689b76d9aa;hb=HEAD;hp=e13ee972cdc33f2007cb6b8c375eb97e22f77365;hpb=1200a1ee8542274f3192b6f4defc1d69249c9954;p=catagits%2FCatalyst-Authentication-Credential-OpenID.git diff --git a/Makefile.PL b/Makefile.PL index e13ee97..5397fb4 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,35 +1,65 @@ -use inc::Module::Install; - -name "Catalyst-Authentication-Credential-OpenID"; -all_from "lib/Catalyst/Authentication/Credential/OpenID.pm"; -author "Ashley Pond V "; - -requires "parent" => "0.2"; -requires "Class::Accessor::Fast" => undef; -requires "HTML::Parser" => "3"; -requires "LWP::UserAgent" => undef; -requires "Catalyst" => "5.7"; -requires "Catalyst::Devel" => "1"; -requires "Crypt::DH" => "0.05"; # IIRC OpenID stuff forgets to prereq this -requires "Net::OpenID::Consumer" => "0.14"; -requires "Catalyst::Authentication::User::Hash" => undef; -requires "Cache::FastMmap" => "1.28"; -requires "Catalyst::Plugin::Session::Store::FastMmap" => "0.05"; -requires "Catalyst::Plugin::Session::State::Cookie" => "0.08"; -requires "Catalyst::Engine::HTTP" => undef; +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 "; + +requires "Class::Accessor::Fast" => undef; +requires "HTML::Parser" => "3"; +requires "LWP::UserAgent" => undef; +requires "Cache::FastMmap" => "1.28"; +requires "Catalyst" => "5.7"; +requires "Catalyst::Devel" => "1"; +requires "Net::OpenID::Consumer" => "1.03"; +requires "Catalyst::Plugin::Authentication"; +requires "Catalyst::Plugin::Session::Store::FastMmap" => "0.05"; +requires "Catalyst::Plugin::Session::State::Cookie" => "0.08"; recommends "Config::General" => "2"; recommends "YAML" => "0.6"; -recommends "LWPx::ParanoidAgent" => "1.03"; recommends "Math::BigInt" => undef; +recommends "LWPx::ParanoidAgent" => "1.03"; + +test_requires "Catalyst::Engine::HTTP"; + +test_requires "Test::More" => "0.42"; +# test_requires "Test::WWW::Mechanize" => "1.20"; +# test_requires "Net::OpenID::Server" => "1.02"; +# 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"; +} -build_requires "Test::More" => "0.42"; -build_requires "Net::OpenID::Server" => undef; -build_requires "Test::WWW::Mechanize" => "1.20"; -build_requires "Net::DNS" => undef; -build_requires "IO::Socket::INET" => undef; +resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Authentication-Credential-OpenID.git'; -auto_install; WriteAll; __END__