Patchwork python-setuptools: Improving the runtime dependencies

login
register
mail settings
Submitter Lukas Bulwahn
Date April 18, 2013, 5:40 a.m.
Message ID <1366263611-25106-1-git-send-email-lukas.bulwahn@oss.bmw-carit.de>
Download mbox | patch
Permalink /patch/48467/
State Accepted
Commit 6dc9a7edaf27d0ca88165e34b1c968c6cd2329fa
Headers show

Comments

Lukas Bulwahn - April 18, 2013, 5:40 a.m.
When trying to import setuptools on a minimal image, it reports that some
python module is missing. We add those missing python modules as runtime
dependency.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
---
 .../python/python-setuptools_0.6c11.bb             |    8 ++++++++
 1 file changed, 8 insertions(+)

Patch

diff --git a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
index 8608104..f09a312 100644
--- a/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
+++ b/meta/recipes-devtools/python/python-setuptools_0.6c11.bb
@@ -23,6 +23,14 @@  do_install_prepend() {
 }
 
 RDEPENDS_${PN} = "\
+  python-stringold \
+  python-email \
+  python-shell \
+  python-distutils \
+  python-compression \
+"
+
+RDEPENDS_${PN}_class-native = "\
   python-distutils \
   python-compression \
 "