Skip to contentSkip to conversation

python-setuptools: Do not pull in target python for native recipe

RFC PATCH Superseded Darren Hart 1 participant 1 message Dec 17, 2011

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 python-setuptools: Do not pull in target python for native recipe

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.

---
 .../python/python-setuptools_0.6c11.bb             |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
meta/recipes-devtools/python/python-setuptools_0.6c11.bb +2 -0
index 5dd5f31..3320c7a 100644
@@ -24,6 +24,8 @@ RDEPENDS_${PN} = "\
   python-distutils \
   python-compression \
 "
+RDEPENDS_${PN}_virtclass-native = "\
+"
 
 SRC_URI[md5sum] = "7df2a529a074f613b509fb44feefe74e"
 SRC_URI[sha256sum] = "630fea9b726320b73ee3ca6ff61732cb32675b0389be658080fe46383b87a1d3"
Signature · 5 lines
1.7.5.4
-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel