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 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
|
# This Makefile.PL for Log-Dispatch was generated by
# Dist::Zilla::Plugin::DROLSKY::MakeMaker 1.22
# and Dist::Zilla::Plugin::MakeMaker::Awesome 0.49.
# Don't edit it but the dist.ini and plugins used to construct it.
use strict;
use warnings;
use 5.006;
use ExtUtils::MakeMaker;
check_conflicts();
my %WriteMakefileArgs = (
"ABSTRACT" => "Dispatches messages to one or more outputs",
"AUTHOR" => "Dave Rolsky <autarch\@urth.org>",
"CONFIGURE_REQUIRES" => {
"Dist::CheckConflicts" => "0.02",
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "Log-Dispatch",
"LICENSE" => "artistic_2",
"MIN_PERL_VERSION" => "5.006",
"NAME" => "Log::Dispatch",
"PREREQ_PM" => {
"Carp" => 0,
"Devel::GlobalDestruction" => 0,
"Dist::CheckConflicts" => "0.02",
"Encode" => 0,
"Exporter" => 0,
"Fcntl" => 0,
"IO::Handle" => 0,
"Module::Runtime" => 0,
"Params::ValidationCompiler" => 0,
"Scalar::Util" => 0,
"Specio" => "0.32",
"Specio::Declare" => 0,
"Specio::Exporter" => 0,
"Specio::Library::Builtins" => 0,
"Specio::Library::Numeric" => 0,
"Specio::Library::String" => 0,
"Sys::Syslog" => "0.28",
"Try::Tiny" => 0,
"base" => 0,
"namespace::autoclean" => 0,
"parent" => 0,
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"Data::Dumper" => 0,
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"File::Temp" => 0,
"FindBin" => 0,
"Getopt::Long" => 0,
"IO::File" => 0,
"IPC::Run3" => 0,
"POSIX" => 0,
"PerlIO" => 0,
"Test::Fatal" => 0,
"Test::More" => "0.96",
"Test::Needs" => 0,
"lib" => 0,
"utf8" => 0
},
"VERSION" => "2.71",
"test" => {
"TESTS" => "t/*.t"
}
);
my %FallbackPrereqs = (
"Carp" => 0,
"Data::Dumper" => 0,
"Devel::GlobalDestruction" => 0,
"Dist::CheckConflicts" => "0.02",
"Encode" => 0,
"Exporter" => 0,
"ExtUtils::MakeMaker" => 0,
"Fcntl" => 0,
"File::Spec" => 0,
"File::Temp" => 0,
"FindBin" => 0,
"Getopt::Long" => 0,
"IO::File" => 0,
"IO::Handle" => 0,
"IPC::Run3" => 0,
"Module::Runtime" => 0,
"POSIX" => 0,
"Params::ValidationCompiler" => 0,
"PerlIO" => 0,
"Scalar::Util" => 0,
"Specio" => "0.32",
"Specio::Declare" => 0,
"Specio::Exporter" => 0,
"Specio::Library::Builtins" => 0,
"Specio::Library::Numeric" => 0,
"Specio::Library::String" => 0,
"Sys::Syslog" => "0.28",
"Test::Fatal" => 0,
"Test::More" => "0.96",
"Test::Needs" => 0,
"Try::Tiny" => 0,
"base" => 0,
"lib" => 0,
"namespace::autoclean" => 0,
"parent" => 0,
"strict" => 0,
"utf8" => 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) };
WriteMakefile(%WriteMakefileArgs);
sub check_conflicts {
if ( eval { require './lib/Log/Dispatch/Conflicts.pm'; 1; } ) {
if ( eval { Log::Dispatch::Conflicts->check_conflicts; 1 } ) {
return;
}
else {
my $err = $@;
$err =~ s/^/ /mg;
warn "***\n$err***\n";
}
}
else {
print <<'EOF';
***
Your toolchain doesn't support configure_requires, so Dist::CheckConflicts
hasn't been installed yet. You should check for conflicting modules
manually by examining the list of conflicts in Log::Dispatch::Conflicts once the installation
finishes.
***
EOF
}
return if $ENV{AUTOMATED_TESTING} || $ENV{NONINTERACTIVE_TESTING};
# More or less copied from Module::Build
return if $ENV{PERL_MM_USE_DEFAULT};
return unless -t STDIN && ( -t STDOUT || !( -f STDOUT || -c STDOUT ) );
sleep 4;
}
|