]> code.ossystems Code Review - openembedded-core.git/commit
python-argparse: adding runtime dependency on python-codecs
authorLukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Fri, 28 Jun 2013 09:57:11 +0000 (11:57 +0200)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 8 Jul 2013 15:28:30 +0000 (16:28 +0100)
commitbe91c7d9dc5f9ac6e4dd482717f1f89e4ee169cb
treef95aca7aa6b730075de4c51fa3f6b436d44c6bcc
parente887858d495d772a4b2cd6ca4edc0c53942518d8
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)

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python-argparse_1.2.1.bb