[oe] [meta-python2][PATCH v2] python-cmd2: downgrade to 0.8.9

Tim Orling ticotimo at gmail.com
Mon Jan 20 04:00:25 UTC 2020


* 0.8.9 was the last version with Python 2.7 support

* add missing RDEPENDS:
  - python-argparse

FIXME: missing dependency on python-enum, which is not
       currently packaged by python_2.7

Signed-off-by: Tim Orling <ticotimo at gmail.com>
---
 .../python/{python-cmd2_0.9.21.bb => python-cmd2_0.8.9.bb} | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
 rename recipes-devtools/python/{python-cmd2_0.9.21.bb => python-cmd2_0.8.9.bb} (80%)

diff --git a/recipes-devtools/python/python-cmd2_0.9.21.bb b/recipes-devtools/python/python-cmd2_0.8.9.bb
similarity index 80%
rename from recipes-devtools/python/python-cmd2_0.9.21.bb
rename to recipes-devtools/python/python-cmd2_0.8.9.bb
index 992b95ea..74cc5d6f 100644
--- a/recipes-devtools/python/python-cmd2_0.9.21.bb
+++ b/recipes-devtools/python/python-cmd2_0.8.9.bb
@@ -8,16 +8,17 @@ eliminates much of the boilerplate code which would be necessary when using cmd.
 HOMEPAGE = "http://packages.python.org/cmd2/"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=01aeabea7ae1529a8e4b674b7107d6bc"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=60bc6842001870a418935bd84570b676"
 
-SRC_URI[md5sum] = "0e1ce6a2fd8846c2a9e0de2ceb1fa461"
-SRC_URI[sha256sum] = "8880fea501bb45a42e8ddde18023d336ccf72f187c4b03e9ee9f13d719ecbd5f"
+SRC_URI[md5sum] = "878976772c305486dfbca3aff4b4e779"
+SRC_URI[sha256sum] = "145cb677ebd0e3cae546ab81c30f6c25e0b08ba0f1071df854d53707ea792633"
 
 DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
 
 inherit pypi setuptools
 
 RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-argparse \
     ${PYTHON_PN}-doctest \
     ${PYTHON_PN}-pyparsing \
     ${PYTHON_PN}-pyperclip \
-- 
2.25.0



More information about the Openembedded-devel mailing list