[OE-core] [PATCH RFC] python-setuptools: Do not pull in target python for native recipe

Darren Hart dvhart at linux.intel.com
Sat Dec 17 02:12:07 UTC 2011


glib-2.0 DEPENDS and DEPENDS_virtclass-native on python-argparse-native,
which inherits from setuptools, which DEPENDS on python-setuptools-native.
python-setuptools RDEPENDS on python-distutils and python-compression,
however, it doesn't distinguish between target and native.

Remove these python RDEPENDS from the -native build so they don't pull
in the target python to all images where glib-2.0-native is needed to
build them.

Signed-off-by: Darren Hart <dvhart at linux.intel.com>
---
 .../python/python-setuptools_0.6c11.bb             |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
index 5dd5f31..3320c7a 100644
--- a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
+++ b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
@@ -24,6 +24,8 @@ RDEPENDS_${PN} = "\
   python-distutils \
   python-compression \
 "
+RDEPENDS_${PN}_virtclass-native = "\
+"
 
 SRC_URI[md5sum] = "7df2a529a074f613b509fb44feefe74e"
 SRC_URI[sha256sum] = "630fea9b726320b73ee3ca6ff61732cb32675b0389be658080fe46383b87a1d3"
-- 
1.7.5.4
-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel




More information about the Openembedded-core mailing list