From 83da8507ef39364284a79f100169ae5bbf77eea5 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 10 Aug 2020 17:43:17 +0300 Subject: python3-prompt-toolkit: Upgrade 3.0.5 -> 3.0.6 Upgrade to release 3.0.6: New features: - The SSH/Telnet adaptors have been refactored and improved in several ways. * Handle terminal types for both telnet and SSH sessions. * Added pipe input abstraction. (base class for `PosixPipeInput` and `Win32PipeInput`). * The color depth logic has been refactored and moved to the `Output` implementations. Added `get_default_color_depth` method to `Output` objects. * All line feets are now preceded by a carriage return in the telnet connection stdout. - Introduce `REPLACE_SINGLE` input mode for Vi key bindings. - Improvements to the checkbox implementation: * Hide the scrollbar for a single checkbox. * Added a "checked" setter to the checkbox. - Expose `KeyPressEvent` in key_binding/__init__.py (often used in type annotations). - The renderer has been optimized so that no trailing spaces are generated (this improves copying in some terminals). Fixes: - Ignore F21..F24 key bindings by default. - Fix auto_suggest key bindings when suggestion text is empty. - Bugfix in SIGWINCH handling. - Handle bug in HSplit/VSplit when the number of children is zero. - Bugfix in CPR handling in renderer. Proper cancellation of pending tasks. - Ensure rprompt aligns with input. - Use `sys.stdin.encoding` for decoding stdin stream. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-prompt-toolkit_3.0.6.bb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.6.bb (limited to 'meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.6.bb') diff --git a/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.6.bb b/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.6.bb new file mode 100644 index 0000000000..806e67c091 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.6.bb @@ -0,0 +1,24 @@ +SUMMARY = "Library for building powerful interactive command lines in Python" +HOMEPAGE = "https://python-prompt-toolkit.readthedocs.io/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f" + +SRC_URI[md5sum] = "e50cb328715b338480d8d29dda54ff5d" +SRC_URI[sha256sum] = "7630ab85a23302839a0f26b31cc24f518e6155dea1ed395ea61b42c45941b6a6" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "prompt_toolkit" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-terminal \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-wcwidth \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-image \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf