Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] distutils-base: Only RDEPEND python-core on target packages
@ 2011-03-04 22:15 Martin Jansa
  2011-03-04 22:41 ` Koen Kooi
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2011-03-04 22:15 UTC (permalink / raw)
  To: openembedded-core

* fixes ie setuptools, without this patch it RDEPENDs on python-core-native, which is not RPROVIDED by anything
* imported from OE 8377b8ec57f35b9e5b81a74c77f68fd6e02949c8

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/classes/distutils-base.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/distutils-base.bbclass b/meta/classes/distutils-base.bbclass
index 2e151de..e84b0fc 100644
--- a/meta/classes/distutils-base.bbclass
+++ b/meta/classes/distutils-base.bbclass
@@ -1,5 +1,5 @@
 DEPENDS  += "${@["python-native python", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}"
-RDEPENDS += "python-core"
+RDEPENDS_${PN} += "${@['', 'python-core']['${PN}' == '${BPN}']}"
 
 inherit distutils-common-base
 
-- 
1.7.4.1




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

end of thread, other threads:[~2011-03-05  8:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-04 22:15 [PATCH] distutils-base: Only RDEPEND python-core on target packages Martin Jansa
2011-03-04 22:41 ` Koen Kooi
2011-03-05  3:19   ` Khem Raj
2011-03-05  8:16     ` Koen Kooi

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