diff options
author | MiLo <milo-software@users.sourceforge.net> | 2013-02-14 08:10:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-14 10:46:25 +0000 |
commit | 0be6d35d46bd39bd626b3d47213c04ecea44d1b7 (patch) | |
tree | 0fcafaf23bd7dbb79b3884eee4760eab03f12b7b /scripts | |
parent | e3f5d7dee070464c636c4cb38844e098ec9d75f8 (diff) | |
download | poky-0be6d35d46bd39bd626b3d47213c04ecea44d1b7.tar.gz |
Python: Add missing dependency "textutils" to "io" package
Modify the include file and script to generate a missing RDEPENDS.
Install python on target with python-io. Import ssl:
Python 2.7.3 (default, Feb 9 2013, 16:04:35)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/ssl.py", line 58, in <module>
ImportError: No module named textwrap
Installing python-textutils solves the issue.
(From OE-Core rev: 900ae881c3483eea36aa0be456b93f92980f4924)
Signed-off-by: MiLo <milo-software@users.sourceforge.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/contrib/python/generate-manifest-2.7.py | 2 |
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 6a11c89df0..22470f963b 100755 --- a/scripts/contrib/python/generate-manifest-2.7.py +++ b/scripts/contrib/python/generate-manifest-2.7.py | |||
@@ -272,7 +272,7 @@ if __name__ == "__main__": | |||
272 | m.addPackage( "${PN}-image", "Python Graphical Image Handling", "${PN}-core", | 272 | m.addPackage( "${PN}-image", "Python Graphical Image Handling", "${PN}-core", |
273 | "colorsys.* imghdr.* lib-dynload/imageop.so lib-dynload/rgbimg.so" ) | 273 | "colorsys.* imghdr.* lib-dynload/imageop.so lib-dynload/rgbimg.so" ) |
274 | 274 | ||
275 | m.addPackage( "${PN}-io", "Python Low-Level I/O", "${PN}-core ${PN}-math", | 275 | m.addPackage( "${PN}-io", "Python Low-Level I/O", "${PN}-core ${PN}-math ${PN}-textutils", |
276 | "lib-dynload/_socket.so lib-dynload/_io.so lib-dynload/_ssl.so lib-dynload/select.so lib-dynload/termios.so lib-dynload/cStringIO.so " + | 276 | "lib-dynload/_socket.so lib-dynload/_io.so lib-dynload/_ssl.so lib-dynload/select.so lib-dynload/termios.so lib-dynload/cStringIO.so " + |
277 | "pipes.* socket.* ssl.* tempfile.* StringIO.* io.* _pyio.*" ) | 277 | "pipes.* socket.* ssl.* tempfile.* StringIO.* io.* _pyio.*" ) |
278 | 278 | ||