Skip Menu |

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

Report information
The Basics
Id: 31646
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: rrwo [...] cpan.org
Cc:
AdminCc:

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



Subject: add build_recommends field...
There are requires and recommends fields, and there is a build_requires field which notes modules which are required for building but not using. There is no build_recommends field for putting modules that are recommended but not required for building, e.g. Test::Pod. I would recommend finer-grained distinction of build fields, although there is a potential compatibility problem: test_(requires|recommends) for modules that aren't needed to *build* but are needed or recommended for testing/checking. maint_(requires|recommends) for modules that aren't needed for building or testing, but are needed by maintainers who want to build distributions (e.g. Pod::Text, Pod::Readme, Pod::Spellcheck, or modules needed to build data files, etc.)
Subject: Re: [rt.cpan.org #31646] add build_recommends field...
Date: Tue, 18 Dec 2007 07:01:47 -0800
To: bug-Module-Build [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
RRWO via RT wrote: Show quoted text
> There are requires and recommends fields, and there is a build_requires > field which notes modules which are required for building but not using. > > There is no build_recommends field for putting modules that are > recommended but not required for building, e.g. Test::Pod.
+1 Show quoted text
> I would recommend finer-grained distinction of build fields, although > there is a potential compatibility problem: > > test_(requires|recommends) for modules that aren't needed to *build* but > are needed or recommended for testing/checking.
+1 When it comes to perl modules, the tests are usually much more involved than the build process which is the reverse of most C programs. FWIW Fink has a TestDepends. Show quoted text
> maint_(requires|recommends) for modules that aren't needed for building > or testing, but are needed by maintainers who want to build > distributions (e.g. Pod::Text, Pod::Readme, Pod::Spellcheck, or modules > needed to build data files, etc.)
-1 I think this is going a wee bit too far. It's slicing things awfully thin and is only of interest to a very narrow range of users. Possibly one, the author. I would simply put these into build_recommends if anywhere at all. -- I do have a cause though. It's obscenity. I'm for it. - Tom Lehrer
These sorts of ideas will have to come by way of changes to the CPAN META Spec. It won't be implemented unilaterally in Module::Build. C.f. http://perl-qa.hexten.net/wiki/index.php/CPAN_Meta_Spec_Proposals Closing this ticket for now, but any change in the Spec will eventually be reflected in Module::Build
Subject: Re: [rt.cpan.org #31646] add build_recommends field...
Date: Fri, 28 Aug 2009 09:32:05 +0100
To: bug-Module-Build [...] rt.cpan.org
From: Robert Rothenberg <rrwo [...] cpan.org>
I thought it was in the META spec (at least when I submitted the bug). On Thu, Aug 27, 2009 at 5:04 PM, David Golden via RT<bug-Module-Build@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=31646 > > > These sorts of ideas will have to come by way of changes to the CPAN > META Spec.  It won't be implemented unilaterally in Module::Build. > > C.f. http://perl-qa.hexten.net/wiki/index.php/CPAN_Meta_Spec_Proposals > > Closing this ticket for now, but any change in the Spec will eventually > be reflected in Module::Build >