mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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:
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
|
@ -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
18
devel/py-wcwidth/Makefile
Normal 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>
|
2
devel/py-wcwidth/distinfo
Normal file
2
devel/py-wcwidth/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (wcwidth-0.1.1.tar.gz) = 019b71c91209e44c50a2cc97f50a60ed9bc35ca37b6f3f8fe3a6fdaafe58fc55
|
||||
SIZE (wcwidth-0.1.1.tar.gz) = 16349
|
9
devel/py-wcwidth/pkg-descr
Normal file
9
devel/py-wcwidth/pkg-descr
Normal 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
|
Loading…
Add table
Reference in a new issue