public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] fixing up portage implicit RDEPEND behavior
@ 2006-11-03  7:29 Mike Frysinger
  2006-11-03  8:23 ` Brian Harring
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Mike Frysinger @ 2006-11-03  7:29 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]

this is not a "implicit vs explicit" thread; if you want that discussion start 
your own

we've said the relationship of DEPEND atoms in ebuilds should be independent 
of the DEPEND atoms found in eclasses as logically ebuilds should not care 
what it takes for eclasses to work and vice versa ... for the most part, this 
is true ...

however, semi-recently, a change was made such that the implicit 
RDEPEND=$DEPEND was dropped from ebuilds if an inherited class set RDEPEND in 
any way ... that means if you have an ebuild at the moment that does:
DEPEND="foo"
and you dont inherit any eclasses, then you also get for free:
RDEPEND="foo"

if you decide to inherit eclasses though, you had better do some research as 
any eclass that does even RDEPEND="" will change that behavior ... or if you 
are an eclass writer and you decided to add RDEPEND to your eclass, you had 
better do a reverse check and make sure that any ebuild that inherits your 
eclass (directly or indirectly) does not utilize implicit RDEPEND behavior as 
you would have just broken it ... awesome ;)

i posted a patch to fix this regression, but since it took so long before 
anyone noticed, zmedico wants to see if anyone is opposed (i dont know why 
they would be, but i cant think of everything)

so to recap, the fix here changes it back to the historically documented 
behavior that the implicit RDEPEND happens in ebuilds regardless of what 
eclasses do
-mike

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-11-05  7:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-03  7:29 [gentoo-dev] [RFC] fixing up portage implicit RDEPEND behavior Mike Frysinger
2006-11-03  8:23 ` Brian Harring
2006-11-03 13:02   ` Mike Frysinger
2006-11-03  8:43 ` Zac Medico
2006-11-03  9:32   ` Peter Volkov (pva)
2006-11-03  9:39     ` Zac Medico
2006-11-03 13:02     ` Mike Frysinger
2006-11-05  3:45   ` Zac Medico
2006-11-05  7:40     ` Mike Frysinger
2006-11-03 18:37 ` Diego 'Flameeyes' Pettenò
2006-11-03 18:45 ` Stephen Bennett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox