summaryrefslogtreecommitdiffstats
path: root/meta/classes/distutils-base.bbclass
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2011-03-05 06:15:52 +0000
committerKhem Raj <raj.khem@gmail.com>2011-03-08 20:44:48 -0800
commit65317f21736293cc4eeb9a404e9f01043df7565d (patch)
tree5135e2268069f823b3429f6f2603236b346ce34b /meta/classes/distutils-base.bbclass
parent6f0bbe463204d377f92140b6540d9d518d5c6d6b (diff)
downloadopenembedded-core-65317f21736293cc4eeb9a404e9f01043df7565d.tar.gz
openembedded-core-65317f21736293cc4eeb9a404e9f01043df7565d.tar.bz2
openembedded-core-65317f21736293cc4eeb9a404e9f01043df7565d.zip
distutils-base: Only RDEPEND python-core on target packages
* 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>
Diffstat (limited to 'meta/classes/distutils-base.bbclass')
-rw-r--r--meta/classes/distutils-base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/distutils-base.bbclass b/meta/classes/distutils-base.bbclass
index 2e151ded38..e84b0fcc5a 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