diff options
author | Johann Visagie <wjv@FreeBSD.org> | 2002-01-17 12:45:23 +0000 |
---|---|---|
committer | Johann Visagie <wjv@FreeBSD.org> | 2002-01-17 12:45:23 +0000 |
commit | a1f4cc4fe8ed44714d61586371827aa6a24280c6 (patch) | |
tree | 167f8e319fda89fca481e60b920c1209c3235072 | |
parent | Updated to version 1.11 (diff) |
Add py-dsv 1.3.3, a Python module to parse or write
delimeter-separated (e.g. CSV) files.
Notes
Notes:
svn path=/head/; revision=53243
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/py-dsv/Makefile | 29 | ||||
-rw-r--r-- | textproc/py-dsv/distinfo | 1 | ||||
-rw-r--r-- | textproc/py-dsv/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/py-dsv/pkg-descr | 21 | ||||
-rw-r--r-- | textproc/py-dsv/pkg-plist | 7 |
6 files changed, 60 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 1136f7c4ffd8..0f24635f1df8 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -190,6 +190,7 @@ SUBDIR += py-HyperText SUBDIR += py-asv SUBDIR += py-csv + SUBDIR += py-dsv SUBDIR += py-expat SUBDIR += py-martel SUBDIR += py-sgrep diff --git a/textproc/py-dsv/Makefile b/textproc/py-dsv/Makefile new file mode 100644 index 000000000000..694cd5814697 --- /dev/null +++ b/textproc/py-dsv/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: py-csv +# Date created: 17 January 2002 +# Whom: Johann Visagie <wjv@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= dsv +PORTVERSION= 1.3.3 +CATEGORIES= textproc python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= python-${PORTNAME} +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:U}-${PORTVERSION} + +MAINTAINER= wjv@FreeBSD.org + +BUILD_DEPENDS= ${PYDISTUTILS} + +USE_PYTHON= yes +PYTHON_SETUP= ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py + +do-build: + @ cd ${WRKSRC} && ${PYTHON_SETUP} build + +do-install: + @ cd ${WRKSRC} && ${PYTHON_SETUP} install -c -O1 --prefix=${PREFIX} + +.include <bsd.port.mk> diff --git a/textproc/py-dsv/distinfo b/textproc/py-dsv/distinfo new file mode 100644 index 000000000000..749aa903fdef --- /dev/null +++ b/textproc/py-dsv/distinfo @@ -0,0 +1 @@ +MD5 (DSV-1.3.3.tar.gz) = e485a9307f80d2896eee35d417367888 diff --git a/textproc/py-dsv/pkg-comment b/textproc/py-dsv/pkg-comment new file mode 100644 index 000000000000..548b97073e58 --- /dev/null +++ b/textproc/py-dsv/pkg-comment @@ -0,0 +1 @@ +A Python module to parse or write delimeter-separated (e.g. CSV) files diff --git a/textproc/py-dsv/pkg-descr b/textproc/py-dsv/pkg-descr new file mode 100644 index 000000000000..13c068977126 --- /dev/null +++ b/textproc/py-dsv/pkg-descr @@ -0,0 +1,21 @@ +From the release announcement: + + Python-DSV is a CSV file importer/exporter (DSV stands for + "delimiter-separated-values"). + + Features: + - Heuristics for automatically determining the format of the file. + - Discovers delimiter (comma, tab, colon, whatever). + - Discovers text-qualifier (single or double quote). + - Determines whether first row is header or data. + - Can use almost any character as delimiter. + - Correctly parses embedded quotes, newlines and delimiters. + - Optional wxPython dialog (ala MS Excel) for previewing data. + - Error-handling callbacks for malformed rows. + - 100% Python. + - Reasonably fast. + +Author: Cliff Wells <CliffordDWells@yahoo.com> +WWW: http://www.sf.net/projects/python-dsv/ + +-- Johann Visagie <wjv@FreeBSD.org> diff --git a/textproc/py-dsv/pkg-plist b/textproc/py-dsv/pkg-plist new file mode 100644 index 000000000000..f9a0b02acaa5 --- /dev/null +++ b/textproc/py-dsv/pkg-plist @@ -0,0 +1,7 @@ +lib/%%PYTHON_VERSION%%/site-packages/DSV/DSV.py +lib/%%PYTHON_VERSION%%/site-packages/DSV/DSV.pyc +lib/%%PYTHON_VERSION%%/site-packages/DSV/DSV.pyo +lib/%%PYTHON_VERSION%%/site-packages/DSV/__init__.py +lib/%%PYTHON_VERSION%%/site-packages/DSV/__init__.pyc +lib/%%PYTHON_VERSION%%/site-packages/DSV/__init__.pyo +@dirrm lib/%%PYTHON_VERSION%%/site-packages/DSV |