Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaranm@×××××××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] EAPI-1 (or >1, perhaps) Proposal: AND Dependencies
Date: Fri, 15 Jun 2007 12:04:48
Message-Id: 20070615125642.2dcffcd7@snowflake
In Reply to: Re: [gentoo-dev] EAPI-1 (or >1, perhaps) Proposal: AND Dependencies by Luca Barbato
1 On Fri, 15 Jun 2007 13:45:39 +0200
2 Luca Barbato <lu_zero@g.o> wrote:
3 > Ciaran McCreesh wrote:
4 > > Paludis allows users to do some-cat/foo[>=4.0&<4-3] and
5 > > some-cat/foo[=4.1|=4.2|=4.3] . The syntax isn't particularly pretty,
6 > > but it's cleaner than requiring duplication of the cat/pkg. Combined
7 > > with :slot deps it should give you everything you need.
8 >
9 > Seems not bad, do you have plans to refine it before proposing it for
10 > the pms?
11
12 Well, I'm happy with it like that...
13
14 > the combination with :slot defines within the [] or outside the [] or
15 > both?
16
17 Paludis currently requires a particular ordering:
18
19 opcat/pkg-ver:slot::repo[bracketed][another][...]
20 cat/pkg:slot::repo[bracketed][another][...]
21
22 Bracketed things can be any of:
23
24 [use]
25 [-use]
26 [opver]
27 [opver|opver|opver...]
28 [opver&opver&opver...]
29
30 And reserved for future deviousness:
31
32 [key=value]
33
34 opcat/pkg-ver used with [opver] things is currently accepted (but
35 probably shouldn't be). It behaves as if the external op-ver is added
36 to the brackets with whatever combining operator the brackets use, or &
37 if there's no combining operator.
38
39 This isn't allowed for EAPI=0, so if you want to experiment you'll have
40 to either do it in user config files (which can take anything that's
41 legal for anything, and various extra things that aren't) or set
42 EAPI=paludis-1.
43
44 --
45 Ciaran McCreesh

Attachments

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

Replies

Subject Author
[gentoo-dev] Re: EAPI-1 (or >1, perhaps) Proposal: AND Dependencies Steve Long <slong@××××××××××××××××××.uk>