1 |
On Sat, 17 Jan 2009 16:41:25 +0100 |
2 |
Thomas Sachau <tommy@g.o> wrote: |
3 |
|
4 |
> Marius Mauch schrieb: |
5 |
> > It's strongly recommended to set both explicitly as the behavior |
6 |
> > could change in future EAPI versions, and to ensure that you |
7 |
> > actually think about which deps are build deps and which are |
8 |
> > runtime deps. Also there is nothing wrong with policies being |
9 |
> > stricter than the underlying spec. |
10 |
> |
11 |
> If i want to use some future EAPI (give me some reasons, why this |
12 |
> should be changed there by default), i should think about it. |
13 |
|
14 |
If nothing else, dropping the implicit assignment would remove one |
15 |
special case to handle in the PM (and I hope that everyone agrees that |
16 |
special cases should generally be avoided). In the past there have also |
17 |
been some issues due to the interaction between the implicit setting of |
18 |
RDEPEND and eclasses (long fixed, but shows that there is a bit more |
19 |
involved than might obvious). |
20 |
|
21 |
> But most ebuilds will stay with the default. I do think about |
22 |
> runtime deps and build deps. |
23 |
|
24 |
If you do that's good, but that doesn't mean everyone else does. |
25 |
Consider looking at an ebuild for a package you're not familiar with |
26 |
that doesn't set RDEPEND. Could mean that the author was just too lazy |
27 |
to add a RDEPEND="$DEPEND" statement and that all deps are needed for |
28 |
build and runtime, or that he completely forgot to think about runtime |
29 |
deps. There is no way to know (without asking him) if the implicit |
30 |
RDEPEND is actually intended or not. |
31 |
|
32 |
> In my eyes, this is similar to src_unpack and src_compile. They |
33 |
> have defaults, noone specifies the defaults, even if they are changed |
34 |
> in some EAPI. |
35 |
|
36 |
Sure, but the key difference is that the defaults for those are fixed. |
37 |
You would have a point if the default src_compile would vary based on |
38 |
what other phase functions the ebuild defines, but that's not the case. |
39 |
|
40 |
Marius |