On Thu, May 19, 2011 at 2:49 AM, Jonathan Callen <[email protected]> wrote: > Ulrich Mueller wrote: > >>>>>>> On Wed, 18 May 2011, Jonathan Callen wrote: >> >>> Display-If-Installed: kde-base/kdelibs[kdeprefix] >> >> I don't think that USE dependencies (or any other EAPI specific >> features) are allowed here. > > The GLEP does not make any meantion as to whether it is legal to use > USE dependencies here. I have, however, tested with portage and > portage itself Does The Right Thing when faced with a USE dep in > Display-If-Installed.
reading the code for the version of portage I have installed: The NewsManager will call Isvalid on each news item and each news item will scan its restrictions for 'valid-ness' and report that upward. So if we are lucky, on old versions of portage, portage.isvalidatom will report the USE-dep as an invalid atom and portage will print mean errors messages about 'invalid news items' but will not throw up (in theory). > >>> run: emerge --oneshot $(qlist -IC kde-base/) >> >> Is it guaranteed that your users have portage-utils installed? >> Otherwise the qlist command may not be available. >> > > I had thought that we depended on this, but I was mistaken (the > dependency was pulled in via pambase). I guess we could just use > `emerge --update --deep --newuse @world` (and yes, @world is available > in stable portage). > > -- > Jonathan Callen > >
