svn commit: r445675 - in head/devel: . py-backports.csv
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Jul 13 18:06:29 UTC 2017
Author: sunpoet
Date: Thu Jul 13 18:06:28 2017
New Revision: 445675
URL: https://svnweb.freebsd.org/changeset/ports/445675
Log:
Add py-backports.csv 1.0.5
The API of the csv module in Python 2 is drastically different from the csv
module in Python 3. This is due, for the most part, to the difference between
str in Python 2 and Python 3.
The semantics of Python 3's version are more useful because they support unicode
natively, while Python 2's csv does not.
WWW: https://pypi.python.org/pypi/backports.csv
WWW: https://github.com/ryanhiebert/backports.csv
Added:
head/devel/py-backports.csv/
head/devel/py-backports.csv/Makefile (contents, props changed)
head/devel/py-backports.csv/distinfo (contents, props changed)
head/devel/py-backports.csv/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Thu Jul 13 17:53:03 2017 (r445674)
+++ head/devel/Makefile Thu Jul 13 18:06:28 2017 (r445675)
@@ -4164,6 +4164,7 @@
SUBDIR += py-avro
SUBDIR += py-babel
SUBDIR += py-babelfish
+ SUBDIR += py-backports.csv
SUBDIR += py-backports.functools_lru_cache
SUBDIR += py-backports.shutil_get_terminal_size
SUBDIR += py-backports.weakref
Added: head/devel/py-backports.csv/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-backports.csv/Makefile Thu Jul 13 18:06:28 2017 (r445675)
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= backports.csv
+PORTVERSION= 1.0.5
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Backport of Python 3 csv module
+
+LICENSE= PSFL
+LICENSE_FILE= ${WRKSRC}/LICENSE.rst
+
+NO_ARCH= yes
+USE_PYTHON= autoplist distutils
+USES= python:2.7
+
+.include <bsd.port.mk>
Added: head/devel/py-backports.csv/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-backports.csv/distinfo Thu Jul 13 18:06:28 2017 (r445675)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1499965900
+SHA256 (backports.csv-1.0.5.tar.gz) = 8c421385cbc6042ba90c68c871c5afc13672acaf91e1508546d6cda6725ebfc6
+SIZE (backports.csv-1.0.5.tar.gz) = 12050
Added: head/devel/py-backports.csv/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-backports.csv/pkg-descr Thu Jul 13 18:06:28 2017 (r445675)
@@ -0,0 +1,9 @@
+The API of the csv module in Python 2 is drastically different from the csv
+module in Python 3. This is due, for the most part, to the difference between
+str in Python 2 and Python 3.
+
+The semantics of Python 3's version are more useful because they support unicode
+natively, while Python 2's csv does not.
+
+WWW: https://pypi.python.org/pypi/backports.csv
+WWW: https://github.com/ryanhiebert/backports.csv
More information about the svn-ports-all
mailing list