summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorLukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>2013-06-28 11:57:11 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-09 10:53:57 +0100
commit9d3ffeb5ae5ce1730fcaa250817efd847225845f (patch)
tree0ee4aedb2177633359bb9258c977642d0683a418 /meta/recipes-devtools/python
parentb0c40a9c1b335fc2a956fc1880a613e97d12938f (diff)
downloadpoky-9d3ffeb5ae5ce1730fcaa250817efd847225845f.tar.gz
python-argparse: adding runtime dependency on python-codecs
When typing 'import argparse' in the python shell on a minimal image with only the python-argparse recipe installed, python reports: Python 2.7.3 (default, Jun 27 2013, 08:26:25) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import argparse; Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/argparse.py", line 91, in <module> from gettext import gettext as _ ImportError: No module named gettext The python-argparse recipe requires the python gettext module, which is currently provided by python-codecs. Hence, this commit adds python-codecs as runtime dependency to resolve the issue. (From OE-Core master rev: 8d0e84bdfaf63ad61be7b015dd55dacccfa9132c) (From OE-Core rev: be91c7d9dc5f9ac6e4dd482717f1f89e4ee169cb) Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python-argparse_1.2.1.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python-argparse_1.2.1.bb b/meta/recipes-devtools/python/python-argparse_1.2.1.bb
index 752ad64a38..1f07738547 100644
--- a/meta/recipes-devtools/python/python-argparse_1.2.1.bb
+++ b/meta/recipes-devtools/python/python-argparse_1.2.1.bb
@@ -3,8 +3,8 @@ SECTION = "devel/python"
3LICENSE = "PSF" 3LICENSE = "PSF"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=09d08bb5b7047e2688ea3faad6408aa8" 4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=09d08bb5b7047e2688ea3faad6408aa8"
5SRCNAME = "argparse" 5SRCNAME = "argparse"
6PR = "r3" 6PR = "r4"
7RDEPENDS_${PN} += "python-textutils" 7RDEPENDS_${PN} += "python-codecs python-textutils"
8 8
9SRC_URI = "http://argparse.googlecode.com/files/${SRCNAME}-${PV}.tar.gz" 9SRC_URI = "http://argparse.googlecode.com/files/${SRCNAME}-${PV}.tar.gz"
10SRC_URI[md5sum] = "2fbef8cb61e506c706957ab6e135840c" 10SRC_URI[md5sum] = "2fbef8cb61e506c706957ab6e135840c"