[gimp-perl] specify *_REQUIRES better
- From: Ed J <edj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-perl] specify *_REQUIRES better
- Date: Wed, 4 May 2016 23:45:17 +0000 (UTC)
commit 1875a8844c0c87cb18eebf749735425f02bdec8f
Author: Ed J <edj src gnome org>
Date: Thu May 5 00:31:13 2016 +0100
specify *_REQUIRES better
Makefile.PL | 28 ++++++++++++++++------------
1 files changed, 16 insertions(+), 12 deletions(-)
---
diff --git a/Makefile.PL b/Makefile.PL
index 4cae373..a781d4f 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -31,30 +31,34 @@ $pkg->save_config($IFILES);
$pkg = ExtUtils::Depends->new(qw(Gimp Alien::Gimp Gtk2 PDL));
$pkg->set_inc(q{-Ddatadir='""'});
+my $runtime_reqs = {
+ Gtk2 => 1.0,
+ 'PDL' => '2.007_04',
+ Data::Dumper => 2.0,
+ IO::All => 0,
+ Gtk2::Ex::PodViewer => 0,
+ IO::Scalar => 0,
+ Web::Scraper => 0,
+ HTML::Entities => 0,
+};
+
WriteMakefile(
NAME => 'Gimp',
VERSION_FROM => 'lib/Gimp.pm',
dist => { PREOP => 'make setver && chmod -R u=rwX,go=rX . ;' },
XSMULTI => 1,
MIN_PERL_VERSION => '5.014001',
- PREREQ_PM => {
- Gtk2 => 1.0,
- 'PDL' => '2.007_04',
- Data::Dumper => 2.0,
- IO::All => 0,
- ExtUtils::Depends => '0.402',
- 'Alien::Gimp' => '0.01',
- Gtk2::Ex::PodViewer => 0,
- IO::Scalar => 0,
- Web::Scraper => 0,
- HTML::Entities => 0,
- },
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => '7.14', # XSMULTI
+ ExtUtils::Depends => '0.402',
+ 'Alien::Gimp' => '0.01',
+ IO::All => 0,
},
TEST_REQUIRES => {
'Test::More' => '0.88',
+ %$runtime_reqs, # since tests exercise all plugins
},
+ PREREQ_PM => $runtime_reqs,
META_MERGE => {
"meta-spec" => { version => 2 },
resources => {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]