Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] USE dependencies
Date: Sun, 04 Jan 2009 16:08:55
Message-Id: 20090104160845.40a17677@snowcone
In Reply to: Re: [gentoo-dev] USE dependencies by Nirbheek Chauhan
1 On Sun, 4 Jan 2009 21:34:18 +0530
2 "Nirbheek Chauhan" <nirbheek.chauhan@×××××.com> wrote:
3 > How about this:
4 >
5 > New syntax Expanded syntax
6 > Extension of
7 > --------------------------------------------------------------------------------------------------------
8 > pkg[foo?bar] foo? ( cat/pkg[bar] ) !foo? ( cat/pkg )
9 > cat/pkg[foo?]
10 > pkg[!foo?bar] foo? ( cat/pkg ) !foo? ( cat/pkg[bar] )
11 > cat/pkg[foo?]
12 > pkg[foo=bar] foo? ( cat/pkg[bar] ) !foo? ( cat/pkg[-bar] )
13 > cat/pkg[foo=]
14 > pkg[!foo=bar] foo? ( cat/pkg[-bar] ) !foo? ( cat/pkg[bar] )
15 > cat/pkg[!foo=]
16 >
17 > IMO, this is simple enough to understand, and use :)
18
19 It's utterly useless. Unlike the existing shortcut forms, what you're
20 after isn't widely enough used to warrant its own shortcut. Use the
21 expanded form and have done with it.
22
23 --
24 Ciaran McCreesh

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] USE dependencies Nirbheek Chauhan <nirbheek.chauhan@×××××.com>