2 use warnings FATAL => 'all';
4 use ExtUtils::MakeMaker;
5 (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
9 'Test::Fatal' => 0.003,
12 # have to do this since old EUMM dev releases miss the eval $VERSION line
13 my $mymeta = eval($ExtUtils::MakeMaker::VERSION) >= 6.57_02;
14 my $mymeta_works = eval($ExtUtils::MakeMaker::VERSION) >= 6.57_07;
18 VERSION_FROM => 'lib/Role/Tiny.pm',
21 ($] >= 5.010 ? () : ('MRO::Compat' => 0)),
22 ($mymeta_works ? () : (%BUILD_DEPS)),
24 $mymeta_works ? (BUILD_REQUIRES => \%BUILD_DEPS) : (),
25 ($mymeta && !$mymeta_works ? (NO_MYMETA => 1) : ()),
27 -f 'META.yml' ? () : (META_MERGE => {
28 'meta-spec' => { version => 2 },
33 # r/w: gitmo@git.shadowcat.co.uk:Role-Tiny.git
35 url => 'git://git.shadowcat.co.uk/gitmo/Role-Tiny.git',
36 web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Role-Tiny.git',
40 mailto => 'bug-Role-Tiny@rt.cpan.org',
41 web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Role-Tiny',