forked from houseabsolute/DateTime-TimeZone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
109 lines (101 loc) · 2.71 KB
/
Makefile.PL
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
# This Makefile.PL for DateTime-TimeZone was generated by
# Dist::Zilla::Plugin::DROLSKY::MakeMaker 1.09
# and Dist::Zilla::Plugin::MakeMaker::Awesome 0.48.
# Don't edit it but the dist.ini and plugins used to construct it.
use strict;
use warnings;
use 5.008004;
use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
"ABSTRACT" => "Time zone object base class and factory",
"AUTHOR" => "Dave Rolsky <autarch\@urth.org>",
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "DateTime-TimeZone",
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.008004",
"NAME" => "DateTime::TimeZone",
"PREREQ_PM" => {
"Class::Singleton" => "1.03",
"Cwd" => 3,
"File::Basename" => 0,
"File::Compare" => 0,
"File::Find" => 0,
"File::Spec" => 0,
"List::Util" => "1.33",
"Module::Runtime" => 0,
"Params::ValidationCompiler" => "0.13",
"Specio::Library::Builtins" => 0,
"Specio::Library::String" => 0,
"Try::Tiny" => 0,
"constant" => 0,
"namespace::autoclean" => 0,
"parent" => 0,
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
"File::Copy" => 0,
"File::Path" => 0,
"File::Spec" => 0,
"File::Spec::Functions" => 0,
"File::Temp" => 0,
"Storable" => 0,
"Sys::Hostname" => 0,
"Test::Fatal" => 0,
"Test::More" => "0.96",
"Test::Requires" => 0,
"base" => 0,
"lib" => 0,
"overload" => 0
},
"VERSION" => "2.44",
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"Class::Singleton" => "1.03",
"Cwd" => 3,
"ExtUtils::MakeMaker" => 0,
"File::Basename" => 0,
"File::Compare" => 0,
"File::Copy" => 0,
"File::Find" => 0,
"File::Path" => 0,
"File::Spec" => 0,
"File::Spec::Functions" => 0,
"File::Temp" => 0,
"List::Util" => "1.33",
"Module::Runtime" => 0,
"Params::ValidationCompiler" => "0.13",
"Specio::Library::Builtins" => 0,
"Specio::Library::String" => 0,
"Storable" => 0,
"Sys::Hostname" => 0,
"Test::Fatal" => 0,
"Test::More" => "0.96",
"Test::Requires" => 0,
"Try::Tiny" => 0,
"base" => 0,
"constant" => 0,
"lib" => 0,
"namespace::autoclean" => 0,
"overload" => 0,
"parent" => 0,
"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) };
if ( $^O eq 'MSWin32' ) {
$WriteMakefileArgs{PREREQ_PM}{'DateTime::TimeZone::Local::Win32'} = $FallbackPrereqs{'DateTime::TimeZone::Local::Win32'} = '2.04';
}
WriteMakefile(%WriteMakefileArgs);