svn commit: r562718 - in head/devel: . py-cwcwidth
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Jan 26 17:19:23 UTC 2021
Author: sunpoet
Date: Tue Jan 26 17:19:22 2021
New Revision: 562718
URL: https://svnweb.freebsd.org/changeset/ports/562718
Log:
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
Added:
head/devel/py-cwcwidth/
head/devel/py-cwcwidth/Makefile (contents, props changed)
head/devel/py-cwcwidth/distinfo (contents, props changed)
head/devel/py-cwcwidth/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Tue Jan 26 17:15:38 2021 (r562717)
+++ head/devel/Makefile Tue Jan 26 17:19:22 2021 (r562718)
@@ -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
Added: head/devel/py-cwcwidth/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-cwcwidth/Makefile Tue Jan 26 17:19:22 2021 (r562718)
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= cwcwidth
+PORTVERSION= 0.1.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at 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>
Added: head/devel/py-cwcwidth/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-cwcwidth/distinfo Tue Jan 26 17:19:22 2021 (r562718)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1611665287
+SHA256 (cwcwidth-0.1.1.tar.gz) = 042cdf80d80a836935f700d8e1c34270f82a627fc07f7b5ec1e8cec486e1d755
+SIZE (cwcwidth-0.1.1.tar.gz) = 35722
Added: head/devel/py-cwcwidth/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-cwcwidth/pkg-descr Tue Jan 26 17:19:22 2021 (r562718)
@@ -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
More information about the svn-ports-all
mailing list