* [gentoo-dev] No automatic RDEPEND=DEPEND for ebuild and eclass anymore
@ 2005-07-06 23:40 Sven Wegener
2005-07-08 12:07 ` Dan Armak
0 siblings, 1 reply; 3+ messages in thread
From: Sven Wegener @ 2005-07-06 23:40 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]
Hi all!
OK, subject isn't fully the truth. Portage doesn't set RDEPEND=DEPEND
for eclasses. So, please check your eclasses and if they only set DEPEND
and you need the RDEPEND=DEPEND thing, go ahead and add it to the
eclass!
For the ebuild part the plan is to remove the automatic RDEPEND=DEPEND
setting from portage. I can hear you scream:
- "But that's a nice feature!"
- "It makes my life easier. Don't do it!"
Here are the reasons for removing it:
- RDEPEND is the only variable that gets this special treatment. Less
confusion, if we remove the "magic" from RDEPEND.
- The ebuild should clearly say what it needs and not rely on portage
deciding the RDEPEND=DEPEND bit.
- Developers are just setting DEPEND and leave RDEPEND alone, which
results in unnecessary RDEPENDs. The removal will (hopefully) make
developers pay more attention and result in cleaner dependencies.
- eclasses don't have the automatic RDEPEND=DEPEND thing, the change
will streamline ebuilds and eclasses to be treated equally.
Cheers,
Sven
--
Sven Wegener
Gentoo Developer
http://www.gentoo.org/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] No automatic RDEPEND=DEPEND for ebuild and eclass anymore
2005-07-06 23:40 [gentoo-dev] No automatic RDEPEND=DEPEND for ebuild and eclass anymore Sven Wegener
@ 2005-07-08 12:07 ` Dan Armak
2005-07-08 13:08 ` Sven Wegener
0 siblings, 1 reply; 3+ messages in thread
From: Dan Armak @ 2005-07-08 12:07 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 491 bytes --]
On Thursday 07 July 2005 02:40, Sven Wegener wrote:
> For the ebuild part the plan is to remove the automatic RDEPEND=DEPEND
> setting from portage.
What's the timeline for this? Are we talking about a change in portage-cvs
(which itself is supposed to be released when?) or in the next 2.0.x rev?
--
Dan Armak
Gentoo Linux developer (KDE)
Public GPG key: http://dev.gentoo.org/~danarmak/danarmak-gpg-public.key
Fingerprint: DD70 DBF9 E3D4 6CB9 2FDD 0069 508D 9143 8D5F 8951
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] No automatic RDEPEND=DEPEND for ebuild and eclass anymore
2005-07-08 12:07 ` Dan Armak
@ 2005-07-08 13:08 ` Sven Wegener
0 siblings, 0 replies; 3+ messages in thread
From: Sven Wegener @ 2005-07-08 13:08 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1338 bytes --]
On Fri, Jul 08, 2005 at 03:07:42PM +0300, Dan Armak wrote:
> On Thursday 07 July 2005 02:40, Sven Wegener wrote:
> > For the ebuild part the plan is to remove the automatic RDEPEND=DEPEND
> > setting from portage.
> What's the timeline for this? Are we talking about a change in portage-cvs
> (which itself is supposed to be released when?) or in the next 2.0.x rev?
It will be included in portage, when EAPI (see the EBUILD_FORMAT thread)
gets in, to provide backward compatibility for old ebuilds. This EAPI
thing takes some time, because the first API version needs to be
designed and written down. It's generally current format with some
modifications. Stable portage won't be affected by the RDEPEND=DEPEND
removal, but you can for sure include RDEPEND="${DEPEND}" in your
ebuilds to make them safe for the future. It's currently not required
and our plan is to get the changes in when EAPI goes live. And for the
release of portage-cvs to stable, you better ask one of the real portage
developers.
In short, no run on the tree is needed now. And if we need to update all
ebuilds, it will (probably) be done with a script. 2/3 of all ebuilds
currently assume the automatic RDEPEND=DEPEND setting, i.e. they set
DEPEND, but not RDEPEND.
Sven
--
Sven Wegener
Gentoo Developer
http://www.gentoo.org/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-08 13:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-06 23:40 [gentoo-dev] No automatic RDEPEND=DEPEND for ebuild and eclass anymore Sven Wegener
2005-07-08 12:07 ` Dan Armak
2005-07-08 13:08 ` Sven Wegener
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox