From 2b898fe10bbbf2dbc9d7a3dacdd7d66e81f28c95 Mon Sep 17 00:00:00 2001 From: Mike Looijmans Date: Fri, 6 Dec 2013 07:46:51 +0100 Subject: 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. (From OE-Core rev: 496adfe84ef05d031444988d41451a018133f5a8) Signed-off-by: Richard Purdie --- scripts/contrib/python/generate-manifest-2.7.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/contrib') 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", -- cgit v1.2.3-54-g00ecf