File: Makefile.PL

package info (click to toggle)
libmoosex-method-signatures-perl 0.49-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 496 kB
  • ctags: 35
  • sloc: perl: 969; makefile: 8
file content (182 lines) | stat: -rw-r--r-- 5,377 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# This Makefile.PL for MooseX-Method-Signatures was generated by
# Dist::Zilla::Plugin::MakeMaker::Fallback 0.021
# and Dist::Zilla::Plugin::MakeMaker::Awesome 0.35.
# Don't edit it but the dist.ini and plugins used to construct it.

use strict;
use warnings;

BEGIN {
my %configure_requires = (
    'Module::Build::Tiny' => '0.034',
);

my @missing = grep {
    ! eval "require $_; $_->VERSION($configure_requires{$_}); 1"
} keys %configure_requires;

if (@missing)
{
    if (not $ENV{PERL_MM_FALLBACK_SILENCE_WARNING})
    {
        warn <<'EOW';
*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***

If you're seeing this warning, your toolchain is really, really old* and you'll
almost certainly have problems installing CPAN modules from this century. But
never fear, dear user, for we have the technology to fix this!

If you're using CPAN.pm to install things, then you can upgrade it using:

    cpan CPAN

If you're using CPANPLUS to install things, then you can upgrade it using:

    cpanp CPANPLUS

If you're using cpanminus, you shouldn't be seeing this message in the first
place, so please file an issue on github.

If you're installing manually, please retrain your fingers to run Build.PL
when present instead.

This public service announcement was brought to you by the Perl Toolchain
Gang, the irc.perl.org #toolchain IRC channel, and the number 42.

----

* Alternatively, you are doing something overly clever, in which case you
should consider setting the 'prefer_installer' config option in CPAN.pm, or
'prefer_makefile' in CPANPLUS, to 'mb" and '0' respectively.

You can also silence this warning for future installations by setting the
PERL_MM_FALLBACK_SILENCE_WARNING environment variable.
EOW
        sleep 10 if -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT));
    }
}
} # end BEGIN

use 5.006;
use ExtUtils::MakeMaker;

my %WriteMakefileArgs = (
  "ABSTRACT" => "(DEPRECATED) Method declarations with type constraints and no source filter",
  "AUTHOR" => "Florian Ragwitz <rafl\@debian.org>",
  "CONFIGURE_REQUIRES" => {
    "Module::Build::Tiny" => "0.034"
  },
  "DISTNAME" => "MooseX-Method-Signatures",
  "LICENSE" => "perl",
  "MIN_PERL_VERSION" => "5.006",
  "NAME" => "MooseX::Method::Signatures",
  "PL_FILES" => {},
  "PREREQ_PM" => {
    "B::Hooks::EndOfScope" => "0.10",
    "Carp" => 0,
    "Context::Preserve" => 0,
    "Devel::Declare" => "0.005011",
    "Devel::Declare::Context::Simple" => 0,
    "Eval::Closure" => 0,
    "Module::Runtime" => "0.012",
    "Moose" => "0.89",
    "Moose::Meta::Class" => 0,
    "Moose::Meta::Method" => 0,
    "Moose::Util" => 0,
    "Moose::Util::TypeConstraints" => 0,
    "MooseX::LazyRequire" => "0.06",
    "MooseX::Meta::TypeConstraint::ForceCoercion" => 0,
    "MooseX::Types" => "0.35",
    "MooseX::Types::Moose" => "0.19",
    "MooseX::Types::Structured" => "0.24",
    "MooseX::Types::Util" => 0,
    "Parse::Method::Signatures" => "1.003014",
    "Parse::Method::Signatures::Param::Named" => 0,
    "Parse::Method::Signatures::Param::Placeholder" => 0,
    "Parse::Method::Signatures::TypeConstraint" => 0,
    "Parse::Method::Signatures::Types" => 0,
    "Scalar::Util" => 0,
    "Sub::Name" => 0,
    "Task::Weaken" => 0,
    "Text::Balanced" => 0,
    "aliased" => 0,
    "if" => 0,
    "namespace::autoclean" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0,
    "File::Spec" => 0,
    "Moose::Role" => 0,
    "Test::Deep" => 0,
    "Test::Fatal" => 0,
    "Test::Moose" => 0,
    "Test::More" => "0.89",
    "attributes" => 0,
    "lib" => 0,
    "metaclass" => 0,
    "namespace::clean" => "0.19"
  },
  "VERSION" => "0.49",
  "test" => {
    "TESTS" => "t/*.t"
  }
);

my %FallbackPrereqs = (
  "B::Hooks::EndOfScope" => "0.10",
  "Carp" => 0,
  "Context::Preserve" => 0,
  "Devel::Declare" => "0.005011",
  "Devel::Declare::Context::Simple" => 0,
  "Eval::Closure" => 0,
  "ExtUtils::MakeMaker" => 0,
  "File::Spec" => 0,
  "Module::Runtime" => "0.012",
  "Moose" => "0.89",
  "Moose::Meta::Class" => 0,
  "Moose::Meta::Method" => 0,
  "Moose::Role" => 0,
  "Moose::Util" => 0,
  "Moose::Util::TypeConstraints" => 0,
  "MooseX::LazyRequire" => "0.06",
  "MooseX::Meta::TypeConstraint::ForceCoercion" => 0,
  "MooseX::Types" => "0.35",
  "MooseX::Types::Moose" => "0.19",
  "MooseX::Types::Structured" => "0.24",
  "MooseX::Types::Util" => 0,
  "Parse::Method::Signatures" => "1.003014",
  "Parse::Method::Signatures::Param::Named" => 0,
  "Parse::Method::Signatures::Param::Placeholder" => 0,
  "Parse::Method::Signatures::TypeConstraint" => 0,
  "Parse::Method::Signatures::Types" => 0,
  "Scalar::Util" => 0,
  "Sub::Name" => 0,
  "Task::Weaken" => 0,
  "Test::Deep" => 0,
  "Test::Fatal" => 0,
  "Test::Moose" => 0,
  "Test::More" => "0.89",
  "Text::Balanced" => 0,
  "aliased" => 0,
  "attributes" => 0,
  "if" => 0,
  "lib" => 0,
  "metaclass" => 0,
  "namespace::autoclean" => 0,
  "namespace::clean" => "0.19",
  "strict" => 0,
  "warnings" => 0
);

unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}

delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };

WriteMakefile(%WriteMakefileArgs);