File: Makefile.PL

package info (click to toggle)
libmoox-handlesvia-perl 0.001005-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 248 kB
  • ctags: 8
  • sloc: perl: 1,087; makefile: 2
file content (65 lines) | stat: -rw-r--r-- 1,396 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

use strict;
use warnings;



use ExtUtils::MakeMaker 6.30;



my %WriteMakefileArgs = (
  "ABSTRACT" => "NativeTrait-like behavior for Moo.",
  "AUTHOR" => "Matthew Phillips <mattp\@cpan.org>",
  "BUILD_REQUIRES" => {},
  "CONFIGURE_REQUIRES" => {
    "ExtUtils::MakeMaker" => "6.30"
  },
  "DISTNAME" => "MooX-HandlesVia",
  "EXE_FILES" => [],
  "LICENSE" => "perl",
  "NAME" => "MooX::HandlesVia",
  "PREREQ_PM" => {
    "Class::Method::Modifiers" => 0,
    "Data::Perl" => "0.002006",
    "Module::Runtime" => 0,
    "Moo" => "1.003000",
    "Role::Tiny" => 0
  },
  "TEST_REQUIRES" => {
    "MooX::Types::MooseLike::Base" => "0.23",
    "Test::Exception" => 0,
    "Test::More" => 0
  },
  "VERSION" => "0.001005",
  "test" => {
    "TESTS" => "t/*.t t/from-moose/*.t t/unimport/*.t"
  }
);


my %FallbackPrereqs = (
  "Class::Method::Modifiers" => 0,
  "Data::Perl" => "0.002006",
  "Module::Runtime" => 0,
  "Moo" => "1.003000",
  "MooX::Types::MooseLike::Base" => "0.23",
  "Role::Tiny" => 0,
  "Test::Exception" => 0,
  "Test::More" => 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);