public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ciaran McCreesh <ciaranm@ciaranm.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] EAPI-1 (or >1, perhaps) Proposal:  AND Dependencies
Date: Fri, 15 Jun 2007 12:56:42 +0100	[thread overview]
Message-ID: <20070615125642.2dcffcd7@snowflake> (raw)
In-Reply-To: <46727BE3.5090105@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 1420 bytes --]

On Fri, 15 Jun 2007 13:45:39 +0200
Luca Barbato <lu_zero@gentoo.org> wrote:
> Ciaran McCreesh wrote:
> > Paludis allows users to do some-cat/foo[>=4.0&<4-3] and
> > some-cat/foo[=4.1|=4.2|=4.3] . The syntax isn't particularly pretty,
> > but it's cleaner than requiring duplication of the cat/pkg. Combined
> > with :slot deps it should give you everything you need.
> 
> Seems not bad, do you have plans to refine it before proposing it for
> the pms?

Well, I'm happy with it like that...

> the combination with :slot defines within the [] or outside the [] or
> both?

Paludis currently requires a particular ordering:

  opcat/pkg-ver:slot::repo[bracketed][another][...]
  cat/pkg:slot::repo[bracketed][another][...]

Bracketed things can be any of:

  [use]
  [-use]
  [opver]
  [opver|opver|opver...]
  [opver&opver&opver...]

And reserved for future deviousness:

  [key=value]

opcat/pkg-ver used with [opver] things is currently accepted (but
probably shouldn't be). It behaves as if the external op-ver is added
to the brackets with whatever combining operator the brackets use, or &
if there's no combining operator.

This isn't allowed for EAPI=0, so if you want to experiment you'll have
to either do it in user config files (which can take anything that's
legal for anything, and various extra things that aren't) or set
EAPI=paludis-1.

-- 
Ciaran McCreesh


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-06-15 12:04 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
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 [this message]
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=20070615125642.2dcffcd7@snowflake \
    --to=ciaranm@ciaranm.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