link-checker commit: List all dependencies per cpan-testers-discuss recommendation, document required/optional ones.

changeset:   296:75e6c9d6be31
user:        ville
date:        Thu Feb 19 20:18:26 2009 +0000
files:       META.yml Makefile.PL
description:
List all dependencies per cpan-testers-discuss recommendation, document required/optional ones.


diff -r 78b24ed83444 -r 75e6c9d6be31 META.yml
--- a/META.yml	Thu Feb 19 19:59:12 2009 +0000
+++ b/META.yml	Thu Feb 19 20:18:26 2009 +0000
@@ -9,15 +9,29 @@
 distribution_type:   module
 requires:     
     CGI:                           0
+    CGI::Carp:                     0
+    CGI::Cookie:                   0
     Config::General:               2.06
     File::Spec:                    0
+    Getopt::Long:                  2.17
+    HTML::Entities:                0
     HTML::Parser:                  3.2
-    LWP:                           5.802
+    HTTP::Request:                 0
+    HTTP::Response:                1.5
+    Locale::Country:               0
+    Locale::Language:              0
+    LWP::RobotUA:                  1.19
+    LWP::UserAgent:                0
+    Net::hostent:                  0
     Net::IP:                       0
+    Socket:                        0
     Term::ReadKey:                 2
     Test::More:                    0
+    Text::Wrap:                    0
     Time::HiRes:                   0
     URI:                           1.31
+    URI::Escape:                   0
+    URI::file:                     0
 meta-spec:
     url:     http://module-build.sourceforge.net/META-spec-v1.3.html
     version: 1.3
diff -r 78b24ed83444 -r 75e6c9d6be31 Makefile.PL
--- a/Makefile.PL	Thu Feb 19 19:59:12 2009 +0000
+++ b/Makefile.PL	Thu Feb 19 20:18:26 2009 +0000
@@ -8,17 +8,45 @@
   LICENSE       => 'open_source',
   VERSION_FROM  => 'bin/checklink',
   PREREQ_PM     => {
-                     CGI             => 0,
-                     Config::General => 2.06,
-                     HTML::Parser    => 3.20,
-                     LWP             => 5.802,
-                     Net::IP         => 0, # Optional, see the docs.
-                     Term::ReadKey   => 2.00,
-                     Time::HiRes     => 0,
-                     URI             => 1.31,
-                     # For the test suite:
-                     Test::More      => 0,
-                     File::Spec      => 0,
+                     # Hard dependencies:
+                     HTML::Entities   => 0,
+                     HTML::Parser     => 3.20,
+                     HTTP::Request    => 0,
+                     HTTP::Response   => 1.50,
+                     LWP::RobotUA     => 1.19,
+                     LWP::UserAgent   => 0,
+                     Time::HiRes      => 0,
+                     URI              => 1.31,
+                     URI::Escape      => 0,
+
+                     # Optional, but required if using a config file:
+                     Config::General  => 2.06,
+
+                     # Optional, but required if private IPs are disallowed:
+                     Net::hostent     => 0,
+                     Net::IP          => 0,
+                     Socket           => 0,
+
+                     # Optional, but required in command line mode:
+                     Getopt::Long     => 2.17,
+                     Text::Wrap       => 0,
+                     URI::file        => 0,
+
+                     # Optional, used for password input in command line mode:
+                     Term::ReadKey    => 2.00,
+
+                     # Optional, used for guessing language in cmd line mode:
+                     Locale::Country  => 0,
+                     Locale::Language => 0,
+
+                     # Optional, but required in CGI mode:
+                     CGI              => 0,
+                     CGI::Carp        => 0,
+                     CGI::Cookie      => 0,
+
+                     # Required for the test suite:
+                     File::Spec       => 0,
+                     Test::More       => 0,
                    },
   PM            => { 'lib/W3C/LinkChecker.pm' =>
                      '$(INST_LIB)/W3C/LinkChecker.pm' },

Received on Thursday, 5 August 2010 14:47:39 UTC