Skip to content

Commit fe8e04c

Browse files
committed
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
1 parent 65a66a0 commit fe8e04c

File tree

3 files changed

+34
-10
lines changed

3 files changed

+34
-10
lines changed

devel/py-wcwidth/Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# $NetBSD: Makefile,v 1.21 2025/09/23 11:13:47 adam Exp $
1+
# $NetBSD: Makefile,v 1.22 2026/01/25 23:34:38 wiz Exp $
22

3-
DISTNAME= wcwidth-0.2.14
3+
DISTNAME= wcwidth-0.3.5
44
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
55
CATEGORIES= devel python
66
MASTER_SITES= ${MASTER_SITE_PYPI:=w/wcwidth/}
@@ -10,9 +10,13 @@ HOMEPAGE= https://github.com/jquast/wcwidth
1010
COMMENT= Measures number of Terminal column cells of wide-character codes
1111
LICENSE= mit
1212

13-
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
13+
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
14+
TOOL_DEPENDS+= ${PYPKGPREFIX}-test-cov>=0:../../devel/py-test-cov
1415

1516
USE_LANGUAGES= # none
1617

18+
# as of 0.3.5
19+
# 1 failed, 1383 passed, 1 skipped
20+
1721
.include "../../lang/python/wheel.mk"
1822
.include "../../mk/bsd.pkg.mk"

devel/py-wcwidth/PLIST

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,30 @@
1-
@comment $NetBSD: PLIST,v 1.6 2025/04/12 21:37:05 adam Exp $
1+
@comment $NetBSD: PLIST,v 1.7 2026/01/25 23:34:38 wiz Exp $
22
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
33
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
44
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
55
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
6-
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
7-
${PYSITELIB}/${WHEEL_INFODIR}/zip-safe
86
${PYSITELIB}/wcwidth/__init__.py
97
${PYSITELIB}/wcwidth/__init__.pyc
108
${PYSITELIB}/wcwidth/__init__.pyo
9+
${PYSITELIB}/wcwidth/bisearch.py
10+
${PYSITELIB}/wcwidth/bisearch.pyc
11+
${PYSITELIB}/wcwidth/bisearch.pyo
12+
${PYSITELIB}/wcwidth/control_codes.py
13+
${PYSITELIB}/wcwidth/control_codes.pyc
14+
${PYSITELIB}/wcwidth/control_codes.pyo
15+
${PYSITELIB}/wcwidth/escape_sequences.py
16+
${PYSITELIB}/wcwidth/escape_sequences.pyc
17+
${PYSITELIB}/wcwidth/escape_sequences.pyo
18+
${PYSITELIB}/wcwidth/grapheme.py
19+
${PYSITELIB}/wcwidth/grapheme.pyc
20+
${PYSITELIB}/wcwidth/grapheme.pyo
21+
${PYSITELIB}/wcwidth/py.typed
22+
${PYSITELIB}/wcwidth/table_ambiguous.py
23+
${PYSITELIB}/wcwidth/table_ambiguous.pyc
24+
${PYSITELIB}/wcwidth/table_ambiguous.pyo
25+
${PYSITELIB}/wcwidth/table_grapheme.py
26+
${PYSITELIB}/wcwidth/table_grapheme.pyc
27+
${PYSITELIB}/wcwidth/table_grapheme.pyo
1128
${PYSITELIB}/wcwidth/table_vs16.py
1229
${PYSITELIB}/wcwidth/table_vs16.pyc
1330
${PYSITELIB}/wcwidth/table_vs16.pyo
@@ -17,6 +34,9 @@ ${PYSITELIB}/wcwidth/table_wide.pyo
1734
${PYSITELIB}/wcwidth/table_zero.py
1835
${PYSITELIB}/wcwidth/table_zero.pyc
1936
${PYSITELIB}/wcwidth/table_zero.pyo
37+
${PYSITELIB}/wcwidth/textwrap.py
38+
${PYSITELIB}/wcwidth/textwrap.pyc
39+
${PYSITELIB}/wcwidth/textwrap.pyo
2040
${PYSITELIB}/wcwidth/unicode_versions.py
2141
${PYSITELIB}/wcwidth/unicode_versions.pyc
2242
${PYSITELIB}/wcwidth/unicode_versions.pyo

devel/py-wcwidth/distinfo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.18 2025/09/23 11:13:47 adam Exp $
1+
$NetBSD: distinfo,v 1.19 2026/01/25 23:34:38 wiz Exp $
22

3-
BLAKE2s (wcwidth-0.2.14.tar.gz) = ff8ac955a1f5fa8c822a6d3c7b6315f1fa8b940c56cf5c205e33b1b7b91be9f0
4-
SHA512 (wcwidth-0.2.14.tar.gz) = 1fcfd1b1fd0aa0cb4c075f4428a4454bb5fc0285861b8a0d9ee50863d76b5a91cb212453a02f09dbd6b023aa0c6e3968fb925e7f31f263558f0accb4e58af293
5-
Size (wcwidth-0.2.14.tar.gz) = 102293 bytes
3+
BLAKE2s (wcwidth-0.3.5.tar.gz) = c2735d49ffdce1c4c3346fffb658d6f07351166ee5688b04a52461259266a767
4+
SHA512 (wcwidth-0.3.5.tar.gz) = 90b60ff82e83248852f1b963433631de6fbeecee48f8ed51f50bbabe86cb050ec47a17ca91d18a851b55e71e313e48ad9f8a745c397e184899ca080031706808
5+
Size (wcwidth-0.3.5.tar.gz) = 234185 bytes

0 commit comments

Comments
 (0)