summaryrefslogtreecommitdiffstats
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:54:23 +0000
commit2b898fe10bbbf2dbc9d7a3dacdd7d66e81f28c95 (patch)
treef8639c5263960b52c51bbe87246f04508bf20766
parent66f28a9837fa92e22ad9f84fa54644c30088c3b3 (diff)
downloadpoky-2b898fe10bbbf2dbc9d7a3dacdd7d66e81f28c95.tar.gz
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 <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python-2.7-manifest.inc2
-rwxr-xr-xscripts/contrib/python/generate-manifest-2.7.py2
2 files changed, 2 insertions, 2 deletions
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"
251FILES_${PN}-tkinter="${libdir}/python2.7/lib-dynload/_tkinter.so ${libdir}/python2.7/lib-tk " 251FILES_${PN}-tkinter="${libdir}/python2.7/lib-dynload/_tkinter.so ${libdir}/python2.7/lib-tk "
252 252
253DESCRIPTION_${PN}-unittest="Python Unit Testing Framework" 253DESCRIPTION_${PN}-unittest="Python Unit Testing Framework"
254RDEPENDS_${PN}-unittest="${PN}-core ${PN}-stringold ${PN}-lang" 254RDEPENDS_${PN}-unittest="${PN}-core ${PN}-stringold ${PN}-lang ${PN}-io ${PN}-difflib ${PN}-pprint ${PN}-shell"
255FILES_${PN}-unittest="${libdir}/python2.7/unittest/ " 255FILES_${PN}-unittest="${libdir}/python2.7/unittest/ "
256 256
257DESCRIPTION_${PN}-unixadmin="Python Unix Administration Support" 257DESCRIPTION_${PN}-unixadmin="Python Unix Administration Support"
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__":
367 m.addPackage( "${PN}-tkinter", "Python Tcl/Tk Bindings", "${PN}-core", 367 m.addPackage( "${PN}-tkinter", "Python Tcl/Tk Bindings", "${PN}-core",
368 "lib-dynload/_tkinter.so lib-tk" ) # package 368 "lib-dynload/_tkinter.so lib-tk" ) # package
369 369
370 m.addPackage( "${PN}-unittest", "Python Unit Testing Framework", "${PN}-core ${PN}-stringold ${PN}-lang", 370 m.addPackage( "${PN}-unittest", "Python Unit Testing Framework", "${PN}-core ${PN}-stringold ${PN}-lang ${PN}-io ${PN}-difflib ${PN}-pprint ${PN}-shell",
371 "unittest/" ) 371 "unittest/" )
372 372
373 m.addPackage( "${PN}-unixadmin", "Python Unix Administration Support", "${PN}-core", 373 m.addPackage( "${PN}-unixadmin", "Python Unix Administration Support", "${PN}-core",