canonical repository moved to https://github.com/Perl-Toolchain-Gang/Module-Metadata
[p5sagit/Module-Metadata.git] / Makefile.PL
index 8cc8648..1d090c8 100644 (file)
@@ -1,28 +1,64 @@
 use strict;
 use warnings FATAL => 'all';
 use ExtUtils::MakeMaker;
+use 5.006;
+
+# TODO: convert to dzil and use [OnlyCorePrereqs], and possibly [DualLife]
 
 (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
 
 WriteMakefile(
   NAME => 'Module::Metadata',
   VERSION_FROM => 'lib/Module/Metadata.pm',
+  ABSTRACT_FROM => 'lib/Module/Metadata.pm',
+  LICENSE => 'perl',
+  MIN_PERL_VERSION => '5.006',
   PREREQ_PM => {
     'Carp'        => 0,
     'File::Find'  => 0,
     'File::Spec'  => 0,
-    'IO::File'    => 0,
     'strict'      => 0,
+    'warnings'    => 0,
     'vars'        => 0,
     'version'     => 0.87,
     'warnings'    => 0,
+    $] < 5.008
+      ? ( 'IO::Scalar' => 0 )
+      : ()
+    ,
   },
+  -f 'META.yml' ? () : (
   META_MERGE => {
+    'meta-spec' => { version => 2 },
     dynamic_config => 0,
     resources => {
-      # r/w: p5sagit@git.shadowcat.co.uk:Module-Metadata.git
-      repository => 'git://git.shadowcat.co.uk/p5sagit/Module-Metadata.git',
-      homepage => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Module-Metadata.git',
+      repository => {
+        url => 'git@github.com:Perl-Toolchain-Gang/Module-Metadata.git',
+        web => 'https://github.com/Perl-Toolchain-Gang/Module-Metadata',
+        type => 'git',
+      },
+      bugtracker => {
+          mailto => 'bug-Module-Metadata@rt.cpan.org',
+          web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Module-Metadata',
+      },
     },
-  },
+    prereqs => {
+      test => {
+        requires => {
+          'Test::More' => 0,
+          'Carp' => 0,
+          'Config' => 0,
+          'Cwd' => 0,
+          'Data::Dumper' => 0,
+          'Exporter' => 0,
+          'File::Basename' => 0,
+          'File::Find' => 0,
+          'File::Path' => 0,
+          'File::Spec' => 0,
+          'File::Temp' => 0,
+          'IO::File' => 0,
+        },
+      },
+    },
+  } ),
 );