1 |
On Fri, 2005-12-30 at 21:49 +0900, Jason Stubbs wrote: |
2 |
> On Friday 30 December 2005 21:17, Spider (DmD Lj) wrote: |
3 |
> > |
4 |
> > No, what you suggested was that for the case of when you depend on a |
5 |
> > SLOT, then the tree is flattened. My point was for the generic case : |
6 |
> > |
7 |
> > DEPEND=">=kde-base/kdelibs-3.0" (as many ebuilds look today) |
8 |
> > |
9 |
> > is then expanded to the current matching SLOT of kdelibs, so even if |
10 |
> > there -wasn't- a SLOT requirement beforehand, there is one afterwards. |
11 |
> |
12 |
> Okay, I misinterpreted. Anyway, it looks like neither of our ideas will work: |
13 |
> |
14 |
> app-text/docbook-sgml/docbook-sgml-1.0.ebuild: |
15 |
> |
16 |
> RDEPEND="app-text/sgml-common app-text/openjade |
17 |
> >=app-text/docbook-dsssl-stylesheets-1.64 |
18 |
> >=app-text/docbook-sgml-utils-0.6.6 |
19 |
> ~app-text/docbook-sgml-dtd-3.0 |
20 |
> ~app-text/docbook-sgml-dtd-3.1 |
21 |
> ~app-text/docbook-sgml-dtd-4.0 |
22 |
> ~app-text/docbook-sgml-dtd-4.1" |
23 |
|
24 |
> docbook-sgml-dtd-3.0-r3.ebuild:SLOT="3.0" |
25 |
> docbook-sgml-dtd-3.1-r3.ebuild:SLOT="3.1" |
26 |
> docbook-sgml-dtd-4.0-r3.ebuild:SLOT="4.0" |
27 |
> docbook-sgml-dtd-4.1-r3.ebuild:SLOT="4.1" |
28 |
> |
29 |
|
30 |
|
31 |
|
32 |
Hmm, however theese are the ~ atoms, I'm not quite sure how those are |
33 |
treated in the current tree, however in "my" proposal it would block |
34 |
against "requirement of same package with different SLOT. |
35 |
|
36 |
However, since the ~ atoms are explicit and separate ( this depend tree |
37 |
could as well be called : |
38 |
app-text/docbook-sgml-dtd:3.0 |
39 |
app-text/docbook-sgml-dtd:3.1 |
40 |
app-text/docbook-sgml-dtd:4.0 |
41 |
app-text/docbook-sgml-dtd:4.1 |
42 |
|
43 |
Which, for some reason, should be supported : ) |
44 |
|
45 |
Either by casing out appearances where multiple SLOTs are depended on by |
46 |
-one- package, or by saying that ~ is special-cased due to its stricter |
47 |
limitations, which would make it pass by the SLOT check. |
48 |
|
49 |
( no, its not an elegant solution, but it might work ;) |
50 |
|
51 |
|
52 |
//Spider |
53 |
|
54 |
|
55 |
-- |
56 |
begin .signature |
57 |
Tortured users / Laughing in pain |
58 |
See Microsoft KB Article Q265230 for more information. |
59 |
end |