Gentoo Archives: gentoo-pms

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] Clarification of has_version cat/pkg[use=] behavior for EAPI 3 or 4
Date: Sat, 12 Sep 2009 18:11:16
Message-Id: 20090912191110.44969ed6@snowcone
In Reply to: [gentoo-pms] Clarification of has_version cat/pkg[use=] behavior for EAPI 3 or 4 by "Petteri Räty"
1 On Sat, 12 Sep 2009 20:41:59 +0300
2 Petteri Räty <betelgeuse@g.o> wrote:
3 > Currently Portage does not work with has_version cat/pkg[use=]. I
4 > filed a bug about this:
5 > https://bugs.gentoo.org/show_bug.cgi?id=284715
6 >
7 > Portage current behavior:
8 > 17:38 <@zmedico> Betelgeuse: quick test seems to show always true if
9 > it's in IUSE
10 >
11 > I see a couple course of possible actions:
12 > 1. Current PMS already implies this behavior and Portage is buggy.
13 > Let's document this explicitly for EAPI 3 and have Portage fixed so
14 > using EAPI 3 makes sure this syntax works.
15
16 The wording is "The flag must be enabled if the flag is enabled for the
17 package with the dependency, or disabled otherwise.".
18
19 The question then is whether that applies only to *DEPEND, or whether
20 it's to anywhere where there's a "package with the dependency". Given
21 that the section that specifies it isn't limited to *DEPEND, but
22 describes dependency specifications in general, I'd say that PMS
23 requires it to be supported.
24
25 Having said that, it's pretty horrible, and unless there's a good use
26 case for such a feature, I'd not be opposed to shoving in a retroactive
27 ban on it...
28
29 --
30 Ciaran McCreesh

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies