Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2017 18:06:28 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r445675 - in head/devel: . py-backports.csv
Message-ID:  <201707131806.v6DI6SfN099372@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	backports.csv
+PORTVERSION=	1.0.5
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707131806.v6DI6SfN099372>