summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>2013-04-04 14:12:57 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-04 14:04:42 +0100
commit88f446661b7b211045d42f012f49630cb19f0842 (patch)
tree5dc466087a6eba1eb088fcd3c8cefe542fcd99e6
parentb5f842a8ad697f7d62aa287a7e560c89574935ca (diff)
downloadpoky-88f446661b7b211045d42f012f49630cb19f0842.tar.gz
python: adding missing runtime dependency python-io to python-pprint
When trying to import python-pprint on a minimal image, it reports that the cStringIO python module is missing. This is provided with python-io, so we add python-io as runtime dependency. The complete observed trace was: Python 2.7.3 (default, Apr 4 2013, 07:45:36) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pprint Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/pprint.py", line 40, in <module> from cStringIO import StringIO as _StringIO ImportError: No module named cStringIO (From OE-Core rev: abe7bf9992e298f1b53e790eee7b064a9e4e8589) Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> 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 84e5a0b912..fb44905798 100644
--- a/meta/recipes-devtools/python/python-2.7-manifest.inc
+++ b/meta/recipes-devtools/python/python-2.7-manifest.inc
@@ -175,7 +175,7 @@ RDEPENDS_${PN}-pkgutil="${PN}-core"
175FILES_${PN}-pkgutil="${libdir}/python2.7/pkgutil.* " 175FILES_${PN}-pkgutil="${libdir}/python2.7/pkgutil.* "
176 176
177DESCRIPTION_${PN}-pprint="Python Pretty-Print Support" 177DESCRIPTION_${PN}-pprint="Python Pretty-Print Support"
178RDEPENDS_${PN}-pprint="${PN}-core" 178RDEPENDS_${PN}-pprint="${PN}-core ${PN}-io"
179FILES_${PN}-pprint="${libdir}/python2.7/pprint.* " 179FILES_${PN}-pprint="${libdir}/python2.7/pprint.* "
180 180
181DESCRIPTION_${PN}-profile="Python Basic Profiling Support" 181DESCRIPTION_${PN}-profile="Python Basic Profiling Support"
diff --git a/scripts/contrib/python/generate-manifest-2.7.py b/scripts/contrib/python/generate-manifest-2.7.py
index 22470f963b..61a068cd51 100755
--- a/scripts/contrib/python/generate-manifest-2.7.py
+++ b/scripts/contrib/python/generate-manifest-2.7.py
@@ -319,7 +319,7 @@ if __name__ == "__main__":
319 m.addPackage( "${PN}-pkgutil", "Python Package Extension Utility Support", "${PN}-core", 319 m.addPackage( "${PN}-pkgutil", "Python Package Extension Utility Support", "${PN}-core",
320 "pkgutil.*") 320 "pkgutil.*")
321 321
322 m.addPackage( "${PN}-pprint", "Python Pretty-Print Support", "${PN}-core", 322 m.addPackage( "${PN}-pprint", "Python Pretty-Print Support", "${PN}-core ${PN}-io",
323 "pprint.*" ) 323 "pprint.*" )
324 324
325 m.addPackage( "${PN}-profile", "Python Basic Profiling Support", "${PN}-core ${PN}-textutils", 325 m.addPackage( "${PN}-profile", "Python Basic Profiling Support", "${PN}-core ${PN}-textutils",