From owner-svn-ports-all@freebsd.org Tue Jan 26 17:19:23 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4B8DB4F6B7F; Tue, 26 Jan 2021 17:19:23 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DQD4C1fMvz4k7j; Tue, 26 Jan 2021 17:19:23 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2B4F45369; Tue, 26 Jan 2021 17:19:23 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10QHJNBg004555; Tue, 26 Jan 2021 17:19:23 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10QHJMm9004551; Tue, 26 Jan 2021 17:19:22 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202101261719.10QHJMm9004551@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 26 Jan 2021 17:19:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562718 - in head/devel: . py-cwcwidth X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . py-cwcwidth X-SVN-Commit-Revision: 562718 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2021 17:19:23 -0000 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 +# $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 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