pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-wcwidth
Module Name: pkgsrc
Committed By: wiz
Date: Sun Nov 22 20:03:02 UTC 2026
Modified Files:
pkgsrc/devel/py-wcwidth: Makefile PLIST distinfo
Log Message:
py-wcwidth: update to 0.9.5.
0.9.5
* **New** `iter_line_breaks()`_ in Python and ``wcwidth_linebreak_breaks_u32()`` in libwcwidth,
following `UAX #14`_ line breaking. ``wcwidth_linebreak_breaks_u32()`` takes a ``hyphens``
argument, and libwcwidth adds ``line_break`` and ``break_on_hyphens`` fields to
``wcwidth_wrap_opts_t``.
* **Changed** Python and C11 `wrap()`_ functions now break lines by `UAX #14`_ by default. Pass
``line_break='ascii'`` in Python or set ``WCWIDTH_LINE_BREAK_ASCII`` in C for previous
`textwrap.wrap()`_ behavior.
* **Bugfix** `iter_graphemes_reverse()`_ and `grapheme_boundary_before()`_ on Prepend, `PR #306`_.
* **Bugfix** `clip()`_ applying wrong SGR style after processing 'overtyping', `PR #305`_.
* **Bugfix** `wrap()`_ of whitespace-only line should not discard run-on SGR attrs, `PR #310`_.
* **Bugfix** `clip()`_ control character processing after an errant OSC 8 close, `PR #308`_.
* **Bugfix** libwcwidth `wrap()`_ no longer crashes when a memory allocation fails, `PR #317`_.
* **Bugfix** SGR colon colors applied out of order in libwcwidth, so a leading ``0`` wiped the
color that followed, and parse xterm/kitty's hybrid colon/semi-colon forms `PR #321`_.
* **Improved** Updated correction tables (iTerm2, kitty, mlterm), `PR #329`_.
* **Improved** `wrap()`_ better supports unlikely OSC 8 hyperlink metadata, `PR #325`_.
* **Improved** performance of flag emojis by ~5.6x, `PR #304`_.
* **Improved** performance of `clip()`_, `wrap()`_, and `propagate_sgr()`_ by caching SGR state
updates, `PR #315`_.
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/devel/py-wcwidth/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/py-wcwidth/PLIST
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/py-wcwidth/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-wcwidth/Makefile
diff -u pkgsrc/devel/py-wcwidth/Makefile:1.36 pkgsrc/devel/py-wcwidth/Makefile:1.37
--- pkgsrc/devel/py-wcwidth/Makefile:1.36 Tue Oct 27 18:19:57 2026
+++ pkgsrc/devel/py-wcwidth/Makefile Sun Nov 22 20:03:02 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.36 2026/10/27 18:19:57 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2026/11/22 20:03:02 wiz Exp $
-DISTNAME= wcwidth-0.9.4
+DISTNAME= wcwidth-0.9.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=w/wcwidth/}
@@ -14,9 +13,6 @@ LICENSE= mit
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=84.2:../../devel/py-setuptools
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=0:../../devel/py-test-cov
-# as of 0.9.4
-# 1800 passed, 11 skipped
-
# Follow upstream (see tox.ini) and provide the extension in-place for testing.
do-test:
cd ${WRKSRC} && \
Index: pkgsrc/devel/py-wcwidth/PLIST
diff -u pkgsrc/devel/py-wcwidth/PLIST:1.15 pkgsrc/devel/py-wcwidth/PLIST:1.16
--- pkgsrc/devel/py-wcwidth/PLIST:1.15 Sun Oct 25 17:49:53 2026
+++ pkgsrc/devel/py-wcwidth/PLIST Sun Nov 22 20:03:02 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2026/10/25 17:49:53 wiz Exp $
+@comment $NetBSD: PLIST,v 1.16 2026/11/22 20:03:02 wiz Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -42,6 +42,9 @@ ${PYSITELIB}/wcwidth/grapheme.pyo
${PYSITELIB}/wcwidth/hyperlink.py
${PYSITELIB}/wcwidth/hyperlink.pyc
${PYSITELIB}/wcwidth/hyperlink.pyo
+${PYSITELIB}/wcwidth/linebreak.py
+${PYSITELIB}/wcwidth/linebreak.pyc
+${PYSITELIB}/wcwidth/linebreak.pyo
${PYSITELIB}/wcwidth/py.typed
${PYSITELIB}/wcwidth/sgr_state.py
${PYSITELIB}/wcwidth/sgr_state.pyc
@@ -55,69 +58,78 @@ ${PYSITELIB}/wcwidth/table_grapheme.pyo
${PYSITELIB}/wcwidth/table_grapheme_overrides/__init__.py
${PYSITELIB}/wcwidth/table_grapheme_overrides/__init__.pyc
${PYSITELIB}/wcwidth/table_grapheme_overrides/__init__.pyo
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_058c7585.py
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_058c7585.pyc
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_058c7585.pyo
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_2148ff29.py
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_2148ff29.pyc
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_2148ff29.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_0460e7c9.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_0460e7c9.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_0460e7c9.pyo
${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_244dc88b.py
${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_244dc88b.pyc
${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_244dc88b.pyo
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_336a71a1.py
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_336a71a1.pyc
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_336a71a1.pyo
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_33ac73f2.py
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_33ac73f2.pyc
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_33ac73f2.pyo
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_3a1895d5.py
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_3a1895d5.pyc
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_3a1895d5.pyo
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_59180a0d.py
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_59180a0d.pyc
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_59180a0d.pyo
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_65c6beb5.py
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_65c6beb5.pyc
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_65c6beb5.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_2d39712a.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_2d39712a.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_2d39712a.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_307dff55.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_307dff55.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_307dff55.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_42203bb5.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_42203bb5.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_42203bb5.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_5a296381.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_5a296381.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_5a296381.pyo
${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_78f828e8.py
${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_78f828e8.pyc
${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_78f828e8.pyo
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_8c2ae14d.py
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_8c2ae14d.pyc
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_8c2ae14d.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_88d642c4.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_88d642c4.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_88d642c4.pyo
${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_900356bf.py
${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_900356bf.pyc
${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_900356bf.pyo
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_97904ece.py
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_97904ece.pyc
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_97904ece.pyo
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_a5880eeb.py
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_a5880eeb.pyc
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_a5880eeb.pyo
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_b6d33cf4.py
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_b6d33cf4.pyc
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_b6d33cf4.pyo
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_c57c295b.py
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_c57c295b.pyc
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_c57c295b.pyo
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_cf02297d.py
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_cf02297d.pyc
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_cf02297d.pyo
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_e18ac6a7.py
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_e18ac6a7.pyc
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_e18ac6a7.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_963e665b.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_963e665b.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_963e665b.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_9e152b0f.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_9e152b0f.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_9e152b0f.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_a6ed02ec.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_a6ed02ec.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_a6ed02ec.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_c298be52.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_c298be52.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_c298be52.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_d9127156.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_d9127156.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_d9127156.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_dc5c5d4b.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_dc5c5d4b.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_dc5c5d4b.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_df39fd07.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_df39fd07.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_df39fd07.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_dfff5112.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_dfff5112.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_dfff5112.pyo
${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_e2b75ee3.py
${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_e2b75ee3.pyc
${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_e2b75ee3.pyo
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_fb5fd79b.py
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_fb5fd79b.pyc
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_fb5fd79b.pyo
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_fdc99132.py
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_fdc99132.pyc
-${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_fdc99132.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_e49e5a83.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_e49e5a83.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_e49e5a83.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_e6aa9aa1.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_e6aa9aa1.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_e6aa9aa1.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_f2715990.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_f2715990.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_f2715990.pyo
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_f3849ab9.py
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_f3849ab9.pyc
+${PYSITELIB}/wcwidth/table_grapheme_overrides/_known_f3849ab9.pyo
${PYSITELIB}/wcwidth/table_grapheme_overrides/_registry.py
${PYSITELIB}/wcwidth/table_grapheme_overrides/_registry.pyc
${PYSITELIB}/wcwidth/table_grapheme_overrides/_registry.pyo
+${PYSITELIB}/wcwidth/table_linebreak.py
+${PYSITELIB}/wcwidth/table_linebreak.pyc
+${PYSITELIB}/wcwidth/table_linebreak.pyo
${PYSITELIB}/wcwidth/table_mc.py
${PYSITELIB}/wcwidth/table_mc.pyc
${PYSITELIB}/wcwidth/table_mc.pyo
Index: pkgsrc/devel/py-wcwidth/distinfo
diff -u pkgsrc/devel/py-wcwidth/distinfo:1.31 pkgsrc/devel/py-wcwidth/distinfo:1.32
--- pkgsrc/devel/py-wcwidth/distinfo:1.31 Sun Oct 25 06:02:26 2026
+++ pkgsrc/devel/py-wcwidth/distinfo Sun Nov 22 20:03:02 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.31 2026/10/25 06:02:26 adam Exp $
+$NetBSD: distinfo,v 1.32 2026/11/22 20:03:02 wiz Exp $
-BLAKE2s (wcwidth-0.9.4.tar.gz) = ffb2d54c008cb4db3b5a6042566d7afe225275e8f517fe79c4eef428db2bbb42
-SHA512 (wcwidth-0.9.4.tar.gz) = a3f33da4a1eb427f664c740f03e447cdf25409939c33b8aafa720a2afcdc0d0085cb3c69444bf0a9513ef63c8bba23a9e50c00c0716531264a5d0f0e78879276
-Size (wcwidth-0.9.4.tar.gz) = 970051 bytes
+BLAKE2s (wcwidth-0.9.5.tar.gz) = a70bbb191b6a2cadf6dcfe4dfb9ca1b379d1e2be58272b6bb2d53de2cfd8110b
+SHA512 (wcwidth-0.9.5.tar.gz) = df55f0bcbad00adcfed2a1ede13c8ad1e56570cbaa3e0bd7bdb0e711d68e1753d5fb02217da66d135894199186a1bac8d47141d5d346f67858aa6b60d113cc6f
+Size (wcwidth-0.9.5.tar.gz) = 1020887 bytes
Home |
Main Index |
Thread Index |
Old Index