Add py-cwcwidth 0.1.1
cwcwidth provides Python bindings for wcwidth and wcswidth functions defined in POSIX.1-2001 and POSIX.1-2008 based on Cython. These functions compute the printable length of a unicode character/string on a terminal. The module provides the same functions as wcwidth and its behavior is compatible. On systems not conforming to POSIX.1-2001 and POSIX.1-2008, Markus Kuhn's implementation is used to provide the functionality. WWW: https://github.com/sebastinas/cwcwidth
This commit is contained in:
parent
2a4185b638
commit
57a080bd89
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=562718
4 changed files with 38 additions and 1 deletions
|
@ -4300,6 +4300,7 @@
|
|||
SUBDIR += py-curio
|
||||
SUBDIR += py-cursive
|
||||
SUBDIR += py-curtsies
|
||||
SUBDIR += py-cwcwidth
|
||||
SUBDIR += py-cxx
|
||||
SUBDIR += py-cycler
|
||||
SUBDIR += py-cymem
|
||||
|
@ -6861,8 +6862,8 @@
|
|||
SUBDIR += tortoisehg
|
||||
SUBDIR += tpasm
|
||||
SUBDIR += tradcpp
|
||||
SUBDIR += transwarp
|
||||
SUBDIR += transient
|
||||
SUBDIR += transwarp
|
||||
SUBDIR += treepy.el
|
||||
SUBDIR += trellis
|
||||
SUBDIR += trio
|
||||
|
|
24
devel/py-cwcwidth/Makefile
Normal file
24
devel/py-cwcwidth/Makefile
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= cwcwidth
|
||||
PORTVERSION= 0.1.1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Python bindings for wc(s)width
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython>=0.28:lang/cython@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent cython distutils
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cwcwidth/_impl*.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/py-cwcwidth/distinfo
Normal file
3
devel/py-cwcwidth/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1611665287
|
||||
SHA256 (cwcwidth-0.1.1.tar.gz) = 042cdf80d80a836935f700d8e1c34270f82a627fc07f7b5ec1e8cec486e1d755
|
||||
SIZE (cwcwidth-0.1.1.tar.gz) = 35722
|
9
devel/py-cwcwidth/pkg-descr
Normal file
9
devel/py-cwcwidth/pkg-descr
Normal file
|
@ -0,0 +1,9 @@
|
|||
cwcwidth provides Python bindings for wcwidth and wcswidth functions defined in
|
||||
POSIX.1-2001 and POSIX.1-2008 based on Cython. These functions compute the
|
||||
printable length of a unicode character/string on a terminal. The module
|
||||
provides the same functions as wcwidth and its behavior is compatible.
|
||||
|
||||
On systems not conforming to POSIX.1-2001 and POSIX.1-2008, Markus Kuhn's
|
||||
implementation is used to provide the functionality.
|
||||
|
||||
WWW: https://github.com/sebastinas/cwcwidth
|
Loading…
Reference in a new issue