From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-33920-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1LJW9Y-0004u6-Uw
	for garchives@archives.gentoo.org; Sun, 04 Jan 2009 16:48:41 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AC4EDE066A;
	Sun,  4 Jan 2009 16:48:39 +0000 (UTC)
Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.186])
	by pigeon.gentoo.org (Postfix) with ESMTP id 44B78E066B
	for <gentoo-dev@lists.gentoo.org>; Sun,  4 Jan 2009 16:48:39 +0000 (UTC)
Received: by ti-out-0910.google.com with SMTP id u5so5331976tia.10
        for <gentoo-dev@lists.gentoo.org>; Sun, 04 Jan 2009 08:48:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to
         :subject:in-reply-to:mime-version:content-type
         :content-transfer-encoding:content-disposition:references;
        bh=wWYrtXsiOXk861MJGyJhMfiMWpCI8v3OEXwKVKtkQlo=;
        b=QMWhTKzkMgkifnq7sY6u8cMmKyIOJVPrnxslYoPgtMYatmWdWZBQ8jZjfWh8BoWD0t
         8z2aoGpLNe+aeBu1WThIqg0ke4q8piy78dEiRM2/9Y+bZ3AAYgkGz5ulyJvpI9Alqjzb
         I89kR/ex8Eu700YmxCXecGmx8ZnK9rk0f10gg=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:in-reply-to:mime-version
         :content-type:content-transfer-encoding:content-disposition
         :references;
        b=KWi5Gmg17aOvxA2pgZeMoF0Es0ZQdyB5zg9qy84v1paJHgUr60L3ELb84NnTx7xub/
         hRRrolVm9zeaxdFx6AalIM1E56W8POjUMTF8VHNBWOlcOuShV7h7bzZoJeLUSUsbZsw8
         HBIx0944pGlpagj+6Gkp9dcomI3eOJdhCjSis=
Received: by 10.110.43.16 with SMTP id q16mr2260541tiq.7.1231087718140;
        Sun, 04 Jan 2009 08:48:38 -0800 (PST)
Received: by 10.110.47.7 with HTTP; Sun, 4 Jan 2009 08:48:38 -0800 (PST)
Message-ID: <8b4c83ad0901040848m3f3a701fs63f6e1386911dd1b@mail.gmail.com>
Date: Sun, 4 Jan 2009 22:18:38 +0530
From: "Nirbheek Chauhan" <nirbheek.chauhan@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] USE dependencies
In-Reply-To: <20090104160845.40a17677@snowcone>
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
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <20090104145426.30527441@terra.solaris>
	 <8b4c83ad0901040734o32913fa0j581f89d5b5d031b9@mail.gmail.com>
	 <200901041646.09553.scarabeus@gentoo.org>
	 <8b4c83ad0901040804v2e87a7bdn2066f8a7e928c800@mail.gmail.com>
	 <20090104160845.40a17677@snowcone>
X-Archives-Salt: ae36649f-2a24-4960-8283-149c84708310
X-Archives-Hash: 1785bc4306f08264d2b665c605eeef37

On Sun, Jan 4, 2009 at 9:38 PM, Ciaran McCreesh
<ciaran.mccreesh@googlemail.com> wrote:
> On Sun, 4 Jan 2009 21:34:18 +0530
> "Nirbheek Chauhan" <nirbheek.chauhan@gmail.com> wrote:
>> How about this:
>
> It's utterly useless. Unlike the existing shortcut forms, what you're
> after isn't widely enough used to warrant its own shortcut. Use the
> expanded form and have done with it.

On the contrary, the reverse of what you say is true. A simple grep of
the tree showed that:

95 ebuilds do  "use\ \([a-zA-Z0-9]\+\).*\&\&.*built_with_use.*\ \1\ "
and 937 do      "use.*\&\&.*built_with_use"

So, one would assume that ~842 ebuilds could make use of the
pkg[foo?bar] syntax.

Of course, this missed the ebuilds which do

if use blah; then
  built_with_use ...
...
fi

But statistically, these numbers should be accurate.

-- 
~Nirbheek Chauhan