Gentoo Archives: gentoo-dev

From: "Marijn Schouten (hkBst)" <hkBst@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] EAPI-1 (or >1, perhaps) Proposal: AND Dependencies
Date: Fri, 15 Jun 2007 09:35:05
Message-Id: 46725CF5.1000601@gentoo.org
In Reply to: [gentoo-dev] EAPI-1 (or >1, perhaps) Proposal: AND Dependencies by "John R. Graham"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 John R. Graham wrote:
5 > What I'd really like to be able to code is a range with an AND operator,
6 > something like this
7 > ( && >=some-cat/foo-4.0 <some-cat/foo-4.3 )
8
9 AND is already the implicit combinator. Thus simply listing both these atoms
10 gives what you want:
11
12 >=some-cat/foo-4.0
13 <some-cat/foo-4.3
14
15
16 Still a special syntax for ranges seems like a good idea. If only portage
17 would not upgrade past such specifications (and downgrade the next time).
18
19 Marijn
20 -----BEGIN PGP SIGNATURE-----
21 Version: GnuPG v2.0.4 (GNU/Linux)
22 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
23
24 iD4DBQFGclz1p/VmCx0OL2wRAuxMAJY2sDo/FpEqRN3DPk3DkCGM5p++AJ9c/qG5
25 1TWUJff+OI4ut//e5vPIVg==
26 =HLGX
27 -----END PGP SIGNATURE-----
28 --
29 gentoo-dev@g.o mailing list

Replies