From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-45820-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QNFUI-0004Vc-49
	for garchives@archives.gentoo.org; Fri, 20 May 2011 02:30:50 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F25961C02D;
	Fri, 20 May 2011 02:30:39 +0000 (UTC)
Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182])
	by pigeon.gentoo.org (Postfix) with ESMTP id E7C3A1C003
	for <gentoo-dev@lists.gentoo.org>; Fri, 20 May 2011 02:30:09 +0000 (UTC)
Received: by pxi20 with SMTP id 20so2038566pxi.13
        for <gentoo-dev@lists.gentoo.org>; Thu, 19 May 2011 19:30:09 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.142.2.12 with SMTP id 12mr1048759wfb.20.1305858609245; Thu, 19
 May 2011 19:30:09 -0700 (PDT)
Sender: antarus@scriptkitty.com
Received: by 10.143.168.13 with HTTP; Thu, 19 May 2011 19:30:09 -0700 (PDT)
In-Reply-To: <20110519095017.A37641C013@pigeon.gentoo.org>
References: <3492806.SC9FXRJr6n@jonathan-laptop>
	<19924.49067.318264.52433@a1i15.kph.uni-mainz.de>
	<20110519095017.A37641C013@pigeon.gentoo.org>
Date: Thu, 19 May 2011 19:30:09 -0700
X-Google-Sender-Auth: MFt3KrJ_3rAQich6W-W72qvgLCg
Message-ID: <BANLkTik=q7f7u_r01mxid6+i7PxNgmtUWw@mail.gmail.com>
Subject: Re: [gentoo-dev] Re: Removal of kdeprefix news item
From: Alec Warner <antarus@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: bca1b854706a22bf3d6c889b4772e70e

On Thu, May 19, 2011 at 2:49 AM, Jonathan Callen <abcd@gentoo.org> 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. =C2=A0I 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). =C2=A0I guess we could just use
> `emerge --update --deep --newuse @world` (and yes, @world is available
> in stable portage).
>
> --
> Jonathan Callen
>
>