BSD Ports

devel/py-wcwidth 0.8.2 MidnightBSD

Determine the printable width of the terminal

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
299d793a25
License
mit
Categories
devel, python

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
MidnightBSDdevel/py-wcwidth0.8.2
FreeBSDdevel/py-wcwidth0.8.4
OpenBSDdevel/py-wcwidth0.9.2
NetBSDdevel/py-wcwidth0.8.3
DragonFlydevel/py-wcwidth0.2.8_1
HardenedBSDdevel/py-wcwidth0.8.4
GhostBSDdevel/py-wcwidth0.8.4

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}wcwidth

From mports:

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

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

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wcwidth>0:devel/py-wcwidth

Dependencies

As this port's Makefile names them.

Build 1

Build dependencies 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
wcwidth-0.8.2.tar.gz1.466253e+0691fbef97204b96a3d4d421609b80340b760cf33e26da123ff243d76b1fda8dda
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
299d793a25 Lucas Holt devel/py-wcwidth: update to 0.8.2 (#894)
Updates py-wcwidth to 0.8.2 from the FreeBSD ports reference. Validation: makesum, patch, build, fake, clean package, check-license, 1,318 upstream tests (10 skipped), portlint -C, and git diff --check. ## Summary by Sourcery Update the wcwidth Python port to version 0.8.2 using its current packaging metadata and build configuration. Enhancements: - Update the wcwidth Python port to version 0.8.2 and migrate it to the modern PEP 517 build system. - Declare the package license file and add the Hatchling build dependency. Signed-off-by: Lucas Holt <[email protected]>