X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=7f6782ccafd54f4a10f0830cc99872e3ee5b6735;hb=4c4e7c7e91e6ae75d85d8ece8534629db2a66ba8;hp=e13ee972cdc33f2007cb6b8c375eb97e22f77365;hpb=1200a1ee8542274f3192b6f4defc1d69249c9954;p=catagits%2FCatalyst-Authentication-Credential-OpenID.git diff --git a/Makefile.PL b/Makefile.PL index e13ee97..7f6782c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,35 +1,45 @@ -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; - -recommends "Config::General" => "2"; -recommends "YAML" => "0.6"; +use inc::Module::Install 0.87; +use strict; +use warnings; + +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::Authentication::User::Hash" => undef; +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 "LWPx::ParanoidAgent" => "1.03"; -recommends "Math::BigInt" => undef; -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; +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; + +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; __END__