-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.PL
54 lines (53 loc) · 1.65 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
use strict;
use warnings;
use ExtUtils::MakeMaker 6.64; # 6.64 for TEST_REQUIRES
WriteMakefile(
NAME => 'LWP::UserAgent::Throttled',
AUTHOR => q{Nigel Horne <njh@bandsman.co.uk>},
VERSION_FROM => 'lib/LWP/UserAgent/Throttled.pm',
ABSTRACT_FROM => 'lib/LWP/UserAgent/Throttled.pm',
((defined($ExtUtils::MakeMaker::VERSION) &&
($ExtUtils::MakeMaker::VERSION >= 6.3002))
? ('LICENSE'=> 'GPL')
: ()),
PL_FILES => {},
TEST_REQUIRES => {
'LWP::Protocol::https' => 0,
'Test::Exception' => 0.42, # http://www.cpantesters.org/cpan/report/91a6ac80-6bf9-1014-b7eb-bb2be30b7e63
'Test::Most' => 0,
'Test::Needs' => 0,
'Test::NoWarnings' => 0,
'Test::Timer' => 2.01,
# 'Test::Kwalitee' => 0,
},
BUILD_REQUIRES => {
'IO::Socket::INET' => 0,
},
PREREQ_PM => {
'LWP' => 0,
'LWP::UserAgent' => 0,
'Time::HiRes' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'LWP-UserAgent::Throttled-*' },
# META_ADD => {
# provides => {}
# },
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'git://github.com/nigelhorne/LWP-UserAgent-Throttled.git',
web => 'https://github.com/nigelhorne/LWP-UserAgent::Throttled',
},
bugtracker => {
# web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=LWP-UserAgent::Throttled',
web => 'https://github.com/nigelhorne/LWP-UserAgent-Throttled/issues',
url => 'https://github.com/nigelhorne/LWP-UserAgent-Throttled/issues',
mailto => 'bug-LWP-UserAgent::Throttled@rt.cpan.org'
}
},
},
MIN_PERL_VERSION => '5.6.2' # Probably would work, but never tested on earlier versions than this
);