-use inc::Module::Install;
-
-# use lib 'inc';
-# use Devel::AssertOS qw( Linux Unix Cygwin );
-
-name "Catalyst-Authentication-Credential-OpenID";
-all_from "lib/Catalyst/Authentication/Credential/OpenID.pm";
-
-requires "Class::Accessor::Fast" => 0;
-requires "Catalyst::Runtime" => "5.7";
-requires "Crypt::DH" => "0.05"; # IIRC OpenID stuff forgets to prereq this
-requires "Net::OpenID::Consumer" => "0.14";
-requires "Catalyst::Exception" => 0;
-requires "UNIVERSAL::require" => 0;
-requires "Catalyst::Authentication::User::Hash" => 0;
+use inc::Module::Install 0.87;
+
+name "Catalyst-Authentication-Credential-OpenID";
+all_from "lib/Catalyst/Authentication/Credential/OpenID.pm";
+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 "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";
+test_requires "Catalyst::Engine::HTTP";
-recommends "LWPx::ParanoidAgent" => "1.03";
-recommends "Math::BigInt" => 0;
+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;
-build_requires "LWP::UserAgent" => 0;
-build_requires "Test::More" => "0.42";
-build_requires "Net::OpenID::Server" => 0;
-build_requires "Test::WWW::Mechanize" => "1.20";
-build_requires "Catalyst::Plugin::Session::Store::FastMmap" => 0;
+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__