BSD Ports

devel/py-wcwidth 0.8.4 FreeBSD

Measure the displayed width of unicode strings in a terminal

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
0c6af3dd42
License
MIT
Categories
devel, python
Package size
336.6 KiB, 6171.6 KiB installed

Description

This API is mainly for Terminal Emulator implementors -- any python program that attempts to determine the printable width of a string on a Terminal.

It is certainly possible to use your Operating System's wcwidth() and wcswidth() calls if it is POSIX-conforming, but this would not be possible on non-POSIX platforms, such as Windows, or for alternative Python implementations, such as jython.

In the other systems

SystemPortVersion
FreeBSDdevel/py-wcwidth0.8.4
OpenBSDdevel/py-wcwidth0.9.2
NetBSDdevel/py-wcwidth0.8.3
DragonFlydevel/py-wcwidth0.2.8_1
MidnightBSDdevel/py-wcwidth0.8.2
HardenedBSDdevel/py-wcwidth0.8.4
GhostBSDdevel/py-wcwidth0.8.4

Install

Binary package:

pkg install py312-wcwidth

From the ports tree:

cd /usr/ports/devel/py-wcwidth/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-wcwidth>0:devel/py-wcwidth

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.8.40.8.40.1.80.2.8_10.8.4
FreeBSD:14:quarterly0.8.40.8.4n/a0.2.8_10.8.4
FreeBSD:15:latest0.8.40.8.4n/a0.2.8_10.2.8_1
FreeBSD:15:quarterly0.8.40.8.4n/an/an/a
FreeBSD:16:latest0.8.40.8.4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 19
Run dependencies 7
Required by 277

The first 100 are listed.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
wcwidth-0.8.4.tar.gz4146092dae09efa25253ae2874188e86d6861af3b1652aef4118cdf3f0bda288a957fb
Master sites 1
  • PYPI

Commit history 3

DateCommitCreditsLog message
0c6af3dd42 Po-Chuan Hsieh devel/py-wcwidth: Update to 0.8.4
Changes: https://github.com/jquast/wcwidth/releases
fc0a925df1 Po-Chuan Hsieh devel/py-wcwidth: Update to 0.8.3
Changes: https://github.com/jquast/wcwidth/releases
07d0060586 Po-Chuan Hsieh devel/py-wcwidth: Update to 0.8.2
Changes: https://github.com/jquast/wcwidth/releases