File: Makefile.PL

package info (click to toggle)
libtest-cleannamespaces-perl 0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 440 kB
  • ctags: 120
  • sloc: perl: 606; makefile: 2
file content (103 lines) | stat: -rw-r--r-- 2,324 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

# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.020.
use strict;
use warnings;

use 5.006;

use ExtUtils::MakeMaker ;



my %WriteMakefileArgs = (
  "ABSTRACT" => "Check for uncleaned imports",
  "AUTHOR" => "Florian Ragwitz <rafl\@debian.org>",
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => 0
  },
  "DISTNAME" => "Test-CleanNamespaces",
  "EXE_FILES" => [],
  "LICENSE" => "perl",
  "NAME" => "Test::CleanNamespaces",
  "PREREQ_PM" => {
    "File::Find::Rule" => 0,
    "File::Find::Rule::Perl" => 0,
    "File::Spec::Functions" => 0,
    "Module::Runtime" => 0,
    "Package::Stash" => "0.14",
    "Sub::Exporter" => 0,
    "Sub::Identify" => 0,
    "Test::Builder" => 0,
    "namespace::clean" => 0,
    "strict" => 0,
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "Exporter" => 0,
    "ExtUtils::MakeMaker" => 0,
    "File::Spec" => 0,
    "Module::Runtime" => 0,
    "Scalar::Util" => 0,
    "Test::Deep" => 0,
    "Test::More" => "0.88",
    "Test::Requires" => 0,
    "Test::Tester" => 0,
    "Test::Warnings" => "0.009",
    "constant" => 0,
    "if" => 0,
    "lib" => 0,
    "overload" => 0,
    "parent" => 0
  },
  "VERSION" => "0.16",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


my %FallbackPrereqs = (
  "Exporter" => 0,
  "ExtUtils::MakeMaker" => 0,
  "File::Find::Rule" => 0,
  "File::Find::Rule::Perl" => 0,
  "File::Spec" => 0,
  "File::Spec::Functions" => 0,
  "Module::Runtime" => 0,
  "Package::Stash" => "0.14",
  "Scalar::Util" => 0,
  "Sub::Exporter" => 0,
  "Sub::Identify" => 0,
  "Test::Builder" => 0,
  "Test::Deep" => 0,
  "Test::More" => "0.88",
  "Test::Requires" => 0,
  "Test::Tester" => 0,
  "Test::Warnings" => "0.009",
  "constant" => 0,
  "if" => 0,
  "lib" => 0,
  "namespace::clean" => 0,
  "overload" => 0,
  "parent" => 0,
  "strict" => 0,
  "warnings" => 0
);

$WriteMakefileArgs{PREREQ_PM}{'Role::Tiny'} = $FallbackPrereqs{'Role::Tiny'} = '1.003000'
if eval { require Role::Tiny; 1 };



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);