}
if (-f 'META.json') {
my $meta = CPAN::Meta->load_file('META.json');
if (!$meta->dynamic_config) {
return { type => 'metafile', path => 'META.json' };
}
PL';
my @cmd = ($^X, $build_file);
warn "Executing $build_file to generate MYMETA.json and to determine requirements...\n";
local %ENV = (
PERL5_CPAN_IS_RUNNING =>
}
if (!-f 'MYMETA.json') {
die "Error: No MYMETA.json after executing $build_file\n";
}
return { type => 'metafile', path => 'MYMETA.json' };
}
return;
}
PERL_MB_OPT})] : [];
$self->{configure_args} = [@_];
$self->meta->save(@$_) for ['MYMETA.json'], [ 'MYMETA.yml' => { version => 1.4 } ];
}
1;
=head1 COPYRIGHT AND LICENSE
This software is
esolver::MetaCPAN;
use strict;
use warnings;
use App::cpm::DistNotation;
use App::cpm::HTTP;
use JSON::PP ();
sub new {
my ($class, %option) = @_;
my $uri = $option{uri} || "https://fastapi.
f $res->{status} == 599;
return { error => $error };
}
my $hash = eval { JSON::PP::decode_json($res->{content}) } or return;
my $dist = App::cpm::DistNotation->new_from_uri($hash-
use File::Path qw(mkpath rmtree);
use File::Spec;
use File::Temp ();
use File::pushd 'pushd';
use JSON::PP ();
use Parse::LocalDistribution;
use Time::HiRes ();
use constant NEED_INJECT_TOOLCHAIN_REQ
$meta = $self->_load_metafile($distfile, 'META.json', 'META.yml');
if (!$meta) {
$self->{logger}->log("Distribution does not have META.json nor META.yml");
return;
}
my $p
dir;
my $meta = $self->_load_metafile($uri, 'META.json', 'META.yml');
my $mymeta = $self->_load_metafile($uri, 'blib/meta/MYMETA.json');
my $phase = $self->{notest} ? [qw(build runtime
=item L<cpanfile|https://metacpan.org/dist/Module-CPANfile/view/lib/cpanfile.pod>
=item L<META.json|https://metacpan.org/pod/CPAN::Meta::Spec> (with dynamic_config false)
=item C<Build.PL>
=item