pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-prompt_toolkit



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Feb  7 17:02:27 UTC 2022

Modified Files:
        pkgsrc/devel/py-prompt_toolkit: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-prompt_toolkit/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-prompt_toolkit/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-prompt_toolkit/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-prompt_toolkit/Makefile
diff -u pkgsrc/devel/py-prompt_toolkit/Makefile:1.12 pkgsrc/devel/py-prompt_toolkit/Makefile:1.13
--- pkgsrc/devel/py-prompt_toolkit/Makefile:1.12        Fri Jan 28 09:16:53 2022
+++ pkgsrc/devel/py-prompt_toolkit/Makefile     Mon Feb  7 17:02:27 2022
@@ -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/}

Index: pkgsrc/devel/py-prompt_toolkit/PLIST
diff -u pkgsrc/devel/py-prompt_toolkit/PLIST:1.3 pkgsrc/devel/py-prompt_toolkit/PLIST:1.4
--- pkgsrc/devel/py-prompt_toolkit/PLIST:1.3    Thu Jun 10 07:08:56 2021
+++ pkgsrc/devel/py-prompt_toolkit/PLIST        Mon Feb  7 17:02:27 2022
@@ -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/teln
 ${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/conem
 ${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

Index: pkgsrc/devel/py-prompt_toolkit/distinfo
diff -u pkgsrc/devel/py-prompt_toolkit/distinfo:1.13 pkgsrc/devel/py-prompt_toolkit/distinfo:1.14
--- pkgsrc/devel/py-prompt_toolkit/distinfo:1.13        Fri Jan 28 09:16:53 2022
+++ pkgsrc/devel/py-prompt_toolkit/distinfo     Mon Feb  7 17:02:27 2022
@@ -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