[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-commits
Subject: [oe-commits] Lukas Bulwahn : python-argparse: adding runtime dependency on python-codecs
From: git () git ! openembedded ! org (git at git ! openembedded ! org)
Date: 2013-06-28 9:55:15
Message-ID: 20130628095515.E2CDB504A1 () opal
[Download RAW message or body]
Module: openembedded-core.git
Branch: master
Commit: 8d0e84bdfaf63ad61be7b015dd55dacccfa9132c
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8d0e84bdfaf63ad61be7b015dd55dacccfa9132c
Author: Lukas Bulwahn <lukas.bulwahn at oss.bmw-carit.de>
Date: Fri Jun 28 11:57:11 2013 +0200
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.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn at oss.bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
.../python/python-argparse_1.2.1.bb | 4 ++--
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 752ad64..1f07738 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"
LICENSE = "PSF"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=09d08bb5b7047e2688ea3faad6408aa8"
SRCNAME = "argparse"
-PR = "r3"
-RDEPENDS_${PN} += "python-textutils"
+PR = "r4"
+RDEPENDS_${PN} += "python-codecs python-textutils"
SRC_URI = "http://argparse.googlecode.com/files/${SRCNAME}-${PV}.tar.gz"
SRC_URI[md5sum] = "2fbef8cb61e506c706957ab6e135840c"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic