diff options
author | Matthew Seaman <matthew@FreeBSD.org> | 2016-07-04 16:48:15 +0000 |
---|---|---|
committer | Matthew Seaman <matthew@FreeBSD.org> | 2016-07-04 16:48:15 +0000 |
commit | 2a9370815fec7f557e64149af832a65548e885a9 (patch) | |
tree | c8fcfeaaeb822fb09c41c77f7efd70e2f753a7b8 /textproc/py-csvkit | |
parent | devel/pragmarcs: Upgrade version 20160427 => 20160627 (diff) |
csvkit is a suite of command-line tools for converting to and working
with CSV, the king of tabular file formats.
Notes
Notes:
svn path=/head/; revision=418044
Diffstat (limited to 'textproc/py-csvkit')
-rw-r--r-- | textproc/py-csvkit/Makefile | 25 | ||||
-rw-r--r-- | textproc/py-csvkit/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-csvkit/files/patch-csvkit.egg-info_requires.txt | 12 | ||||
-rw-r--r-- | textproc/py-csvkit/files/patch-setup.py | 23 | ||||
-rw-r--r-- | textproc/py-csvkit/pkg-descr | 2 |
5 files changed, 65 insertions, 0 deletions
diff --git a/textproc/py-csvkit/Makefile b/textproc/py-csvkit/Makefile new file mode 100644 index 000000000000..a15e6a84029d --- /dev/null +++ b/textproc/py-csvkit/Makefile @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= csvkit +PORTVERSION= 0.9.1 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= matthew@FreeBSD.org +COMMENT= Command line tools for working with CSV + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}agate-dbf>=0.1.0:textproc/py-agate-dbf \ + ${PYTHON_PKGNAMEPREFIX}agate-excel>=0.1.0:textproc/py-agate-excel \ + ${PYTHON_PKGNAMEPREFIX}agate>=1.2.2:textproc/py-agate \ + ${PYTHON_PKGNAMEPREFIX}dateutil>=2.2:devel/py-dateutil \ + ${PYTHON_PKGNAMEPREFIX}dbf>0.94.003:textproc/py-dbf \ + ${PYTHON_PKGNAMEPREFIX}six>=1.6.1:devel/py-six \ + ${PYTHON_PKGNAMEPREFIX}sqlalchemy09>=0.9.3:databases/py-sqlalchemy09 + +USES= python +USE_PYTHON= autoplist distutils + +.include <bsd.port.mk> diff --git a/textproc/py-csvkit/distinfo b/textproc/py-csvkit/distinfo new file mode 100644 index 000000000000..ac6291d364bf --- /dev/null +++ b/textproc/py-csvkit/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1463399029 +SHA256 (csvkit-0.9.1.tar.gz) = 92f8b8647becb5cb1dccb3af92a13a4e85702d42ba465ce8447881fb38c9f93a +SIZE (csvkit-0.9.1.tar.gz) = 34170 diff --git a/textproc/py-csvkit/files/patch-csvkit.egg-info_requires.txt b/textproc/py-csvkit/files/patch-csvkit.egg-info_requires.txt new file mode 100644 index 000000000000..59f39ab4502b --- /dev/null +++ b/textproc/py-csvkit/files/patch-csvkit.egg-info_requires.txt @@ -0,0 +1,12 @@ +--- csvkit.egg-info/requires.txt.orig 2015-03-31 02:06:59 UTC ++++ csvkit.egg-info/requires.txt +@@ -1,6 +1,6 @@ + xlrd>=0.7.1 + sqlalchemy>=0.6.6 +-openpyxl==2.2.0-b1 ++openpyxl>=2.2.0-b1 + six>=1.6.1 +-python-dateutil==2.2 +-dbf==0.94.003 ++python-dateutil>=2.2 ++dbf>=0.94.003 diff --git a/textproc/py-csvkit/files/patch-setup.py b/textproc/py-csvkit/files/patch-setup.py new file mode 100644 index 000000000000..dc0187089006 --- /dev/null +++ b/textproc/py-csvkit/files/patch-setup.py @@ -0,0 +1,23 @@ +--- setup.py.orig 2015-03-31 01:07:39 UTC ++++ setup.py +@@ -6,9 +6,9 @@ from setuptools import setup + install_requires = [ + 'xlrd>=0.7.1', + 'sqlalchemy>=0.6.6', +- 'openpyxl==2.2.0-b1', ++ 'openpyxl>=2.2.0-b1', + 'six>=1.6.1', +- 'python-dateutil==2.2' ++ 'python-dateutil>=2.2' + ] + + if sys.version_info < (2, 7): +@@ -17,7 +17,7 @@ if sys.version_info < (2, 7): + install_requires.append('simplejson>=3.6.3') + + if sys.version_info[0] == 2: +- install_requires.append('dbf==0.94.003') ++ install_requires.append('dbf>=0.94.003') + + setup( + name='csvkit', diff --git a/textproc/py-csvkit/pkg-descr b/textproc/py-csvkit/pkg-descr new file mode 100644 index 000000000000..0eadbd21190c --- /dev/null +++ b/textproc/py-csvkit/pkg-descr @@ -0,0 +1,2 @@ +csvkit is a suite of command-line tools for converting to and working +with CSV, the king of tabular file formats. |