1 |
Hi all! |
2 |
|
3 |
OK, subject isn't fully the truth. Portage doesn't set RDEPEND=DEPEND |
4 |
for eclasses. So, please check your eclasses and if they only set DEPEND |
5 |
and you need the RDEPEND=DEPEND thing, go ahead and add it to the |
6 |
eclass! |
7 |
|
8 |
For the ebuild part the plan is to remove the automatic RDEPEND=DEPEND |
9 |
setting from portage. I can hear you scream: |
10 |
|
11 |
- "But that's a nice feature!" |
12 |
- "It makes my life easier. Don't do it!" |
13 |
|
14 |
Here are the reasons for removing it: |
15 |
|
16 |
- RDEPEND is the only variable that gets this special treatment. Less |
17 |
confusion, if we remove the "magic" from RDEPEND. |
18 |
- The ebuild should clearly say what it needs and not rely on portage |
19 |
deciding the RDEPEND=DEPEND bit. |
20 |
- Developers are just setting DEPEND and leave RDEPEND alone, which |
21 |
results in unnecessary RDEPENDs. The removal will (hopefully) make |
22 |
developers pay more attention and result in cleaner dependencies. |
23 |
- eclasses don't have the automatic RDEPEND=DEPEND thing, the change |
24 |
will streamline ebuilds and eclasses to be treated equally. |
25 |
|
26 |
Cheers, |
27 |
Sven |
28 |
|
29 |
-- |
30 |
Sven Wegener |
31 |
Gentoo Developer |
32 |
http://www.gentoo.org/ |