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:
Leon Anavi 2020-08-10 17:43:17 +03:00 committed by Khem Raj
parent c53a62a4a1
commit 83da8507ef

View File

@ -3,8 +3,8 @@ HOMEPAGE = "https://python-prompt-toolkit.readthedocs.io/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
SRC_URI[md5sum] = "96ba0be8d3145eb70e3da25654987670"
SRC_URI[sha256sum] = "563d1a4140b63ff9dd587bda9557cffb2fe73650205ab6f4383092fb882e7dc8"
SRC_URI[md5sum] = "e50cb328715b338480d8d29dda54ff5d"
SRC_URI[sha256sum] = "7630ab85a23302839a0f26b31cc24f518e6155dea1ed395ea61b42c45941b6a6"
inherit pypi setuptools3