diff options
author | wjv <wjv@FreeBSD.org> | 2002-01-17 20:45:23 +0800 |
---|---|---|
committer | wjv <wjv@FreeBSD.org> | 2002-01-17 20:45:23 +0800 |
commit | d0384dc4ca4513b029d57b4637e1dccfa6295a0c (patch) | |
tree | c4017513a9ac23cdcb184f57dc192a56d9b2ebde /textproc/py-dsv | |
parent | 96c624a4c89d3dc21133f67b5a5e3768dabfcc69 (diff) | |
download | freebsd-ports-gnome-d0384dc4ca4513b029d57b4637e1dccfa6295a0c.tar.gz freebsd-ports-gnome-d0384dc4ca4513b029d57b4637e1dccfa6295a0c.tar.zst freebsd-ports-gnome-d0384dc4ca4513b029d57b4637e1dccfa6295a0c.zip |
Add py-dsv 1.3.3, a Python module to parse or write
delimeter-separated (e.g. CSV) files.
Diffstat (limited to 'textproc/py-dsv')
-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 |
5 files changed, 59 insertions, 0 deletions
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 |