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 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208
|
# This Makefile.PL for Moose was generated by
# inc::MakeMaker <self>
# 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;
# Secondary compile testing via ExtUtils::HasCompiler
use lib 'inc';
use ExtUtils::MakeMaker;
check_conflicts();
my %WriteMakefileArgs = (
"ABSTRACT" => "A postmodern object system for Perl 5",
"AUTHOR" => "Stevan Little <stevan\@cpan.org>, Dave Rolsky <autarch\@urth.org>, Jesse Luehrs <doy\@cpan.org>, Shawn M Moore <sartak\@cpan.org>, \x{5d9}\x{5d5}\x{5d1}\x{5dc} \x{5e7}\x{5d5}\x{5d2}'\x{5de}\x{5df} (Yuval Kogman) <nothingmuch\@woobling.org>, Karen Etheridge <ether\@cpan.org>, Florian Ragwitz <rafl\@debian.org>, Hans Dieter Pearcey <hdp\@cpan.org>, Chris Prather <chris\@prather.org>, Matt S Trout <mstrout\@cpan.org>",
"CONFIGURE_REQUIRES" => {
"Dist::CheckConflicts" => "0.02",
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "Moose",
"EXE_FILES" => [
"bin/moose-outdated"
],
"LICENSE" => "perl",
"NAME" => "Moose",
"OBJECT" => "xs/Attribute\$(OBJ_EXT) xs/AttributeCore\$(OBJ_EXT) xs/Class\$(OBJ_EXT) xs/Generated\$(OBJ_EXT) xs/HasAttributes\$(OBJ_EXT) xs/HasMethods\$(OBJ_EXT) xs/Inlined\$(OBJ_EXT) xs/Instance\$(OBJ_EXT) xs/Method\$(OBJ_EXT) xs/Moose\$(OBJ_EXT) xs/MOP\$(OBJ_EXT) xs/Package\$(OBJ_EXT) xs/ToInstance\$(OBJ_EXT) mop\$(OBJ_EXT)",
"PREREQ_PM" => {
"Carp" => "1.22",
"Class::Load" => "0.09",
"Class::Load::XS" => "0.01",
"Data::OptList" => "0.107",
"Devel::GlobalDestruction" => 0,
"Devel::OverloadInfo" => "0.005",
"Devel::StackTrace" => "2.03",
"Dist::CheckConflicts" => "0.02",
"Eval::Closure" => "0.04",
"List::Util" => "1.56",
"MRO::Compat" => "0.05",
"Module::Runtime" => "0.014",
"Module::Runtime::Conflicts" => "0.002",
"Package::DeprecationManager" => "0.11",
"Package::Stash" => "0.32",
"Package::Stash::XS" => "0.24",
"Params::Util" => "1.00",
"Scalar::Util" => "1.19",
"Sub::Exporter" => "0.980",
"Sub::Util" => "1.40",
"Try::Tiny" => "0.17",
"parent" => "0.223",
"strict" => "1.03",
"warnings" => "1.03"
},
"TEST_REQUIRES" => {
"CPAN::Meta::Check" => "0.011",
"CPAN::Meta::Requirements" => 0,
"File::Spec" => 0,
"Module::Metadata" => 0,
"Test::Fatal" => "0.001",
"Test::More" => "0.96",
"Test::Needs" => "0.002010"
},
"VERSION" => "2.2207",
"XS" => {
"xs/Attribute.xs" => "xs/Attribute.c",
"xs/AttributeCore.xs" => "xs/AttributeCore.c",
"xs/Class.xs" => "xs/Class.c",
"xs/Generated.xs" => "xs/Generated.c",
"xs/HasAttributes.xs" => "xs/HasAttributes.c",
"xs/HasMethods.xs" => "xs/HasMethods.c",
"xs/Inlined.xs" => "xs/Inlined.c",
"xs/Instance.xs" => "xs/Instance.c",
"xs/MOP.xs" => "xs/MOP.c",
"xs/Method.xs" => "xs/Method.c",
"xs/Moose.xs" => "xs/Moose.c",
"xs/Package.xs" => "xs/Package.c",
"xs/ToInstance.xs" => "xs/ToInstance.c"
},
"clean" => {
"FILES" => "xs/Attribute\$(OBJ_EXT) xs/AttributeCore\$(OBJ_EXT) xs/Class\$(OBJ_EXT) xs/Generated\$(OBJ_EXT) xs/HasAttributes\$(OBJ_EXT) xs/HasMethods\$(OBJ_EXT) xs/Inlined\$(OBJ_EXT) xs/Instance\$(OBJ_EXT) xs/Method\$(OBJ_EXT) xs/Moose\$(OBJ_EXT) xs/MOP\$(OBJ_EXT) xs/Package\$(OBJ_EXT) xs/ToInstance\$(OBJ_EXT) mop\$(OBJ_EXT)"
},
"test" => {
"TESTS" => "t/*.t t/attributes/*.t t/basics/*.t t/bugs/*.t t/cmop/*.t t/compat/*.t t/examples/*.t t/exceptions/*.t t/immutable/*.t t/metaclasses/*.t t/moose_util/*.t t/native_traits/*.t t/recipes/*.t t/roles/*.t t/test_moose/*.t t/todo_tests/*.t t/type_constraints/*.t"
}
);
my %FallbackPrereqs = (
"CPAN::Meta::Check" => "0.011",
"CPAN::Meta::Requirements" => 0,
"Carp" => "1.22",
"Class::Load" => "0.09",
"Class::Load::XS" => "0.01",
"Data::OptList" => "0.107",
"Devel::GlobalDestruction" => 0,
"Devel::OverloadInfo" => "0.005",
"Devel::StackTrace" => "2.03",
"Dist::CheckConflicts" => "0.02",
"Eval::Closure" => "0.04",
"File::Spec" => 0,
"List::Util" => "1.56",
"MRO::Compat" => "0.05",
"Module::Metadata" => 0,
"Module::Runtime" => "0.014",
"Module::Runtime::Conflicts" => "0.002",
"Package::DeprecationManager" => "0.11",
"Package::Stash" => "0.32",
"Package::Stash::XS" => "0.24",
"Params::Util" => "1.00",
"Scalar::Util" => "1.19",
"Sub::Exporter" => "0.980",
"Sub::Util" => "1.40",
"Test::Fatal" => "0.001",
"Test::More" => "0.96",
"Test::Needs" => "0.002010",
"Try::Tiny" => "0.17",
"parent" => "0.223",
"strict" => "1.03",
"warnings" => "1.03"
);
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) };
$WriteMakefileArgs{CCFLAGS} = ( $Config::Config{ccflags} || '' ) . ' -I.';
WriteMakefile(%WriteMakefileArgs);
{
package MY;
use Config;
# These two are necessary to keep bmake happy
sub xs_c {
my $self = shift;
my $ret = $self->SUPER::xs_c(@_);
$ret =~ s/\$\*\.xs/\$</g;
$ret =~ s/\$\*\.c\b/\$@/g;
return $ret;
}
sub c_o {
my $self = shift;
my $ret = $self->SUPER::c_o(@_);
$ret =~ s/\$\*\.c\b/\$</g;
$ret =~ s/\$\*\$\(OBJ_EXT\)/\$@/g;
return $ret;
}
sub const_cccmd {
my $ret = shift->SUPER::const_cccmd(@_);
return q{} unless $ret;
if ($Config{cc} =~ /^cl\b/i) {
warn 'you are using MSVC... we may not have gotten some options quite right.';
$ret .= ' /Fo$@';
}
else {
$ret .= ' -o $@';
}
return $ret;
}
sub postamble {
return <<'EOF';
$(OBJECT) : mop.h
EOF
}
}
sub check_conflicts {
if ( eval { require './lib/Moose/Conflicts.pm'; 1; } ) {
if ( eval { Moose::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 using the 'moose-outdated' script that is installed with
this distribution 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;
}
|