drop a couple of dependencies by minor releases we don't strictly need
[gitmo/Moo.git] / Makefile.PL
index fdc8ba7..c6cc898 100644 (file)
@@ -2,10 +2,7 @@ use strict;
 use warnings FATAL => 'all';
 use 5.008001;
 use ExtUtils::MakeMaker;
-
-unless (-e 'META.yml') {
-  warn "MYMETA.yml is going to be completely wrong. Sorry.\n";
-}
+(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
 
 my %BUILD_DEPS = (
   'Test::More' => 0.96,
@@ -13,8 +10,10 @@ my %BUILD_DEPS = (
 );
 
 my %RUN_DEPS = (
-  'Class::Method::Modifiers' => 1.05,
-  'strictures' => 1,
+  'Class::Method::Modifiers' => 1.04,
+  'strictures' => 1.001001,
+  'Module::Runtime' => 0.012,
+  'Role::Tiny' => 1.001001,
 );
 
 # have to do this since old EUMM dev releases miss the eval $VERSION line
@@ -24,8 +23,6 @@ my $mymeta = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5702 };
 WriteMakefile(
   NAME => 'Moo',
   VERSION_FROM => 'lib/Moo.pm',
-  ABSTRACT_FROM => 'lib/Moo.pm',
-  AUTHOR => 'Matt S Trout <mst@shadowcat.co.uk>',
   PREREQ_PM => {
     %RUN_DEPS,
     ($] >= 5.010 ? () : ('MRO::Compat' => 0)),