On Fri, 15 Jun 2007 13:45:39 +0200
Luca Barbato <[EMAIL PROTECTED]> 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: signature.asc
Description: PGP signature

Reply via email to