1 |
On 09/11/2012 12:33 AM, Ciaran McCreesh wrote: |
2 |
> On Mon, 10 Sep 2012 13:54:42 -0700 |
3 |
> Brian Harring <ferringb@×××××.com> wrote: |
4 |
>> On Mon, Sep 10, 2012 at 05:54:51PM +0100, Ciaran McCreesh wrote: |
5 |
>>> This takes us back to the Council-approved syntax, as opposed to the |
6 |
>>> change introduced with sub-slots. |
7 |
>>> --- |
8 |
>>> dependencies.tex | 2 +- |
9 |
>>> 1 file changed, 1 insertion(+), 1 deletion(-) |
10 |
>>> |
11 |
>>> diff --git a/dependencies.tex b/dependencies.tex |
12 |
>>> index 47c0261..8c3f31d 100644 |
13 |
>>> --- a/dependencies.tex |
14 |
>>> +++ b/dependencies.tex |
15 |
>>> @@ -301,7 +301,7 @@ identically to the plain equals slot operator. |
16 |
>>> To implement the equals slot operator, the package manager will |
17 |
>>> need to store the slot/sub-slot pair of the best installed version |
18 |
>>> of the matching package. This syntax is only for package manager |
19 |
>>> use and must not be used by ebuilds. The package manager may do |
20 |
>>> this by inserting the appropriate -slot/sub-slot pair between the |
21 |
>>> colon and equals sign when saving the package's dependencies. The |
22 |
>>> +slot/sub-slot pair after the equals sign when saving the package's |
23 |
>>> dependencies. The sub-slot part must not be omitted here (when the |
24 |
>>> SLOT variable omits the sub-slot part, the package is considered to |
25 |
>>> have an implicit sub-slot which is equal to the regular slot). |
26 |
>> |
27 |
>> Yes please; :3= I thought bug-fricking-ugly. |
28 |
> |
29 |
> Hrm. Although... We need to decide how a :3= dep in an ebuild is |
30 |
> rewritten for VDB. Do we rewrite to to :3/3.3= or to :3=3/3.3? The |
31 |
> latter has the advantage that we can tell just from the VDB what the |
32 |
> original spec was. |
33 |
> |
34 |
> The way it's worded without the patch has the benefit that stuff on the |
35 |
> left of the = is written by the developer, and stuff on the right by the |
36 |
> package mangler. |
37 |
|
38 |
The latter one looks good to me. |
39 |
-- |
40 |
Thanks, |
41 |
Zac |