[Reproducible-commits] [libextutils-depends-perl] 64/187: Generate a better META.yml

Maria Valentina Marin Rodrigues akira-guest at moszumanska.debian.org
Wed Jan 21 21:16:49 UTC 2015


This is an automated email from the git hooks/post-receive script.

akira-guest pushed a commit to branch pu/reproducible_builds
in repository libextutils-depends-perl.

commit de1e586549e5203e85835b14f31d638f59c36c08
Author: Torsten Schönfeld <kaffeetisch at gmx.de>
Date:   Mon May 18 21:52:29 2009 +0200

    Generate a better META.yml
    
    Provide more information to WriteMakefile() so that EU::MM can generate a
    better META.yml.  Original patch by Alexandr Ciornii.
---
 Makefile.PL | 32 +++++++++++++++++++++++++-------
 1 file changed, 25 insertions(+), 7 deletions(-)

diff --git a/Makefile.PL b/Makefile.PL
index ce5d4f5..35a5db2 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -6,13 +6,31 @@ use 5.006;
 use ExtUtils::MakeMaker;
 
 WriteMakefile(
-    'dist'	=> {
-	            PREOP	=> 'pod2text lib/ExtUtils/Depends.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
-	            COMPRESS	=> 'gzip -9v',
-	            SUFFIX	=> '.gz',
-	           },
-    'NAME'	=> 'ExtUtils::Depends',
-    'VERSION_FROM' => 'lib/ExtUtils/Depends.pm',
+	dist => {
+		$^O eq 'MSWin32'
+			? ()
+			: (PREOP => 'pod2text lib/ExtUtils/Depends.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;'),
+		COMPRESS => 'gzip -9v',
+		SUFFIX => '.gz',
+	},
+	NAME => 'ExtUtils::Depends',
+	VERSION_FROM => 'lib/ExtUtils/Depends.pm',
+	PREREQ_PM => {
+		'File::Spec' => 0,
+		'Data::Dumper' => 0,
+		'IO::File' => 0,
+	},
+	MIN_PERL_VERSION => 5.006, #for META.yml
+	META_MERGE => {
+		build_requires => {
+			'Test::More' => 0,
+		},
+		resources => {
+			repository => 'http://git.gnome.org/cgit/perl-ExtUtils-Depends',
+		},
+		keywords => ['XS', 'XS extensions', 'dependency'],
+	},
+	LICENSE => 'perl',
 );
 
 use Cwd;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/libextutils-depends-perl.git



More information about the Reproducible-commits mailing list