migrate to git \o/
[catagits/Catalyst-Authentication-Credential-OpenID.git] / Makefile.PL
index 50eec95..5397fb4 100644 (file)
@@ -1,33 +1,56 @@
 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 <ashley@cpan.org>";
+author    "Ashley Pond V <ashley\@cpan.org>";
 
-requires "parent"        => "0.2";
 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 "Crypt::DH"       => "0.05"; # IIRC OpenID stuff forgets to prereq this
 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";
+
 test_requires "Test::More"      => "0.42";
-test_requires "Net::OpenID::Server" => "1.02";
-test_requires "Test::WWW::Mechanize" => "1.20";
-test_requires "Net::DNS"       => undef;
-test_requires "IO::Socket::INET"   => undef;
+# 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 )
 {
@@ -35,8 +58,7 @@ if ( $Module::Install::AUTHOR )
         or die "Couldn't update the README";
 }
 
-auto_install;
-resources repository => 'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Authentication-Credential-OpenID/';
+resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Authentication-Credential-OpenID.git';
 
 WriteAll;