mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
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 <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:
@@ -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"
|
||||
Reference in New Issue
Block a user