summaryrefslogtreecommitdiff
path: root/scripts/contrib
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2013-12-06 07:46:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-06 13:37:59 +0000
commit496adfe84ef05d031444988d41451a018133f5a8 (patch)
treecc6194014ae8edcdf2f40151f128d6ad140ae89c /scripts/contrib
parent300760193c6bcfd20f1d4908f912bebd53e86281 (diff)
downloadopenembedded-core-496adfe84ef05d031444988d41451a018133f5a8.tar.gz
openembedded-core-496adfe84ef05d031444988d41451a018133f5a8.tar.bz2
openembedded-core-496adfe84ef05d031444988d41451a018133f5a8.zip
python: Add missing RDEPENDS for python-unittest
After installing python-unittest, the following errors occur when executing "import unittest" from a python commandline: ImportError: No module named StringIO ImportError: No module named pprint ImportError: No module named difflib ImportError: No module named pprint ImportError: No module named fnmatch Fix this by adding the missing dependencies to the generator script and run the generator. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/contrib')
-rwxr-xr-xscripts/contrib/python/generate-manifest-2.7.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/contrib/python/generate-manifest-2.7.py b/scripts/contrib/python/generate-manifest-2.7.py
index 124a1a42ca..6e73c48dff 100755
--- a/scripts/contrib/python/generate-manifest-2.7.py
+++ b/scripts/contrib/python/generate-manifest-2.7.py
@@ -367,7 +367,7 @@ if __name__ == "__main__":
m.addPackage( "${PN}-tkinter", "Python Tcl/Tk Bindings", "${PN}-core",
"lib-dynload/_tkinter.so lib-tk" ) # package
- m.addPackage( "${PN}-unittest", "Python Unit Testing Framework", "${PN}-core ${PN}-stringold ${PN}-lang",
+ m.addPackage( "${PN}-unittest", "Python Unit Testing Framework", "${PN}-core ${PN}-stringold ${PN}-lang ${PN}-io ${PN}-difflib ${PN}-pprint ${PN}-shell",
"unittest/" )
m.addPackage( "${PN}-unixadmin", "Python Unix Administration Support", "${PN}-core",