[OE-core] [PATCH 0/2] python: use stdlib argparse

Maciej Borzecki maciej.borzecki at open-rnd.pl
Thu Dec 18 14:51:20 UTC 2014


Since Python 2.7 release, argparse is distributed in Python Standard
Library. Since Python < 2.7 is not available in Yocto, the external
argparse module is not needed anymore.

The first patch removes the external python-argparse recipe.

The second patch adds a module under the same name as before, but
built from Python stdlib. The version of new module matches that of
the Python release. Hence, there should be a clean upgrade path from
the old module.

Maciej Borzecki (2):
  python-argparse: remove external argparse module
  python-2.7-manifest.inc: add stdlib argparse module

 meta/recipes-devtools/python/python-2.7-manifest.inc  | 12 ++++++++----
 meta/recipes-devtools/python/python-argparse_1.2.1.bb | 17 -----------------
 scripts/contrib/python/generate-manifest-2.7.py       |  5 ++++-
 3 files changed, 12 insertions(+), 22 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python-argparse_1.2.1.bb

-- 
1.9.3




More information about the Openembedded-core mailing list