1 |
On Sat, 09 Jun 2012 13:55:53 -0700 |
2 |
Zac Medico <zmedico@g.o> wrote: |
3 |
> A dependency atom will have optional SLOT and ABI_SLOT parts. Using |
4 |
> the dbus-glib depedency on glib:2 as an example [1], the dbus-glib |
5 |
> dependency will be expressed with an atom such as dev-libs/glib:2:= |
6 |
> and the package manager will translate that atom to |
7 |
> dev-libs/glib:2:=2.32 at build time. So, ':' is always used to |
8 |
> distinguish SLOT deps, and ':=' is always used to distinguish |
9 |
> ABI_SLOT deps. Is that syntax good? |
10 |
|
11 |
Here's a nicer syntax: no ABI_SLOT variable, and SLOT="2/2.32". Then you |
12 |
can do explicit :2/2.32 dependencies if you like, or :2 (which would |
13 |
match SLOT="2" or SLOT="2/anything"), or :2= (which gets rewritten |
14 |
to :2/2.32=) or :2*. If an ebuild does SLOT="2", it's treated as 2/2. |
15 |
|
16 |
-- |
17 |
Ciaran McCreesh |