Enforce XML::LibXML version requirements
[dbsrgits/SQL-Translator.git] / Makefile.PL
index b10392d..2916095 100644 (file)
@@ -1,7 +1,10 @@
-use inc::Module::Install 0.89;
+use inc::Module::Install 0.91;
 use strict;
 use warnings;
 
+# to deal wuth x.y.z versions properly
+configure_requires 'ExtUtils::MakeMaker' => 6.54;
+
 my $deps = {
   requires => {
     'Class::Base'              => 0,
@@ -11,7 +14,7 @@ my $deps = {
     'Carp::Clan'               => 0,
     'IO::Dir'                  => 0,
     'IO::Scalar'               => 2.110,
-    'Parse::RecDescent'        => 1.096000,   # PBP ftw
+    'Parse::RecDescent'        => 1.962002,
     'Pod::Usage'               => 0,
     'Class::Accessor::Fast'    => 0,
     'DBI'                      => 0,
@@ -20,21 +23,21 @@ my $deps = {
     'XML::Writer'              => 0.500,
   },
   recommends => {
-    'Template'                => 2.10,
-    'GD'                      => 0,
-    'GraphViz'                => 0,
-    'Graph::Directed'         => 0,
-    'Spreadsheet::ParseExcel' => 0.41,
-    'Text::ParseWords'        => 0,
-    'Text::RecordParser'      => 0.02,
-    'XML::LibXML'             => 1.61,
+    'Template'                 => 2.10,
+    'GD'                       => 0,
+    'GraphViz'                 => 0,
+    'Graph::Directed'          => 0,
+    'Spreadsheet::ParseExcel'  => 0.41,
+    'Text::ParseWords'         => 0,
+    'Text::RecordParser'       => 0.02,
+    'XML::LibXML'              => 1.69,
   },
   test_requires => {
-    'File::Basename'          => 0,
-    'Test::More'              => 0.6,
-    'Test::Differences'       => 0,
-    'Test::Exception'         => 0,
-    'YAML'                    => 0.39,
+    'YAML'                     => 0.66,
+    'File::Basename'           => 0,
+    'Test::More'               => 0.6,
+    'Test::Differences'        => 0,
+    'Test::Exception'          => 0,
   },
 };
 
@@ -43,7 +46,7 @@ perl_version '5.005';
 name        'SQL-Translator';
 author      'Ken Youens-Clark <kclark@cpan.org>';
 abstract    'SQL DDL transformations and more';
-license     'http://fsf.org/licensing/licenses/gpl.html';
+license     'gpl';
 repository  'https://sqlfairy.svn.sourceforge.net/svnroot/sqlfairy';
 bugtracker  'http://rt.cpan.org/NoAuth/Bugs.html?Dist=SQL-Translator';
 
@@ -51,6 +54,7 @@ resources Ratings => 'http://cpanratings.perl.org/d/SQL-Translator';
 
 all_from    'lib/SQL/Translator.pm';
 
+
 for my $type (qw/requires recommends test_requires/) {
   no strict qw/refs/;
   my $f = \&$type;