On Tue, 18 Sep 2012 02:24:26 -0700
Brian Harring <ferri...@gmail.com> wrote:

> On Tue, Sep 18, 2012 at 10:25:51AM +0200, Micha?? G??rny wrote:
> > > test depends: to specifically mark those dependencies that are
> > > only needed for when the pkg is being tested; effectively
> > > ephemeral build/run time depends that go away once testing is
> > > completed.
> > 
> > Does that mean that USE=test is going away somehow?
> 
> If you think it through, a test use flag still is needed in the cases 
> where the rdep itself would change if test was enabled; such a source 
> is fairy rare, but not always just someone being moronic- certain 
> cases to do testing, the tests need to reach in fairly deeply and 
> recompilation for compile vs test isn't exposed.

Yes, and sometimes we're doing 'use test'. I simply don't see how
adding a separate group of dependencies just for 'test' phase is going
to help us. They fit just fine into build-time dependencies right now.

> > A quick
> > glance shows that what you have expanded there, a fairly reasonable
> > Gentoo dev will solve using:
> >
> > RDEPEND="[common depends]"
> > DEPEND="${RDEPEND}
> >     [build only depends]"
> 
> from diffball (under current EAPIs)
> 
> """
> RDEPEND=">=sys-libs/zlib-1.1.4
>         >=app-arch/bzip2-1.0.2
>         app-arch/xz-utils"
> DEPEND="${RDEPEND}
>         virtual/pkgconfig"
> """
> 
> becomes the following under the proposal:
> 
> """
> DEPENDENCIES=">=sys-libs/zlib-1.1.4
>         >=app-arch/bzip2-1.0.2
>         app-arch/xz-utils"
>         dep:build? ( virtual/pkgconfig )"
> """

Err, shouldn't the first three deps be namespaced?

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: PGP signature

Reply via email to