pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-urwid



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Nov 29 16:10:02 UTC 2026

Modified Files:
        pkgsrc/devel/py-urwid: Makefile distinfo

Log Message:
py-urwid: update to 5.2.1.

New features

    Add GridFlow.options("pack"): a cell as wide as its widget
    packs to, at most the width of the grid, so a row of labels or
    check boxes needs no width measured by hand. A 'pack' cell
    holding a FLOW-only widget limits the grid to FLOW by @penguinolog
    in https://github.com/urwid/urwid/pull/1739

    flush() of ListWalkerHandler and NotificationsHandler shows
    the queued records at once when called on the loop thread, so
    a callback that stops the loop or reads the widget sees the
    records logged just before it; on any other thread it does
    nothing by @penguinolog in https://github.com/urwid/urwid/pull/1731

    Add launcher_attr_map, launcher_focus_map and launcher_disabled_map
    to DropDown and ActionMenu to style the launcher alone by
    @penguinolog in https://github.com/urwid/urwid/pull/1733

Bug fixes

Displays

    Do not read the environment variables that name a terminal
    (COLORTERM, VTE_VERSION, KONSOLE_VERSION, TERM_PROGRAM,
    LC_TERMINAL, WT_SESSION, ConEmu* and similar): a terminal or
    multiplexer started inside another one inherits them, so rxvt
    or GNU screen started from VTE, VS Code or Windows Terminal
    was sent 24-bit colours and underline styles it does not draw.
    The startup guess comes from TERM, terminfo, the Windows version
    and NO_COLOR, FORCE_COLOR and CLICOLOR; the terminal’s own
    XTGETTCAP, XTVERSION and colour probe replies raise it. The
    XTVERSION replies of tmux and xterm.js mean 24-bit colours by
    @penguinolog in https://github.com/urwid/urwid/pull/1734

    End a raw screen stop on a hung-up terminal as a full stop, so
    a later start no longer writes the reset sequences of the ended
    run or keeps the kitty keyboard protocol off by @penguinolog
    in https://github.com/urwid/urwid/pull/1735

Terminal widget

    End an XTGETTCAP reply with a semicolon only where xterm does,
    after a name it does not answer, and take LS2, LS3, SS2, SS3,
    the locking shifts to GR, DECRQM for ANSI modes, the page in
    DECXCPR, DECRQPSR, DECRSPS, DECRQUPSS and DECRQDE from the
    conformance levels xterm takes them from by @penguinolog in
    https://github.com/urwid/urwid/pull/1735

Widgets

    Draw the DropDown and ActionMenu launcher with attr_map, or
    focus_map while focused; a read-only launcher is drawn with
    disabled_map alone by @penguinolog in
    https://github.com/urwid/urwid/pull/1733

    Keep the GridFlow cursor column inside the focus cell when
    moving up and down, as a Pile of Columns does, instead of
    jumping to the centre of a cell without its own get_pref_col()
    by @penguinolog in https://github.com/urwid/urwid/pull/1738

    Reuse the cached GridFlow display widget, which was rebuilt on
    every call except at the width laid out by the constructor by
    @penguinolog in https://github.com/urwid/urwid/pull/1736

    A GridFlow cell 0 columns wide adds no divider to its row and
    opens no empty row, so right-aligned and centred rows are no
    longer shifted and pack(()) is no longer too wide by @penguinolog
    in https://github.com/urwid/urwid/pull/1740

Documentation

    List only the Terminal widget as unsupported on Windows, document
    TermCanvas, TermCharset and TermModes in the reference, and
    say that output in an encoding that switches character sets
    with escape sequences, such as ISO-2022-JP, has to be converted
    before it reaches the terminal widgets by @penguinolog in
    https://github.com/urwid/urwid/pull/1732 and
    https://github.com/urwid/urwid/pull/1735


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 pkgsrc/devel/py-urwid/Makefile
cvs rdiff -u -r1.70 -r1.71 pkgsrc/devel/py-urwid/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-urwid/Makefile
diff -u pkgsrc/devel/py-urwid/Makefile:1.82 pkgsrc/devel/py-urwid/Makefile:1.83
--- pkgsrc/devel/py-urwid/Makefile:1.82 Wed Nov 25 06:47:33 2026
+++ pkgsrc/devel/py-urwid/Makefile      Sun Nov 29 16:10:02 2026
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.82 2026/11/25 06:47:33 adam Exp $
+# $NetBSD: Makefile,v 1.83 2026/11/29 16:10:02 wiz Exp $
+#
+# Changes: https://urwid.org/changelog.html
 
-DISTNAME=      urwid-5.2.0
+DISTNAME=      urwid-5.2.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/urwid/}
@@ -29,8 +31,8 @@ USE_LANGUAGES=        # none
 DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.5.0:../../devel/py-typing-extensions
 .endif
 
-# as of 5.1.3
-# 197 passed, 1 skipped, 6 warnings
+# as of 5.2.1
+# 242 passed, 1 skipped, 6 warnings
 
 .include "../../lang/python/batteries-included.mk"
 .include "../../lang/python/wheel.mk"

Index: pkgsrc/devel/py-urwid/distinfo
diff -u pkgsrc/devel/py-urwid/distinfo:1.70 pkgsrc/devel/py-urwid/distinfo:1.71
--- pkgsrc/devel/py-urwid/distinfo:1.70 Wed Nov 25 06:47:33 2026
+++ pkgsrc/devel/py-urwid/distinfo      Sun Nov 29 16:10:02 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.70 2026/11/25 06:47:33 adam Exp $
+$NetBSD: distinfo,v 1.71 2026/11/29 16:10:02 wiz Exp $
 
-BLAKE2s (urwid-5.2.0.tar.gz) = bbb678d3bd9cd6446e51bbc71bbb98342b5c1e77d2f58242145e12ead1446e3a
-SHA512 (urwid-5.2.0.tar.gz) = 19c9cca2ab3b2888dc97aa153864b37b3789a1d36eedacd603fa7c8dcd0fd1e280b8ce16c9726d1f568c190362c63b88b9339c2fcb58b7ee4bb322cc4b2418b2
-Size (urwid-5.2.0.tar.gz) = 702159 bytes
+BLAKE2s (urwid-5.2.1.tar.gz) = bfc93d60fe3d7edfccc183889b338ebfba2e1f41d0b58e9ca4f0fe73a8e9dc27
+SHA512 (urwid-5.2.1.tar.gz) = 0311f32342ab62b77111a7e1e92ae945ac4e5de2d00aea914250dcbfb4c5d5ee7d42914c8a8ded3f0d5ae22331e75e1e70c43218e4eacdfe8516dcf61d6c71f0
+Size (urwid-5.2.1.tar.gz) = 705271 bytes



Home | Main Index | Thread Index | Old Index