~ubuntu-branches/ubuntu/trusty/libtest-moose-more-perl/trusty-proposed

« back to all changes in this revision

Viewing changes to Makefile.PL

  • Committer: Package Import Robot
  • Author(s): gregor herrmann
  • Date: 2013-12-22 00:29:19 UTC
  • Revision ID: package-import@ubuntu.com-20131222002919-dknxlpjpbkvwoks2
Tags: upstream-0.022
ImportĀ upstreamĀ versionĀ 0.022

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
use strict;
 
3
use warnings;
 
4
 
 
5
use 5.006;
 
6
 
 
7
use ExtUtils::MakeMaker 6.30;
 
8
 
 
9
 
 
10
 
 
11
my %WriteMakefileArgs = (
 
12
  "ABSTRACT" => "More tools for testing Moose packages",
 
13
  "AUTHOR" => "Chris Weyl <cweyl\@alumni.drew.edu>",
 
14
  "BUILD_REQUIRES" => {},
 
15
  "CONFIGURE_REQUIRES" => {
 
16
    "ExtUtils::MakeMaker" => "6.30"
 
17
  },
 
18
  "DISTNAME" => "Test-Moose-More",
 
19
  "EXE_FILES" => [],
 
20
  "LICENSE" => "lgpl",
 
21
  "NAME" => "Test::Moose::More",
 
22
  "PREREQ_PM" => {
 
23
    "Data::OptList" => 0,
 
24
    "Moose::Autobox" => 0,
 
25
    "Moose::Util" => 0,
 
26
    "Moose::Util::TypeConstraints" => 0,
 
27
    "Scalar::Util" => 0,
 
28
    "Sub::Exporter" => 0,
 
29
    "Syntax::Keyword::Junction" => 0,
 
30
    "Test::Builder" => 0,
 
31
    "Test::Moose" => 0,
 
32
    "Test::More" => "0.94",
 
33
    "strict" => 0,
 
34
    "warnings" => 0
 
35
  },
 
36
  "TEST_REQUIRES" => {
 
37
    "File::Spec" => 0,
 
38
    "IO::Handle" => 0,
 
39
    "IPC::Open3" => 0,
 
40
    "Moose" => 0,
 
41
    "Moose::Role" => 0,
 
42
    "Perl::Version" => 0,
 
43
    "TAP::SimpleOutput" => "0.002",
 
44
    "Test::Builder::Tester" => 0,
 
45
    "Test::CheckDeps" => "0.010",
 
46
    "Test::More" => "0.94",
 
47
    "aliased" => 0,
 
48
    "constant" => 0,
 
49
    "namespace::autoclean" => 0
 
50
  },
 
51
  "VERSION" => "0.022",
 
52
  "test" => {
 
53
    "TESTS" => "t/*.t t/attribute/*.t"
 
54
  }
 
55
);
 
56
 
 
57
 
 
58
my %FallbackPrereqs = (
 
59
  "Data::OptList" => 0,
 
60
  "File::Spec" => 0,
 
61
  "IO::Handle" => 0,
 
62
  "IPC::Open3" => 0,
 
63
  "Moose" => 0,
 
64
  "Moose::Autobox" => 0,
 
65
  "Moose::Role" => 0,
 
66
  "Moose::Util" => 0,
 
67
  "Moose::Util::TypeConstraints" => 0,
 
68
  "Perl::Version" => 0,
 
69
  "Scalar::Util" => 0,
 
70
  "Sub::Exporter" => 0,
 
71
  "Syntax::Keyword::Junction" => 0,
 
72
  "TAP::SimpleOutput" => "0.002",
 
73
  "Test::Builder" => 0,
 
74
  "Test::Builder::Tester" => 0,
 
75
  "Test::CheckDeps" => "0.010",
 
76
  "Test::Moose" => 0,
 
77
  "Test::More" => "0.94",
 
78
  "aliased" => 0,
 
79
  "constant" => 0,
 
80
  "namespace::autoclean" => 0,
 
81
  "strict" => 0,
 
82
  "warnings" => 0
 
83
);
 
84
 
 
85
 
 
86
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
 
87
  delete $WriteMakefileArgs{TEST_REQUIRES};
 
88
  delete $WriteMakefileArgs{BUILD_REQUIRES};
 
89
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
 
90
}
 
91
 
 
92
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
 
93
  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
 
94
 
 
95
WriteMakefile(%WriteMakefileArgs);
 
96
 
 
97
 
 
98