mirror of
https://git.yoctoproject.org/poky
synced 2026-04-03 02:02:21 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
66f28a9837
commit
2b898fe10b
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user