From 4c35a3276e1ec66c6d0ae2e2b4f034a435eb0b66 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 7 Jul 2021 16:09:13 +0300 Subject: python3-cmd2: Upgrade 2.1.1 -> 2.1.2 Upgrade to release 2.1.2: - Added the following accessor methods for cmd2-specific attributes to the argparse.Action class: * get_choices_callable() * set_choices_provider() * set_completer() * get_descriptive_header() * set_descriptive_header() * get_nargs_range() * set_nargs_range() * get_suppress_tab_hint() * set_suppress_tab_hint() - Now that set_choices_provider() and set_completer() have been added as methods to the argparse.Action class, the standalone functions of the same name will be removed in version 2.2.0. To update to the new convention, do the following: * Change set_choices_provider(action, provider) to action.set_choices_provider(provider) * Change set_completer(action, completer) to action.set_completer(completer) License-Update: Update years Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-cmd2_2.1.2.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-cmd2_2.1.2.bb (limited to 'meta-python/recipes-devtools/python/python3-cmd2_2.1.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-cmd2_2.1.2.bb b/meta-python/recipes-devtools/python/python3-cmd2_2.1.2.bb new file mode 100644 index 0000000000..38f050a044 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cmd2_2.1.2.bb @@ -0,0 +1,22 @@ +SUMMARY = "Extra features for standard library's cmd module" +HOMEPAGE = "https://github.com/python-cmd2/cmd2" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4c527bcb481233ebcb803de975f42701" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +SRC_URI[sha256sum] = "25dbb2e9847aaa686a8a21e84e3d101db8b79f5cb992e044fc54210ab8c0ad41" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-attrs \ + ${PYTHON_PN}-colorama \ + ${PYTHON_PN}-pyperclip \ + ${PYTHON_PN}-wcwidth \ + ${PYTHON_PN}-compression \ + ${PYTHON_PN}-pydoc \ + ${PYTHON_PN}-json \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf