[oe-commits] Jackie Huang : python-cython: add RDEPENDS on some required python modules

git at git.openembedded.org git at git.openembedded.org
Mon Aug 25 10:23:31 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: ad95223f7cbc3435a615768f8a9fa6d8b922940d
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=ad95223f7cbc3435a615768f8a9fa6d8b922940d

Author: Jackie Huang <jackie.huang at windriver.com>
Date:   Fri Aug 22 02:46:22 2014 -0400

python-cython: add RDEPENDS on some required python modules

python-distribute:
    File "/usr/bin/cython", line 5, in <module>
    ImportError: No module named pkg_resources

python-netserver:
    File "_tempita.py", line 34, in init Cython.Tempita._tempita
    ImportError: No module named cgi

python-subprocess:
    File "/usr/lib/python2.7/site-packages/Cython/Debugger/Cygdb.py", line 19, in <module>
    ImportError: No module named subprocess

python-shell:
    File "/usr/lib/python2.7/site-packages/Cython/Debugger/Cygdb.py", line 16, in <module>
    ImportError: No module named glob

Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-python/recipes-devtools/python/python-cython_0.20.2.bb | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-cython_0.20.2.bb b/meta-python/recipes-devtools/python/python-cython_0.20.2.bb
index 9f357ec..3966e0b 100644
--- a/meta-python/recipes-devtools/python/python-cython_0.20.2.bb
+++ b/meta-python/recipes-devtools/python/python-cython_0.20.2.bb
@@ -14,3 +14,11 @@ SRC_URI[md5sum] = "7fc13e1c665bdf7cea19ad08906af91f"
 SRC_URI[sha256sum] = "ed13b606a2aeb5bd6c235f8ed6c9988c99d01a033d0d21d56137c13d5c7be63f"
 
 inherit setuptools
+
+RDEPENDS_${PN} += "\
+    python-distribute \
+    python-netserver \
+    python-subprocess \
+    python-shell \
+"
+RDEPENDS_${PN}_class-native = ""



More information about the Openembedded-commits mailing list