From: Vlastimil Babka <caster@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] EAPI-1 (or >1, perhaps) Proposal: AND Dependencies
Date: Fri, 15 Jun 2007 11:54:19 +0200 [thread overview]
Message-ID: <467261CB.7020208@gentoo.org> (raw)
In-Reply-To: <46725CF5.1000601@gentoo.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marijn Schouten (hkBst) wrote:
> John R. Graham wrote:
>> What I'd really like to be able to code is a range with an AND operator,
>> something like this
>> ( && >=some-cat/foo-4.0 <some-cat/foo-4.3 )
>
> AND is already the implicit combinator. Thus simply listing both these atoms
> gives what you want:
>
> >=some-cat/foo-4.0
> <some-cat/foo-4.3
Not always, AFAIK Imagine there's some 3.x versions in slot 3, 4.x in
slot 4, 5.x in slot 5. With this atoms you could end up with both 3.x
and 5.x installed, and no 4.x :) It doesn't try to satisfy both atoms
with one version.
> Still a special syntax for ranges seems like a good idea. If only portage
> would not upgrade past such specifications (and downgrade the next time).
IIRC upgrade/downgrade loops were already solved in some recent version?
Now it spits some error about conflicting deps that cause that.
- --
Vlastimil Babka (Caster)
Gentoo/Java
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGcmHKtbrAj05h3oQRAjxQAJ9jYtK7aAAWBvYttCTLW1Kt7a/OzACeL2Oe
aLZwTVOKohkRfcyyfRKpqMY=
=gYLD
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2007-06-15 9:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-15 0:27 [gentoo-dev] EAPI-1 (or >1, perhaps) Proposal: AND Dependencies John R. Graham
2007-06-15 4:52 ` Vlastimil Babka
2007-06-15 18:18 ` John R. Graham
2007-06-15 6:28 ` Kent Fredric
2007-06-15 8:02 ` Tobias Klausmann
2007-06-15 9:33 ` Marijn Schouten (hkBst)
2007-06-15 9:54 ` Vlastimil Babka [this message]
2007-06-15 11:08 ` John R. Graham
[not found] ` <20070615120051.4f35ea2c@snowflake>
2007-06-15 11:45 ` Luca Barbato
2007-06-15 11:56 ` Ciaran McCreesh
2007-06-18 5:19 ` [gentoo-dev] " Steve Long
2007-06-18 6:47 ` Kent Fredric
2007-06-18 22:53 ` [gentoo-dev] " Steve Long
2007-06-19 6:38 ` Kent Fredric
2007-06-22 7:35 ` [gentoo-dev] " Steve Long
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=467261CB.7020208@gentoo.org \
--to=caster@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox