|Subject:||[PATCH] Adding support for dependencies specified in Makefile.PL|
I noticed that there were a number of modules whose distributions do not have a META.yml file. I created a module that provides a function for extracting the PREREQ_PM lines from most Makefiles generated by the ExtUtils::MakeMaker module. There are limitations. In particular, the libwww-perl-5808 distribution fails because the Makefile.PL expects certain files and makes external calls which cause the eval to fail. One might be able to work around this by falling back to a simple text scan of the Makefile.PL rather than evaling Makefile.PL into memory (utilizing overridden functions from ExtUtil-MakeMaker). I chose the more complicated method because I expected many authors might generate the PREREQ_PM parameter of the writeMakefile() call from elsewhere in the Makefile.PL. I've also made efforts to update the tests, only if superficially.
Message body not shown because it is not plain text.