Patchwork [RFC] python-setuptools: Do not pull in target python for native recipe

login
register
mail settings
Submitter Darren Hart
Date Dec. 17, 2011, 2:12 a.m.
Message ID <4EEBFA77.8060306@linux.intel.com>
Download mbox | patch
Permalink /patch/17173/
State New
Headers show

Comments

Darren Hart - Dec. 17, 2011, 2:12 a.m.
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@linux.intel.com>
---
 .../python/python-setuptools_0.6c11.bb             |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

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"