]> code.ossystems Code Review - openembedded-core.git/commitdiff
distutils-base: Only RDEPEND python-core on target packages
authorMartin Jansa <martin.jansa@gmail.com>
Sat, 5 Mar 2011 06:15:52 +0000 (06:15 +0000)
committerKhem Raj <raj.khem@gmail.com>
Wed, 9 Mar 2011 04:44:48 +0000 (20:44 -0800)
* 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>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/classes/distutils-base.bbclass

index 2e151ded388ba5ebee26976933c920f7312ac2b7..e84b0fcc5ab57bf0158274c005f4943be844c1fd 100644 (file)
@@ -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