2011-10-07 17:01:48 +00:00
|
|
|
DESCRIPTION = "Python command-line parsing library"
|
|
|
|
SECTION = "devel/python"
|
|
|
|
LICENSE = "PSF"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=09d08bb5b7047e2688ea3faad6408aa8"
|
2012-02-26 21:53:02 +00:00
|
|
|
SRCNAME = "argparse"
|
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 rev: 8d0e84bdfaf63ad61be7b015dd55dacccfa9132c)
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-28 09:57:11 +00:00
|
|
|
PR = "r4"
|
|
|
|
RDEPENDS_${PN} += "python-codecs python-textutils"
|
2011-10-07 17:01:48 +00:00
|
|
|
|
|
|
|
SRC_URI = "http://argparse.googlecode.com/files/${SRCNAME}-${PV}.tar.gz"
|
|
|
|
SRC_URI[md5sum] = "2fbef8cb61e506c706957ab6e135840c"
|
|
|
|
SRC_URI[sha256sum] = "ddaf4b0a618335a32b6664d4ae038a1de8fbada3b25033f9021510ed2b3941a4"
|
|
|
|
|
|
|
|
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
|
|
|
|
|
|
|
inherit setuptools
|
|
|
|
|
2017-02-10 16:03:23 +00:00
|
|
|
BBCLASSEXTEND = "native"
|