use bare filehandles rather than IO::File (patch from leont)'
[p5sagit/Module-Metadata.git] / Makefile.PL
CommitLineData
a4891190 1use strict;
2use warnings FATAL => 'all';
3use ExtUtils::MakeMaker;
5661e08c 4use 5.006;
a4891190 5
e86dd03e 6# TODO: convert to dzil and use [OnlyCorePrereqs], and possibly [DualLife]
7
f1d18ad3 8(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
a4891190 9
10WriteMakefile(
11 NAME => 'Module::Metadata',
4850170c 12 VERSION_FROM => 'lib/Module/Metadata.pm',
d903922c 13 ABSTRACT_FROM => 'lib/Module/Metadata.pm',
14 LICENSE => 'perl',
c3a12878 15 MIN_PERL_VERSION => '5.006',
4850170c 16 PREREQ_PM => {
8f9f6d27 17 'Carp' => 0,
18 'File::Find' => 0,
19 'File::Spec' => 0,
8f9f6d27 20 'strict' => 0,
eed8b6fa 21 'warnings' => 0,
8f9f6d27 22 'vars' => 0,
23 'version' => 0.87,
24 'warnings' => 0,
8d86d0e2 25 $] < 5.008
26 ? ( 'IO::Scalar' => 0 )
27 : ()
28 ,
4850170c 29 },
f0839c2d 30 -f 'META.yml' ? () : (
7e57a40e 31 META_MERGE => {
5ebfae52 32 'meta-spec' => { version => 2 },
7e57a40e 33 dynamic_config => 0,
34 resources => {
35 # r/w: p5sagit@git.shadowcat.co.uk:Module-Metadata.git
e39df202 36 repository => {
37 url => 'git://git.shadowcat.co.uk/p5sagit/Module-Metadata.git',
38 web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Module-Metadata.git',
39 type => 'git',
40 },
41 bugtracker => {
42 mailto => 'bug-Module-Metadata@rt.cpan.org',
43 web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Module-Metadata',
44 },
7e57a40e 45 },
e86dd03e 46 prereqs => {
b813e141 47 test => {
48 requires => {
e86dd03e 49 'Test::More' => 0,
50 'Carp' => 0,
51 'Config' => 0,
52 'Cwd' => 0,
53 'Data::Dumper' => 0,
54 'Exporter' => 0,
55 'File::Basename' => 0,
56 'File::Find' => 0,
57 'File::Path' => 0,
58 'File::Spec' => 0,
59 'File::Temp' => 0,
60 'IO::File' => 0,
61 },
62 },
63 },
f0839c2d 64 } ),
a4891190 65);