python-cython: add RDEPENDS on some required python modules
authorJackie Huang <jackie.huang@windriver.com>
Fri, 22 Aug 2014 06:46:22 +0000 (02:46 -0400)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:41:52 +0000 (08:41 -0800)
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

(From meta-openembedded rev: fea3840ee5829afc4b159c81341366e47e4d6959)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-python/recipes-devtools/python/python-cython_0.20.2.bb

index 9f357ec..3966e0b 100644 (file)
@@ -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 = ""