Skip Menu |

This queue is for tickets about the CPANPLUS-Dist-Build CPAN distribution.

Report information
The Basics
Id: 29676
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: CPANPLUS-Dist-Build

People
Owner: BINGOS [...] cpan.org
Requestors: EWILHELM [...] cpan.org
Cc: module-build [...] perl.org
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



CC: module-build [...] perl.org
Subject: support configure_requires in META.yml
META.yml v1.3 is coming soon and will include configure_requires, which directs automated installers to upgrade the build tools before running the Build.PL/Makefile.PL process. http://module-build.sourceforge.net/META-spec-blead.html#configure_requires (I thought CPANPLUS already had a ticket for this, but I can't find one or any mention of configure_requires in the changelog. I'm creating this ticket simply to have something to link to. If it is a duplicate, please cite the previous ticket ID and/or resolved version number when closing.)
Attached is basic configure_requires support. It bundles YAML::Tiny to read the META.yml. Missing are tests, user level documentation and a configure flag to control the behavior of configure_requires resolution separate from regular prereqs.

Message body is not shown because it is too large.

PS That patch is against 0.83_08
On Sat Sep 29 18:50:29 2007, EWILHELM wrote: Show quoted text
> META.yml v1.3 is coming soon and will include configure_requires, > which directs automated installers to upgrade the build tools before > running the Build.PL/Makefile.PL process.
This is now part of 0.85_01. See perldoc CPANPLUS::Dist for details
On Sun May 18 10:08:43 2008, KANE wrote: Show quoted text
> This is now part of 0.85_01. See perldoc CPANPLUS::Dist for details
This means the support should also be added to CPANPLUS::Dist::Build. Here's how it's done in Dist::MM: http://trac.dwim.org/OSS/changeset?old_path=cpanplus- devel%2Flib%2FCPANPLUS%2FDist%2FMM.pm&old=2263&new_path=cpanplus- devel%2Flib%2FCPANPLUS%2FDist%2FMM.pm&new=2270
CPANPLUS::Dist::Build supports configure_requires when used with a suitable CPANPLUS now (>= 0.85_01) Many thanks. Chris Williams