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.

WWW: https://github.com/jquast/wcwidth
This commit is contained in:
Steven Kreuzer 2014-09-30 16:02:18 +00:00
parent 7e3583af25
commit 2b9c04c282
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369641
4 changed files with 30 additions and 0 deletions

View file

@ -3978,6 +3978,7 @@
SUBDIR += py-virtualenv-clone
SUBDIR += py-virtualenvwrapper
SUBDIR += py-watchdog
SUBDIR += py-wcwidth
SUBDIR += py-wheel
SUBDIR += py-wsgi_xmlrpc
SUBDIR += py-wsgitools

18
devel/py-wcwidth/Makefile Normal file
View file

@ -0,0 +1,18 @@
# Created by: Steven Kreuzer <skreuzer@FreeBSD.org>
# $FreeBSD$
PORTNAME= wcwidth
PORTVERSION= 0.1.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= skreuzer@FreeBSD.org
COMMENT= Determine the printable width of the terminal
LICENSE= MIT
USES= python:2
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (wcwidth-0.1.1.tar.gz) = 019b71c91209e44c50a2cc97f50a60ed9bc35ca37b6f3f8fe3a6fdaafe58fc55
SIZE (wcwidth-0.1.1.tar.gz) = 16349

View file

@ -0,0 +1,9 @@
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.
WWW: https://github.com/jquast/wcwidth