X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=d0a248bab1992900c73e65b4b188075f4e86152b;hb=rrwo%2Fnot_modified;hp=8012cd2baf2a2b3702015dac4c5f71de0508a80e;hpb=5ebf67a4e3bdd642e22dfad78eca007941a52747;p=catagits%2FCatalyst-Action-REST.git diff --git a/Makefile.PL b/Makefile.PL index 8012cd2..d0a248b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,51 +1,87 @@ +use strict; +use warnings; use inc::Module::Install; +use Module::Install::AuthorRequires; +use Module::Install::AuthorTests; perl_version '5.8.1'; name 'Catalyst-Action-REST'; all_from 'lib/Catalyst/Action/REST.pm'; -requires('Catalyst::Runtime' => '5.7001'); +requires 'Moose' => '1.03'; +requires 'namespace::autoclean'; +requires('Catalyst::Runtime' => '5.80030'); requires('Params::Validate' => '0.76'); -requires('YAML::Syck' => '0.67'); requires('Module::Pluggable::Object' => undef); requires('LWP::UserAgent' => '2.033'); -requires('Data::Serializer' => '0.36'); requires('Class::Inspector' => '1.13'); requires('URI::Find' => undef); requires('MRO::Compat' => '0.10'); -test_requires 'Moose'; +requires 'namespace::autoclean'; +test_requires 'Test::More' => '0.88'; + +author_requires 'Test::Pod' => 1.14; +author_requires 'Module::Info'; +author_requires 'File::Find::Rule'; + +author_tests 'xt/'; feature 'JSON (application/json) support', -default => 0, - 'JSON' => '2.12'; + 'JSON' => '2.12', 'JSON::XS' => '2.2222'; -feature 'Data::Taxi (text/x-data-taxi) support', +author_requires 'JSON' => '2.12'; +author_requires 'JSON::XS' => '2.2222'; + +feature 'YAML:Syck (for YAML)', + -default => 0, + 'YAML::Syck' => '0.67'; +author_requires 'YAML::Syck'; + +feature 'HTML::Parser (for HTML input)', + -default => 0, + 'HTML::Parser' => undef; +author_requires 'HTML::Parser'; + +feature 'Data::Taxi (text/x-data-taxi) support (deprecated)', -default => 0, 'Data::Taxi' => undef; +author_requires 'Data::Taxi'; + feature 'Config::General (text/x-config-general) support', -default => 0, 'Config::General' => undef; +author_requires 'Config::General'; feature 'PHP::Serialization (text/x-php-serialization) support', -default => 0, 'PHP::Serialization' => undef; +author_requires 'PHP::Serialization'; feature 'FreezeThaw (application/x-freezethaw) support', -default => 0, 'FreezeThaw' => undef; +author_requires 'FreezeThaw'; feature 'XML::Simple (text/xml) support', -default => 0, 'XML::Simple' => undef; +author_requires 'XML::Simple'; -auto_include; auto_install; -repository 'http://github.com/bobtfish/catalyst-action-rest'; +if ($Module::Install::AUTHOR) { + system("pod2text lib/Catalyst/Action/REST.pm > README") + and die $!; +} + +repository 'git://git.shadowcat.co.uk/catagits/Catalyst-Action-REST.git'; + +add_metadata( x_authority => 'cpan:BOBTFISH' ); WriteAll;