From 496adfe84ef05d031444988d41451a018133f5a8 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. Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python-2.7-manifest.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/recipes-devtools/python/python-2.7-manifest.inc b/meta/recipes-devtools/python/python-2.7-manifest.inc index 6d3a9e6c04..8e52252225 100644 --- a/meta/recipes-devtools/python/python-2.7-manifest.inc +++ b/meta/recipes-devtools/python/python-2.7-manifest.inc @@ -251,7 +251,7 @@ RDEPENDS_${PN}-tkinter="${PN}-core" FILES_${PN}-tkinter="${libdir}/python2.7/lib-dynload/_tkinter.so ${libdir}/python2.7/lib-tk " DESCRIPTION_${PN}-unittest="Python Unit Testing Framework" -RDEPENDS_${PN}-unittest="${PN}-core ${PN}-stringold ${PN}-lang" +RDEPENDS_${PN}-unittest="${PN}-core ${PN}-stringold ${PN}-lang ${PN}-io ${PN}-difflib ${PN}-pprint ${PN}-shell" FILES_${PN}-unittest="${libdir}/python2.7/unittest/ " DESCRIPTION_${PN}-unixadmin="Python Unix Administration Support" -- cgit v1.2.3