From 2300858be128e645dfdfa6368e81755c4898b3a1 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 19 Nov 2021 12:27:38 +0200 Subject: python3-cmd2: Upgrade 2.3.0 -> 2.3.1 Upgrade to release 2.3.1: - Fixed issue introduced in 2.3.0 with AlternatingTable, BorderedTable, and SimpleTable that caused header alignment settings to be overridden by data alignment settings. - CompletionItems now saves the original object from which it creates a string. - Using CompletionItems as argparse choices is fully supported. cmd2 patched argparse to compare input to the original value instead of the CompletionItems instance. - ArgparseCompleter now does the following if a list of CompletionItems was created with numerical types: * Sorts completion hints numerically * Right-aligns the left-most column in completion hint table Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-cmd2_2.3.1.bb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-cmd2_2.3.1.bb (limited to 'meta-python/recipes-devtools/python/python3-cmd2_2.3.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-cmd2_2.3.1.bb b/meta-python/recipes-devtools/python/python3-cmd2_2.3.1.bb new file mode 100644 index 0000000000..8167d20504 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cmd2_2.3.1.bb @@ -0,0 +1,23 @@ +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] = "44f9d93bbcd90c6dda70e73db722d6b27b551d98bef28bd82fd14ccbe88d18ea" + +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 \ + ${PYTHON_PN}-numbers \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf