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
Ciaran McCreesh wrote:
> On Sat, 12 Sep 2009 20:41:59 +0300 > Petteri Räty <betelgeuse@g.o> wrote: >> Currently Portage does not work with has_version cat/pkg[use=]. I >> filed a bug about this: >> https://bugs.gentoo.org/show_bug.cgi?id=284715 >> >> Portage current behavior: >> 17:38 <@zmedico> Betelgeuse: quick test seems to show always true if >> it's in IUSE >> >> I see a couple course of possible actions: >> 1. Current PMS already implies this behavior and Portage is buggy. >> Let's document this explicitly for EAPI 3 and have Portage fixed so >> using EAPI 3 makes sure this syntax works. > > The wording is "The flag must be enabled if the flag is enabled for the > package with the dependency, or disabled otherwise.". > > The question then is whether that applies only to *DEPEND, or whether > it's to anywhere where there's a "package with the dependency". Given > that the section that specifies it isn't limited to *DEPEND, but > describes dependency specifications in general, I'd say that PMS > requires it to be supported. > > Having said that, it's pretty horrible, and unless there's a good use > case for such a feature, I'd not be opposed to shoving in a retroactive > ban on it... >
tove was trying to use it for perl: 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>