svn commit: r369641 - in head/devel: . py-wcwidth

Steven Kreuzer skreuzer at FreeBSD.org
Tue Sep 30 16:02:20 UTC 2014


Author: skreuzer
Date: Tue Sep 30 16:02:18 2014
New Revision: 369641
URL: http://svnweb.freebsd.org/changeset/ports/369641
QAT: https://qat.redports.org/buildarchive/r369641/

Log:
  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

Added:
  head/devel/py-wcwidth/
  head/devel/py-wcwidth/Makefile   (contents, props changed)
  head/devel/py-wcwidth/distinfo   (contents, props changed)
  head/devel/py-wcwidth/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Sep 30 15:44:58 2014	(r369640)
+++ head/devel/Makefile	Tue Sep 30 16:02:18 2014	(r369641)
@@ -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

Added: head/devel/py-wcwidth/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-wcwidth/Makefile	Tue Sep 30 16:02:18 2014	(r369641)
@@ -0,0 +1,18 @@
+# Created by: Steven Kreuzer <skreuzer at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	wcwidth
+PORTVERSION=	0.1.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	skreuzer at FreeBSD.org
+COMMENT=	Determine the printable width of the terminal
+
+LICENSE=	MIT
+
+USES=		python:2
+USE_PYTHON=	distutils autoplist
+
+.include <bsd.port.mk>

Added: head/devel/py-wcwidth/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-wcwidth/distinfo	Tue Sep 30 16:02:18 2014	(r369641)
@@ -0,0 +1,2 @@
+SHA256 (wcwidth-0.1.1.tar.gz) = 019b71c91209e44c50a2cc97f50a60ed9bc35ca37b6f3f8fe3a6fdaafe58fc55
+SIZE (wcwidth-0.1.1.tar.gz) = 16349

Added: head/devel/py-wcwidth/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-wcwidth/pkg-descr	Tue Sep 30 16:02:18 2014	(r369641)
@@ -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


More information about the svn-ports-head mailing list