python3-cmd2: Upgrade 1.3.8 -> 1.3.9

Upgrade to release 1.3.9:

Breaking Changes:
- CommandSet.on_unregister() is now called as first step in
  unregistering a CommandSet and not the last.
  CommandSet.on_unregistered() is now the last step.

Enhancements:
- Added CommandSet.on_registered(). This is called by cmd2.Cmd
  after a CommandSet is registered and all its commands have been
  added to the CLI.
- Added CommandSet.on_unregistered(). This is called by cmd2.Cmd
  after a CommandSet is unregistered and all its commands have
  been removed from the CLI.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi
2020-09-04 16:47:05 +03:00
committed by Khem Raj
parent 3ca275d60c
commit 39d0a99e94

View File

@@ -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] = "f5fbd528e7b5977ad71466947af61f99"
SRC_URI[sha256sum] = "7f8035faafda15d26098bf2ffe16aaba1c78511ce13e0815d2efe58ba392b501"
inherit pypi setuptools3
RDEPENDS_${PN} += "\
${PYTHON_PN}-attrs \
${PYTHON_PN}-colorama \
${PYTHON_PN}-pyperclip \
${PYTHON_PN}-wcwidth \
"
BBCLASSEXTEND = "native nativesdk"