4 use ExtUtils::MakeMaker;
13 'File::Basename' => 0,
14 'Module::Metadata' => 0,
15 'Module::Runtime' => 0,
16 'Data::YAML::Writer' => 0,
17 'Object::Remote' => 0,
18 'Object::Remote::Future' => 0,
19 'Config::General' => 0,
25 'Capture::Tiny' => 0.12, # capture_stderr
26 'File::Tree::Snapshot' => 0,
27 'Object::Remote' => 0,
28 'JSON::Diffable' => 0,
31 # have to do this since old EUMM dev releases miss the eval $VERSION line
32 my $mymeta_works = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5707 };
33 my $mymeta = do { no warnings; $ExtUtils::MakeMaker::VERSION >= 6.5702 };
36 NAME => 'System-Introspector',
37 VERSION_FROM => 'lib/System/Introspector.pm',
40 ($mymeta_works ? () : (%build_requires)),
43 ? ( # BUILD_REQUIRES makes MYMETA right, requires stops META being wrong
44 BUILD_REQUIRES => \%build_requires,
45 META_ADD => { requires => \%requires }
47 : ( # META_ADD both to get META right - only Makefile written
49 requires => \%requires,
50 build_requires => \%build_requires,
54 ($mymeta && !$mymeta_works ? (NO_MYMETA => 1) : ()),
56 EXE_FILES => ['bin/system-introspector'],