From 82262c7eed49129e0807e9f97f74efc53a3188e8 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 17 Aug 2020 14:28:58 +0300 Subject: python3-cmd2: Upgrade 1.3.2 -> 1.3.3 Upgrade to release 1.3.3: - CommandSet command functions (do_, complete_, help_) will no longer have the cmd2 app passed in as the first parameter after self since this is already a class member. - Renamed install_command_set() and uninstall_command_set() to register_command_set() and unregister_command_set() for better name consistency. - Fixed help formatting bug in Cmd2ArgumentParser when metavar is a tuple. - Fixed tab completion bug when using CompletionItem on an argument whose metavar is a tuple. - Added explicit testing against python 3.5.2 for Ubuntu 16.04, and 3.5.3 for Debian 9. - Added fallback definition of typing.Deque (taken from 3.5.4) - Removed explicit type hints that fail due to a bug in 3.5.2 favoring comment-based hints instead. - When passing a ns_provider to an argparse command, will now attempt to resolve the correct CommandSet instance for self. If not, it'll fall back and pass in the cmd2 app. - Added missing doc-string for new cmd2.Cmd init parameters introduced by CommandSet enhancement. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-cmd2_1.3.2.bb | 20 -------------------- .../recipes-devtools/python/python3-cmd2_1.3.3.bb | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-cmd2_1.3.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-cmd2_1.3.3.bb diff --git a/meta-python/recipes-devtools/python/python3-cmd2_1.3.2.bb b/meta-python/recipes-devtools/python/python3-cmd2_1.3.2.bb deleted file mode 100644 index f5d6099dda..0000000000 --- a/meta-python/recipes-devtools/python/python3-cmd2_1.3.2.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "Extra features for standard library's cmd module" -HOMEPAGE = "https://github.com/python-cmd2/cmd2" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=9791cd24ca7d1807388ccd55cd066def" - -DEPENDS += "${PYTHON_PN}-setuptools-scm-native" - -SRC_URI[md5sum] = "ee7199d76f75bf01d8a162db6b696662" -SRC_URI[sha256sum] = "645792972e1c0475b03fd575d8ca95c526db970d886669a399307eb52fddd7bd" - -inherit pypi setuptools3 - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-attrs \ - ${PYTHON_PN}-colorama \ - ${PYTHON_PN}-pyperclip \ - ${PYTHON_PN}-wcwidth \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-cmd2_1.3.3.bb b/meta-python/recipes-devtools/python/python3-cmd2_1.3.3.bb new file mode 100644 index 0000000000..a44f02f00f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cmd2_1.3.3.bb @@ -0,0 +1,20 @@ +SUMMARY = "Extra features for standard library's cmd module" +HOMEPAGE = "https://github.com/python-cmd2/cmd2" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9791cd24ca7d1807388ccd55cd066def" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +SRC_URI[md5sum] = "c8ffa926c50673f00fd8ff8533e9f959" +SRC_URI[sha256sum] = "38015008ff4639edfd66591063a0e9bb75a62dccb14ee3ec7bf3a6cb130de5cf" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-attrs \ + ${PYTHON_PN}-colorama \ + ${PYTHON_PN}-pyperclip \ + ${PYTHON_PN}-wcwidth \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf