On Thu, 23 Apr 2009 11:48:08 +0300 Mart Raudsepp <l...@gentoo.org> wrote: > > The best installed version that matches the spec is always picked > > for :=. We originally considered making this more complicated, or > > possibly making ways of saying "all installed slots", but neither > > appears to have a legitimate use case. The latter in particular > > would only encourage abuse (people might mistakenly think it's a > > solution to the Python / Ruby ABIs thing). > > I don't think that really works in all cases, e.g in combination with > PDEPEND or such.
It works in all cases where you're guaranteed to know at build time what versions are there -- that is to say, it works for things that are listed both in DEPEND and in RDEPEND. > So to make this easy for everybody in the future, do you perhaps have > a concrete ebuild code example that shows how exactly to do it in an > ebuild pkg_setup or src_configure exactly? Most things that are affected by this will just work automatically. > My main open issue with SLOT-OPERATOR-DEPS is about the :* syntax, and > specifically how that potentially works un-intuituvely with some > future syntax regarding list of slots. The feature concept itself > seems sound and reasonable, but I think we might be able to do better > with the syntax for the long run when slot lists come into play. It fits in fine with the syntax we've been thinking of using for slot groups and version ranges. -- Ciaran McCreesh
signature.asc
Description: PGP signature