The NetBSD Project

CVS log for pkgsrc/devel/py-wcwidth/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-wcwidth

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Oct 27 18:19:57 2026 UTC (2 weeks, 5 days ago) by wiz
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +10 -4 lines
py-wcwidth: provide working test target

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Oct 25 17:49:53 2026 UTC (3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -2 lines
py-wcwidth: fix PLIST for setuptools 84.2

and depend on it

Bump PKGREVISION.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Oct 25 06:02:26 2026 UTC (3 weeks, 1 day ago) by adam
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
py-wcwidth: updated to 0.9.4

0.9.4 *2026-10-24*
* **Bugfix** Flag emojis were split by grapheme breaks when following control characters, like
  newline or tab
* **Improved** performance of most general functions by +64%

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Oct 22 08:21:37 2026 UTC (3 weeks, 4 days ago) by adam
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
py-wcwidth: updated to 0.9.3

0.9.3
* **Bugfix** libwcwidth no longer has undefined behavior on NULL or empty input in the UTF-8 and
  alignment functions
* **Changed** `HyperlinkParams.parse()`_ now rejects trailing text
* **Bugfix** `wrap()`_ should keep a link's own OSC 8 params across a line break

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Oct 5 04:59:51 2026 UTC (6 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
py-wcwidth: updated to 0.9.2

0.9.2 *2026-10-04*
* **Bugfix** `wrap()`_ should omit an empty line as output, like `textwrap.wrap()`_
* **Bugfix** `clip()`_ when using non-default argument, ``tabsize=0``
* **Bugfix** regional-indicator pairs (flags) when corrected for terminals that show lone regional
  indicators as narrow (xterm, wezterm, VTE, and others) in `wcstwidth()`_ and `width()`_

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Sep 24 10:39:31 2026 UTC (7 weeks, 4 days ago) by adam
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -5 lines
py-wcwidth: updated to 0.9.1

0.9.1 *2026-09-23*
* **Bugfix** a regression in 0.9.0 Python and libwcwidth_ `width()`_ mis-measured CSI sequences
  over 64 bytes
* **Performance** improvement of ~15% for 11 many Python API functions when using
  default ``ambiguous_width`` and ``term_program`` arguments.

0.9.0 *2026-09-23*
* **New** Optional CPython extension using libwcwidth_, improving performance 10-58x
* **Drop Support** for Python 3.8

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Sep 22 09:56:35 2026 UTC (7 weeks, 6 days ago) by adam
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
py-wcwidth: updated to 0.8.4

0.8.4 *2026-09-17*
* **Bugfix** `clip()`_ hangs with OSC 8 hyperlinks in some conditions
* **Bugfix** width of ITU T.416 colon-format SGR color parameters
* **Bugfix** width of OSC 66 text sizing sequences without a text field
* **Bugfix** `width()`_, `ljust()`_, `rjust()`_, `center()`_, `clip()`_ and `strip_sequences()`_
  treated ``ESC ( LF`` as text instead of a character set designation (rare)
* **Bugfix** `clip()`_ painter's algorithm and "tab expansion" should be spaces
* **Changed** `iter_graphemes()`_ clustering rule GB9c for Unicode 18.0
* **Changed** ``ambiguous_width`` arguments are now clamped to allowed range (1, 2)
* **Changed** `wrap()`_ now raises ``ValueError`` for a width of zero or less, matching stdlib
  ``textwrap``.  Previously ``wrap('女', 0)`` returned ``['女']``
* **Changed** `clip()`_ arguments ``start=0`` and ``end=-1`` become optional
* **Updated** tables for Unicode version 18.0
* **Updated** ``ucs-detect`` data files used in some automatic tests are no longer
  distributed,

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Aug 30 15:42:59 2026 UTC (2 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -4 lines
py-wcwidth: update to 0.8.3.

0.8.3 2026-08-28

        Bugfix Do not hang on wrap() calls of width 1 with text containing OSC8 hyperlinks and wide characters, PR #231.
        Bugfix clip() with propagate_sgr=True, should match behavior of propagate_sgr(), PR #235.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Jun 30 05:40:39 2026 UTC (4 months, 2 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
py-wcwidth: updated to 0.8.2

0.8.2
bugfix: IndexError when 'n' exceeds length

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Jun 10 04:03:37 2026 UTC (5 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
py-wcwidth: updated to 0.8.1

0.8.1
Improved corrections tables

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Jun 7 06:29:02 2026 UTC (5 months, 1 week ago) by adam
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines
py-wcwidth: updated to 0.8.0

0.8.0
New support for Variation Selector 15 Emojis as narrow,
New argument, term_program for wcstwidth(), width(), clip(), wrap(), ljust(), rjust(), and center().  False disables corrections; True auto-detects by TERM_PROGRAM or TERM; string values accept canonical names matching list_term_programs().  wcstwidth()_ defaults to True; all other functions default to False.
Improved performance on Python 3.15 using standard library iter_graphemes()
Improved memory usage and import time for Python 3.15 using lazy imports
Bugfix Invisible_Stacker viramas now form conjuncts (Burmese, Khmer, etc.) and change some Virama width calculations to match jacobsandlund/uucode_ (ghostty)
Updated graphemes width maximum now 2, matching Ghostty, foot, and Windows Terminal

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun May 3 14:58:57 2026 UTC (6 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4 lines
py-wcwidth: update to 0.7.0.

    New support for kitty text sizing protocol (OSC 66) in width() and clip().
    New clip() parameter control_codes='parse', 'ignore', and 'strict'. clip()
    is now able to clip OSC 8 hyperlinks and OSC 66 text sizing sequences.
    Improved clip() and width() to support horizontal cursor sequences (cub, cuf,
    hpa). Cursor-left (cub) or backspace (\b) now overwrites text. column_address
    (hpa) and carriage return (\r) are now parsed, and more values conditionally raise
    ValueError when control_codes='strict'.

PR's

    Remove docs, add utils by @jquast in #209
    Bump requests from 2.32.5 to 2.33.0 in /docs by @dependabot[bot] in #210
    Bump pygments from 2.19.2 to 2.20.0 in /docs by @dependabot[bot] in #212
    dependabot nonsense by @jquast in #215
    Expand terminal escape sequence for three more ECMA-48 "families" by @jquast in #214
    Improve clip() and width() with hyperlinks and overtyping by @jquast in #216
    Improve width() and clip() with kitty Text Sizing Protocol by @jquast in #213

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Feb 8 22:20:58 2026 UTC (9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4 lines
py-wcwidth: update to 0.6.0.

Complete textwrap.wrap() with 6 missing params! by @jquast in #207

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Feb 1 18:26:01 2026 UTC (9 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4 lines
py-wcwidth: update to 0.5.3.

0.5.3

    Add Virama conjunct for the Brahmic scripts by @jquast in #204

0.5.2

    Do not distribute any data files by @jquast in #199
    Update specs and zero-width tables regarding Mc by @jquast in #200
    Standalone emoji support by @jquast in #202

0.5.1

    Updated generated zero and wide code tables to length of 1 to complete the previously announced removal of historical wide and zero tables. #196

0.5.0

    Drop Support of many historical versions of wide and zero unicode tables. Only the latest Unicode version (17.0.0) is now shipped. The related unicode_version='auto' keyword of the wcwidth()-family of functions are ignored. list_versions() always returns a tuple of only a single element of the only unicode version supported. #195
    Performance improvement of most common call without version or ambiguous_width specified by 20%. #195
    New Function propagate_sgr() for applying SGR state propagation to a list of lines. #194
    Improved wrap() and clip() with propagate_sgr=True. #194
    Bugfix clip() zero-width characters at clipping boundaries. #194
    Bugfix OSC Hyperlinks when broken mid-text by wrap(). #193

0.4.0

    Bugfix: OSC Hyperlinks should not be broken by wrap() by @jquast in #191
    New functions: iter_graphemes_reverse(), grapheme_boundary_before() by @jquast in #192

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Jan 25 23:34:38 2026 UTC (9 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +7 -3 lines
py-wcwidth: update to 0.3.5.

0.3.5

    Re-stamp package version correctly, 0.3.4 packaged a failing test

0.3.4

    bugfix our center() padding algorithm by @jquast in #188
    docfix: accidental double-escapes \t -> \t by @jquast in #187

0.3.3

    Add fast path for ASCII printables to width() by @hugovk in #185
    Add py.typed file and Typing :: Typed classifier by @hugovk in #184

0.3.2

    type hinting for full mympy --strict compliance, by @penguinolog #183

0.3.1

    Add benchmarking using codspeed.io by @jquast in #180
    improve width() performance by @jquast in #181

0.3.0

Major changes since 0.2.14, in order

    Migrate from setup.py + setuptools to pyproject.toml + hatchling by @hugovk in #156
    Small improvements to update-tables.py and wcwidth-browser.py by @jquast in #160
    New: iter_graphemes() by @jquast in #165
    New: width() terminal-aware string measurement by @jquast in #166
    New: ljust(), rjust(), center() justify text by @jquast in #168
    New: wrap() by @jquast in #169
    improve wcswidth() performance ~30% by @jquast in #171
    New ambigous_width=1 argument by @jquast in #172
    New strip_sequences() and cut() functions by @jquast in #173
    Width 0 for Default_Ignorable_Code_Point characters by @jquast in #174
    Bugfix for Prepended_Concatenation_Mark characters by @jquast in #176

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Sep 23 11:13:47 2025 UTC (13 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -3 lines
py-wcwidth: updated to 0.2.14

0.2.14

Drop Support for Python 2.7 and 3.5.
Update tables to include Unicode Specifications 16.0.0 and 17.0.0.
Bugfix U+00AD SOFT HYPHEN should measure as 1, versions 0.2.9 through
0.2.13 measured as 0.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Apr 12 21:37:05 2025 UTC (19 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -5 lines
Fix PLIST after py-setuptools update; bump depends and revision

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Nov 11 07:28:30 2024 UTC (2 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -2 lines
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri May 10 09:59:56 2024 UTC (2 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +7 -7 lines
py-wcwidth: switch to wheel.mk

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Jan 6 09:42:55 2024 UTC (2 years, 10 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
py-wcwidth: updated to 0.2.13

0.2.13
Bugfix zero-width support for Hangul Jamo (Korean)

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Nov 22 05:55:43 2023 UTC (2 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
py-wcwidth: updated to 0.2.12

0.2.12 re-release to remove .pyi file misplaced in wheel file

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Nov 21 20:32:12 2023 UTC (2 years, 11 months ago) by adam
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
py-wcwidth: updated to 0.2.11

0.2.11

Include tests files in the source distribution

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Nov 15 17:54:03 2023 UTC (3 years ago) by adam
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4 lines
py-wcwidth: updated to 0.2.10

0.2.10 2023-11-13

Bugfix accounting of some kinds of emoji sequences using U+FE0F
Variation Selector 16.
Updated Specification.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Oct 31 20:37:48 2023 UTC (3 years ago) by adam
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
py-wcwidth: updated to 0.2.9

0.2.9

Bugfix zero-width characters used in Emoji ZWJ sequences, Balinese, Jamo, Devanagari, Tamil, Kannada and others.
Updated to include Specification of character measurements.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Sep 30 10:33:14 2023 UTC (3 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
py-wcwidth: updated to 0.2.8

0.2.8
Minor changes

Include requirements files in the source distibution

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Sep 29 09:16:31 2023 UTC (3 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
py-wcwidth: updated to 0.2.7

0.2.7

Major changes

Update Unicode version to 15.1.0

Minor changes

Add testing support for Python 3.12
Update README
Update requirements
Enable GitHub Actions CI
Prepare release 0.2.7
Update tox envs in README
Include bin, docs, and tox.ini in the source distribution

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Mar 29 09:34:10 2023 UTC (3 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -2 lines
*: use PYTHON_VERSION instead of _PYTHON_VERSION

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jan 16 21:12:00 2023 UTC (3 years, 10 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -3 lines
py-wcwidth: updated to 0.2.6

0.2.6
Fix example for str.rjust(20, '_')
Bugfix sphinx build on readthedocs.org
Add CodeQL workflow for GitHub code scanning
Switch to using importlib.metadata
Use a new jinja2 templating process to update library to latest unicode (15.0)

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jan 4 20:53:48 2022 UTC (4 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1 lines
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jul 1 14:20:46 2020 UTC (6 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
py-wcwidth: updated to 0.2.5

0.2.5:
Do not depend on pkg_resources module for list_versions() function.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jun 8 06:56:17 2020 UTC (6 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
py-wcwidth: updated to 0.2.4

0.2.4:
Bug fixes

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jun 3 17:02:03 2020 UTC (6 years, 5 months ago) by adam
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
py-wcwidth: updated to 0.2.3

0.2.3:
include tests in sdist

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jun 1 20:30:15 2020 UTC (6 years, 5 months ago) by adam
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -2 lines
py-wcwidth: updated to 0.2.2

0.2.2:
Support *ALL* Unicode Versions (0.4.1 through 13.0.0)

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Mar 30 13:06:05 2020 UTC (6 years, 7 months ago) by adam
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
py-wcwidth: updated to 0.1.9

0.1.9:
Performance improvements and Unicode version 13

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Jan 11 16:18:47 2020 UTC (6 years, 10 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
py-wcwidth: updated to 0.1.8

0.1.8:
Update tables to Unicode Specification 12.0.0
* remove static analysis
* EastAsianWidth v9 -> v12
* README and tox.ini

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Aug 21 00:50:02 2016 UTC (10 years, 2 months ago) by kamil
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Import wcwidth-0.1.7 as py-wcwidth

This Library is mainly for those implementing a Terminal Emulator, or programs
that carefully produce output to be interpreted by one

Originally packaged in pkgsrc-wip by:
 - K.I.A.Derouiche

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>