diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2011-03-05 06:15:52 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2011-03-08 20:44:48 -0800 |
commit | 65317f21736293cc4eeb9a404e9f01043df7565d (patch) | |
tree | 5135e2268069f823b3429f6f2603236b346ce34b | |
parent | 6f0bbe463204d377f92140b6540d9d518d5c6d6b (diff) | |
download | openembedded-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>
-rw-r--r-- | 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 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 |