pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-prompt_toolkit py-prompt_toolkit: updated to ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4dcc7e7151ff
branches: trunk
changeset: 373169:4dcc7e7151ff
user: adam <adam%pkgsrc.org@localhost>
date: Mon Feb 07 17:02:27 2022 +0000
description:
py-prompt_toolkit: updated to 3.0.27
3.0.27: 2022-02-07
------------------
New features:
- Support for cursor shapes. The cursor shape for prompts/applications can now
be configured, either as a fixed cursor shape, or in case of Vi input mode,
according to the current input mode.
- Handle "cursor forward" command in ANSI formatted text. This makes it
possible to render many kinds of generated ANSI art.
- Accept `align` attribute in `Label` widget.
- Added `PlainTextOutput`: an output implementation that doesn't render any
ANSI escape sequences. This will be used by default when redirecting stdout
to a file.
- Added `create_app_session_from_tty`: a context manager that enforces
input/output to go to the current TTY, even if stdin/stdout are attached to
pipes.
- Added `to_plain_text` utility for converting formatted text into plain text.
Fixes:
- Don't automatically use `sys.stderr` for output when `sys.stdout` is not a
TTY, but `sys.stderr` is. The previous behavior was confusing, especially
when rendering formatted text to the output, and we expect it to follow
redirection.
diffstat:
devel/py-prompt_toolkit/Makefile | 4 ++--
devel/py-prompt_toolkit/PLIST | 11 ++++++++++-
devel/py-prompt_toolkit/distinfo | 8 ++++----
3 files changed, 16 insertions(+), 7 deletions(-)
diffs (57 lines):
diff -r 81d66c1d48ab -r 4dcc7e7151ff devel/py-prompt_toolkit/Makefile
--- a/devel/py-prompt_toolkit/Makefile Mon Feb 07 15:39:35 2022 +0000
+++ b/devel/py-prompt_toolkit/Makefile Mon Feb 07 17:02:27 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2022/01/28 09:16:53 adam Exp $
+# $NetBSD: Makefile,v 1.13 2022/02/07 17:02:27 adam Exp $
-DISTNAME= prompt_toolkit-3.0.26
+DISTNAME= prompt_toolkit-3.0.27
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/prompt_toolkit/}
diff -r 81d66c1d48ab -r 4dcc7e7151ff devel/py-prompt_toolkit/PLIST
--- a/devel/py-prompt_toolkit/PLIST Mon Feb 07 15:39:35 2022 +0000
+++ b/devel/py-prompt_toolkit/PLIST Mon Feb 07 17:02:27 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2021/06/10 07:08:56 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/02/07 17:02:27 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -109,6 +109,9 @@
${PYSITELIB}/prompt_toolkit/contrib/telnet/server.py
${PYSITELIB}/prompt_toolkit/contrib/telnet/server.pyc
${PYSITELIB}/prompt_toolkit/contrib/telnet/server.pyo
+${PYSITELIB}/prompt_toolkit/cursor_shapes.py
+${PYSITELIB}/prompt_toolkit/cursor_shapes.pyc
+${PYSITELIB}/prompt_toolkit/cursor_shapes.pyo
${PYSITELIB}/prompt_toolkit/data_structures.py
${PYSITELIB}/prompt_toolkit/data_structures.pyc
${PYSITELIB}/prompt_toolkit/data_structures.pyo
@@ -343,6 +346,12 @@
${PYSITELIB}/prompt_toolkit/output/defaults.py
${PYSITELIB}/prompt_toolkit/output/defaults.pyc
${PYSITELIB}/prompt_toolkit/output/defaults.pyo
+${PYSITELIB}/prompt_toolkit/output/flush_stdout.py
+${PYSITELIB}/prompt_toolkit/output/flush_stdout.pyc
+${PYSITELIB}/prompt_toolkit/output/flush_stdout.pyo
+${PYSITELIB}/prompt_toolkit/output/plain_text.py
+${PYSITELIB}/prompt_toolkit/output/plain_text.pyc
+${PYSITELIB}/prompt_toolkit/output/plain_text.pyo
${PYSITELIB}/prompt_toolkit/output/vt100.py
${PYSITELIB}/prompt_toolkit/output/vt100.pyc
${PYSITELIB}/prompt_toolkit/output/vt100.pyo
diff -r 81d66c1d48ab -r 4dcc7e7151ff devel/py-prompt_toolkit/distinfo
--- a/devel/py-prompt_toolkit/distinfo Mon Feb 07 15:39:35 2022 +0000
+++ b/devel/py-prompt_toolkit/distinfo Mon Feb 07 17:02:27 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2022/01/28 09:16:53 adam Exp $
+$NetBSD: distinfo,v 1.14 2022/02/07 17:02:27 adam Exp $
-BLAKE2s (prompt_toolkit-3.0.26.tar.gz) = 9005fb20a7c403552b8130574ed3dda33cf2bf482775cb7b11619e4366337cf5
-SHA512 (prompt_toolkit-3.0.26.tar.gz) = 7151d6678409bf3b04bee76cbcf4e0ffb5ca1963c359d30c8edf9e81bde424ea69b7009cd44e6d72088936290e2fd9dd8cac59efc8b5e59bfb87dacf53967b05
-Size (prompt_toolkit-3.0.26.tar.gz) = 402667 bytes
+BLAKE2s (prompt_toolkit-3.0.27.tar.gz) = 3fe82761e777f7c1d3c3f8d36e8c5be386be2e57b1507da717935d1fd2abe662
+SHA512 (prompt_toolkit-3.0.27.tar.gz) = 5249c245e183101d92d7a26030cb69b425d6aa719dd4d134cc2e7102f7c4e593c3d18c753108bfa855ca72cbe1c68ade28f65b1029dae55db5168296c6dfd5b2
+Size (prompt_toolkit-3.0.27.tar.gz) = 3056711 bytes
Home |
Main Index |
Thread Index |
Old Index