From owner-svn-ports-head@freebsd.org Sun Aug 30 20:19:12 2020 Return-Path: Delivered-To: svn-ports-head@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 7055D3C7C72; Sun, 30 Aug 2020 20:19:12 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bfl6S2KLGz4RCn; Sun, 30 Aug 2020 20:19:12 +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 1954B1C35B; Sun, 30 Aug 2020 20:19:12 +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 07UKJBw0094306; Sun, 30 Aug 2020 20:19:11 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07UKJBXD094302; Sun, 30 Aug 2020 20:19:11 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202008302019.07UKJBXD094302@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 30 Aug 2020 20:19:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547079 - in head/devel: . py-csv23 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . py-csv23 X-SVN-Commit-Revision: 547079 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2020 20:19:12 -0000 Author: sunpoet Date: Sun Aug 30 20:19:10 2020 New Revision: 547079 URL: https://svnweb.freebsd.org/changeset/ports/547079 Log: Add py-csv23 0.3.2 csv23 provides the unicode-based API of the Python 3 csv module for Python 2 and 3. Code that should run under both versions of Python can use it to hide the bytes vs. text difference between 2 and 3 and stick to the newer unicode-based interface. It uses utf-8 as default encoding everywhere. WWW: https://github.com/xflr6/csv23 Added: head/devel/py-csv23/ head/devel/py-csv23/Makefile (contents, props changed) head/devel/py-csv23/distinfo (contents, props changed) head/devel/py-csv23/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Aug 30 20:02:43 2020 (r547078) +++ head/devel/Makefile Sun Aug 30 20:19:10 2020 (r547079) @@ -4290,6 +4290,7 @@ SUBDIR += py-crashtest SUBDIR += py-crc32c SUBDIR += py-crcmod + SUBDIR += py-csv23 SUBDIR += py-ctags SUBDIR += py-curio SUBDIR += py-cursive Added: head/devel/py-csv23/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-csv23/Makefile Sun Aug 30 20:19:10 2020 (r547079) @@ -0,0 +1,27 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= csv23 +PORTVERSION= 0.3.2 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python 2/3 unicode CSV compatibility layer + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= python zip +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 3000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} +.endif + +.include Added: head/devel/py-csv23/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-csv23/distinfo Sun Aug 30 20:19:10 2020 (r547079) @@ -0,0 +1,3 @@ +TIMESTAMP = 1598777612 +SHA256 (csv23-0.3.2.zip) = a33cc86b7c871fde3708c272ae1f6d496b0441d5dd0327ada1424e12af8a8bbe +SIZE (csv23-0.3.2.zip) = 42760 Added: head/devel/py-csv23/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-csv23/pkg-descr Sun Aug 30 20:19:10 2020 (r547079) @@ -0,0 +1,8 @@ +csv23 provides the unicode-based API of the Python 3 csv module for Python 2 and +3. Code that should run under both versions of Python can use it to hide the +bytes vs. text difference between 2 and 3 and stick to the newer unicode-based +interface. + +It uses utf-8 as default encoding everywhere. + +WWW: https://github.com/xflr6/csv23