File: Build.PL

package info (click to toggle)
librole-rest-client-perl 0.23-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 180 kB
  • sloc: perl: 327; makefile: 4
file content (117 lines) | stat: -rw-r--r-- 2,705 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

# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.012.
use strict;
use warnings;

use Module::Build 0.28;


my %module_build_args = (
  "build_requires" => {
    "Module::Build" => "0.28"
  },
  "configure_requires" => {
    "ExtUtils::MakeMaker" => 0,
    "Module::Build" => "0.28"
  },
  "dist_abstract" => "REST Client Role",
  "dist_author" => [
    "Kaare Rasmussen <kaare at cpan dot org>"
  ],
  "dist_name" => "Role-REST-Client",
  "dist_version" => "0.23",
  "license" => "perl",
  "module_name" => "Role::REST::Client",
  "recommends" => {
    "Data::Serializer::JSON" => 0,
    "Data::Serializer::XML::Simple" => 0,
    "Data::Serializer::YAML" => 0,
    "HTTP::Thin" => 0,
    "JSON" => "2.00",
    "XML::Simple" => 0,
    "YAML" => 0
  },
  "recursive_test_files" => 1,
  "requires" => {
    "Carp" => 0,
    "Data::Dumper" => 0,
    "Data::Serializer::Raw" => 0,
    "HTTP::Headers" => 0,
    "HTTP::Message" => 0,
    "HTTP::Response" => 0,
    "HTTP::Status" => 0,
    "HTTP::Thin" => 0,
    "HTTP::Tiny" => 0,
    "Moo" => "1.003000",
    "Moo::Role" => 0,
    "MooX::HandlesVia" => "0.001004",
    "Try::Tiny" => 0,
    "Type::Tiny" => "0.024",
    "Types::Standard" => 0,
    "URI::Escape::XS" => "0.11"
  },
  "test_requires" => {
    "Data::Serializer::JSON" => 0,
    "Data::Serializer::XML::Simple" => 0,
    "Data::Serializer::YAML" => 0,
    "File::Find" => 0,
    "File::Temp" => 0,
    "HTTP::Request" => 0,
    "HTTP::Thin" => 0,
    "JSON" => "2.00",
    "Moose" => 0,
    "Plack::Component" => 0,
    "Plack::Request" => 0,
    "Plack::Runner" => 0,
    "Test::Deep" => 0,
    "Test::Exception" => 0,
    "Test::More" => "0.88",
    "Test::TCP" => 0,
    "Test::Warnings" => 0,
    "XML::Simple" => 0,
    "YAML" => 0,
    "parent" => 0,
    "strict" => 0,
    "utf8" => 0,
    "warnings" => 0
  }
);


my %fallback_build_requires = (
  "Data::Serializer::JSON" => 0,
  "Data::Serializer::XML::Simple" => 0,
  "Data::Serializer::YAML" => 0,
  "File::Find" => 0,
  "File::Temp" => 0,
  "HTTP::Request" => 0,
  "HTTP::Thin" => 0,
  "JSON" => "2.00",
  "Module::Build" => "0.28",
  "Moose" => 0,
  "Plack::Component" => 0,
  "Plack::Request" => 0,
  "Plack::Runner" => 0,
  "Test::Deep" => 0,
  "Test::Exception" => 0,
  "Test::More" => "0.88",
  "Test::TCP" => 0,
  "Test::Warnings" => 0,
  "XML::Simple" => 0,
  "YAML" => 0,
  "parent" => 0,
  "strict" => 0,
  "utf8" => 0,
  "warnings" => 0
);


unless ( eval { Module::Build->VERSION(0.4004) } ) {
  delete $module_build_args{test_requires};
  $module_build_args{build_requires} = \%fallback_build_requires;
}

my $build = Module::Build->new(%module_build_args);


$build->create_build_script;