svn commit: r547079 - in head/devel: . py-csv23
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Aug 30 20:19:12 UTC 2020
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 <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= csv23
+PORTVERSION= 0.3.2
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at 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 <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3000
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
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
More information about the svn-ports-head
mailing list