Subject: Re: pkg/36504: devel/p5-Carp-Clan-5.8 needs DEPENDS for devel/p5-Test-Exception
To: None <gnats-bugs@NetBSD.org>
From: Mark E. Perkins <perkinsm@bway.net>
List: pkgsrc-bugs
Date: 06/20/2007 20:24:54
On 2007/06/19 19:20, Thomas Klausner wrote:
> The following reply was made to PR pkg/36504; it has been noted by GNATS.
> 
> From: Thomas Klausner <wiz@NetBSD.org>
> To: gnats-bugs@NetBSD.org
> Cc: 
> Subject: Re: pkg/36504: devel/p5-Carp-Clan-5.8 needs DEPENDS for devel/p5-Test-Exception
> Date: Wed, 20 Jun 2007 01:16:51 +0200
> 
>  On Sun, Jun 17, 2007 at 11:00:01AM +0000, Mark E. Perkins wrote:
>  > p5-Carp-Clan needs p5-Test-Exception for its test suite
>  > (see Makefile.PL for Carp-Clan).
>  
>  We do not usually add dependencies for tests to DEPENDS.
>  Does it need the dependency during runtime too?
>   Thomas
>  
No, it does not.  But there are other p5- packages that have DEPENDS on things
like p5-Test-Simple (which is only used for the test suite of the package in
question), which is why it seemed to me that this is a missing dependency.

As a pkgsrc policy issue, I think I can see your point.  OTOH, from a p5- pkg
integrity point of view, running the test suite is an essential (for me) step
before installing the package and I like having all the dependencies for
passing the tests already to be installed.

It's your call.

Cheers,
Mark