Patchwork [meta-python] python-cython: add RDEPENDS on some required python modules

login
register
mail settings
Submitter jackie huang
Date Aug. 22, 2014, 6:46 a.m.
Message ID <1408689982-30374-1-git-send-email-jackie.huang@windriver.com>
Download mbox | patch
Permalink /patch/78793/
State Accepted, archived
Headers show

Comments

jackie huang - Aug. 22, 2014, 6:46 a.m.
From: Jackie Huang <jackie.huang@windriver.com>

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@windriver.com>
---
 meta-python/recipes-devtools/python/python-cython_0.20.2.bb | 7 +++++++
 1 file changed, 7 insertions(+)

Patch

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..8578a14 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,10 @@  SRC_URI[md5sum] = "7fc13e1c665bdf7cea19ad08906af91f"
 SRC_URI[sha256sum] = "ed13b606a2aeb5bd6c235f8ed6c9988c99d01a033d0d21d56137c13d5c7be63f"
 
 inherit setuptools
+
+RDEPENDS_${PN} += "\
+    python-distribute \
+    python-netserver \
+    python-subprocess \
+    python-shell \
+"