publish the github repo instead, for easier receipt of pull requests
[p5sagit/Safe-Isa.git] / Makefile.PL
index 4b66b8e..dc2b724 100644 (file)
@@ -2,7 +2,7 @@ use strict;
 use warnings FATAL => 'all';
 use 5.008001;
 use ExtUtils::MakeMaker;
-(do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
+(do './maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
 
 my %WriteMakefileArgs = (
   NAME => 'Safe::Isa',
@@ -11,12 +11,15 @@ my %WriteMakefileArgs = (
   META_MERGE => {
       'meta-spec' => { version => 2 },
       dynamic_config => 0,
-
       resources => {
+        # GitHub mirrors from Shadowcat. We list it so we can get pull requests.
+        # The canonical repo is:
+        # r/o: git://git.shadowcat.co.uk/p5sagit/Safe-Isa.git
         # r/w: p5sagit@git.shadowcat.co.uk:Safe-Isa.git
+        # web: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Safe-Isa.git
         repository => {
-          url => 'git://git.shadowcat.co.uk/p5sagit/Safe-Isa.git',
-          web => 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Safe-Isa.git',
+          url => 'https://github.com/p5sagit/Safe-Isa.git',
+          web => 'https://github.com/p5sagit/Safe-Isa',
           type => 'git',
         },
         bugtracker => {
@@ -27,6 +30,7 @@ my %WriteMakefileArgs = (
   },
 
   META_ADD => {
+    'meta-spec' => { version => 2 },
     prereqs => {
       configure => {
         requires => {
@@ -40,10 +44,13 @@ my %WriteMakefileArgs = (
           perl => '5.006',
         },
       },
+      test => {
+        requires => {
+          'Test::More' => '0',
+        },
+      },
     },
   },
-
-  realclean => { FILES => [ 'Distar/', 'MANIFEST*' ] },
 );
 
 my $eumm_version  = eval $ExtUtils::MakeMaker::VERSION;