diff --git a/devel/Makefile b/devel/Makefile index 6ec52280ce90..808d19511e3f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4593,6 +4593,7 @@ SUBDIR += py-libversion SUBDIR += py-libvirt SUBDIR += py-libzfs + SUBDIR += py-linear-tsv SUBDIR += py-linecache2 SUBDIR += py-lineedit SUBDIR += py-llfuse diff --git a/devel/py-linear-tsv/Makefile b/devel/py-linear-tsv/Makefile new file mode 100644 index 000000000000..084eb79486f6 --- /dev/null +++ b/devel/py-linear-tsv/Makefile @@ -0,0 +1,23 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= linear-tsv +PORTVERSION= 1.1.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Line-oriented, tab-separated value format + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-linear-tsv/distinfo b/devel/py-linear-tsv/distinfo new file mode 100644 index 000000000000..1ec5ce1b9a53 --- /dev/null +++ b/devel/py-linear-tsv/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1612548350 +SHA256 (linear-tsv-1.1.0.tar.gz) = b504d78f4075615ae75de86a16e5680701a441fc84da2a2cf9f94351ab1ccbf5 +SIZE (linear-tsv-1.1.0.tar.gz) = 9589 diff --git a/devel/py-linear-tsv/pkg-descr b/devel/py-linear-tsv/pkg-descr new file mode 100644 index 000000000000..2e8e44169011 --- /dev/null +++ b/devel/py-linear-tsv/pkg-descr @@ -0,0 +1,11 @@ +Linear TSV is a line-oriented, portable tabular data format. Tabular data -- +rows of tuples, each of the same length -- is commonly stored as CSV and is the +lingua franca of spreadsheets, databases and analysis tools. + +CSV is almost but not quite line-oriented, because newlines are quoted, not +escaped. In the TSV format presented here, escape codes are used for newlines +and tabs in field data, allowing naive filtering with line-oriented shell tools +like sort, fgrep and cut to work as expected. In all of its details, the format +derives from the TEXT serialization mode of Postgres and MySQL. + +WWW: https://github.com/solidsnack/tsv