Hello there Slaven,
It looks like doable.. I'll give it a try and see what happens.
Regarding marking it as required during the "make dist", wouldn't that fall
into CONFIGURE_REQUIRES section?
Em quarta-feira, 20 de março de 2019 18:29:35 BRT, Slaven Rezic
<[email protected]> escreveu:
Hi Alceu,
why not use Module::Metadata, but just optionally, so your users are not forced
to install it? E.g. like this (untested):
if ( $ExtUtils::MakeMaker::VERSION >= 6.46 && eval { require
Module::Metadata; 1 }) {
$WriteMakefileArgs{META_MERGE} = {
provides => Module::Metadata->provides(dir=>"lib",version=>2),
};
}
It would be better if this optional 'require' could be made into a mandatory
one during "make dist", but I don't have an idea how to do this.
Regards,
Slaven