Gentoo Archives: gentoo-pms

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

Replies

Subject Author
Re: [gentoo-pms] Clarification of has_version cat/pkg[use=] behavior for EAPI 3 or 4 Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>