diff options
author | adam <adam@pkgsrc.org> | 2017-09-04 19:46:26 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-09-04 19:46:26 +0000 |
commit | c71a84807de7eee811dcaa4f42ca9e9cfedaa185 (patch) | |
tree | e4ce1c39fb1b13278726633d34f0f10e09409f6d | |
parent | 8f9f0ea03f27bbf4e065015d468a5127e35e647a (diff) | |
download | pkgsrc-c71a84807de7eee811dcaa4f42ca9e9cfedaa185.tar.gz |
Tablib is a format-agnostic tabular dataset library, written in Python.
Output formats supported:
* Excel (Sets + Books)
* JSON (Sets + Books)
* YAML (Sets + Books)
* Pandas DataFrames (Sets)
* HTML (Sets)
* TSV (Sets)
* OSD (Sets)
* CSV (Sets)
* DBF (Sets)
-rw-r--r-- | textproc/Makefile | 3 | ||||
-rw-r--r-- | textproc/py-tablib/DESCR | 12 | ||||
-rw-r--r-- | textproc/py-tablib/Makefile | 28 | ||||
-rw-r--r-- | textproc/py-tablib/PLIST | 103 | ||||
-rw-r--r-- | textproc/py-tablib/distinfo | 6 |
5 files changed, 151 insertions, 1 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 68c85229af8..abb69b034ea 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.951 2017/09/03 18:12:48 wiz Exp $ +# $NetBSD: Makefile,v 1.952 2017/09/04 19:46:26 adam Exp $ # COMMENT= Text processing utilities (does not include desktop publishing) @@ -795,6 +795,7 @@ SUBDIR+= py-sphinx-rtd-theme SUBDIR+= py-sphinx-theme-cloud SUBDIR+= py-sphinxcontrib-newsfeed SUBDIR+= py-sphinxcontrib-websupport +SUBDIR+= py-tablib SUBDIR+= py-tabulate SUBDIR+= py-textile SUBDIR+= py-tinycss diff --git a/textproc/py-tablib/DESCR b/textproc/py-tablib/DESCR new file mode 100644 index 00000000000..24ccee77623 --- /dev/null +++ b/textproc/py-tablib/DESCR @@ -0,0 +1,12 @@ +Tablib is a format-agnostic tabular dataset library, written in Python. + +Output formats supported: +* Excel (Sets + Books) +* JSON (Sets + Books) +* YAML (Sets + Books) +* Pandas DataFrames (Sets) +* HTML (Sets) +* TSV (Sets) +* OSD (Sets) +* CSV (Sets) +* DBF (Sets) diff --git a/textproc/py-tablib/Makefile b/textproc/py-tablib/Makefile new file mode 100644 index 00000000000..a2cca0482ef --- /dev/null +++ b/textproc/py-tablib/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2017/09/04 19:46:26 adam Exp $ + +DISTNAME= tablib-0.12.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= textproc python +MASTER_SITES= ${MASTER_SITE_PYPI:=t/tablib/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://python-tablib.org/ +COMMENT= Format agnostic tabular data library (XLS, JSON, YAML, CSV) +LICENSE= mit + +DEPENDS+= ${PYPKGPREFIX}-odfpy-[0-9]*:../../textproc/py-odfpy +DEPENDS+= ${PYPKGPREFIX}-openpyxl-[0-9]*:../../textproc/py-openpyxl +DEPENDS+= ${PYPKGPREFIX}-pandas-[0-9]*:../../math/py-pandas +DEPENDS+= ${PYPKGPREFIX}-unicodecsv-[0-9]*:../../databases/py-unicodecsv +DEPENDS+= ${PYPKGPREFIX}-xlrd-[0-9]*:../../textproc/py-xlrd +DEPENDS+= ${PYPKGPREFIX}-xlwt-[0-9]*:../../textproc/py-xlwt +DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test + +USE_LANGUAGES= # none + +do-test: + cd ${WRKSRC} && py.test-${PYVERSSUFFIX} test_tablib.py + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-tablib/PLIST b/textproc/py-tablib/PLIST new file mode 100644 index 00000000000..e77265ddd43 --- /dev/null +++ b/textproc/py-tablib/PLIST @@ -0,0 +1,103 @@ +@comment $NetBSD: PLIST,v 1.1 2017/09/04 19:46:26 adam Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/tablib/__init__.py +${PYSITELIB}/tablib/__init__.pyc +${PYSITELIB}/tablib/__init__.pyo +${PYSITELIB}/tablib/compat.py +${PYSITELIB}/tablib/compat.pyc +${PYSITELIB}/tablib/compat.pyo +${PYSITELIB}/tablib/core.py +${PYSITELIB}/tablib/core.pyc +${PYSITELIB}/tablib/core.pyo +${PYSITELIB}/tablib/formats/__init__.py +${PYSITELIB}/tablib/formats/__init__.pyc +${PYSITELIB}/tablib/formats/__init__.pyo +${PYSITELIB}/tablib/formats/_csv.py +${PYSITELIB}/tablib/formats/_csv.pyc +${PYSITELIB}/tablib/formats/_csv.pyo +${PYSITELIB}/tablib/formats/_dbf.py +${PYSITELIB}/tablib/formats/_dbf.pyc +${PYSITELIB}/tablib/formats/_dbf.pyo +${PYSITELIB}/tablib/formats/_df.py +${PYSITELIB}/tablib/formats/_df.pyc +${PYSITELIB}/tablib/formats/_df.pyo +${PYSITELIB}/tablib/formats/_html.py +${PYSITELIB}/tablib/formats/_html.pyc +${PYSITELIB}/tablib/formats/_html.pyo +${PYSITELIB}/tablib/formats/_json.py +${PYSITELIB}/tablib/formats/_json.pyc +${PYSITELIB}/tablib/formats/_json.pyo +${PYSITELIB}/tablib/formats/_latex.py +${PYSITELIB}/tablib/formats/_latex.pyc +${PYSITELIB}/tablib/formats/_latex.pyo +${PYSITELIB}/tablib/formats/_ods.py +${PYSITELIB}/tablib/formats/_ods.pyc +${PYSITELIB}/tablib/formats/_ods.pyo +${PYSITELIB}/tablib/formats/_tsv.py +${PYSITELIB}/tablib/formats/_tsv.pyc +${PYSITELIB}/tablib/formats/_tsv.pyo +${PYSITELIB}/tablib/formats/_xls.py +${PYSITELIB}/tablib/formats/_xls.pyc +${PYSITELIB}/tablib/formats/_xls.pyo +${PYSITELIB}/tablib/formats/_xlsx.py +${PYSITELIB}/tablib/formats/_xlsx.pyc +${PYSITELIB}/tablib/formats/_xlsx.pyo +${PYSITELIB}/tablib/formats/_yaml.py +${PYSITELIB}/tablib/formats/_yaml.pyc +${PYSITELIB}/tablib/formats/_yaml.pyo +${PYSITELIB}/tablib/packages/__init__.py +${PYSITELIB}/tablib/packages/__init__.pyc +${PYSITELIB}/tablib/packages/__init__.pyo +${PYSITELIB}/tablib/packages/dbfpy/__init__.py +${PYSITELIB}/tablib/packages/dbfpy/__init__.pyc +${PYSITELIB}/tablib/packages/dbfpy/__init__.pyo +${PYSITELIB}/tablib/packages/dbfpy/dbf.py +${PYSITELIB}/tablib/packages/dbfpy/dbf.pyc +${PYSITELIB}/tablib/packages/dbfpy/dbf.pyo +${PYSITELIB}/tablib/packages/dbfpy/dbfnew.py +${PYSITELIB}/tablib/packages/dbfpy/fields.py +${PYSITELIB}/tablib/packages/dbfpy/fields.pyc +${PYSITELIB}/tablib/packages/dbfpy/fields.pyo +${PYSITELIB}/tablib/packages/dbfpy/header.py +${PYSITELIB}/tablib/packages/dbfpy/header.pyc +${PYSITELIB}/tablib/packages/dbfpy/header.pyo +${PYSITELIB}/tablib/packages/dbfpy/record.py +${PYSITELIB}/tablib/packages/dbfpy/record.pyc +${PYSITELIB}/tablib/packages/dbfpy/record.pyo +${PYSITELIB}/tablib/packages/dbfpy/utils.py +${PYSITELIB}/tablib/packages/dbfpy/utils.pyc +${PYSITELIB}/tablib/packages/dbfpy/utils.pyo +${PYSITELIB}/tablib/packages/dbfpy3/__init__.py +${PYSITELIB}/tablib/packages/dbfpy3/__init__.pyc +${PYSITELIB}/tablib/packages/dbfpy3/__init__.pyo +${PYSITELIB}/tablib/packages/dbfpy3/dbf.py +${PYSITELIB}/tablib/packages/dbfpy3/dbf.pyc +${PYSITELIB}/tablib/packages/dbfpy3/dbf.pyo +${PYSITELIB}/tablib/packages/dbfpy3/dbfnew.py +${PYSITELIB}/tablib/packages/dbfpy3/dbfnew.pyc +${PYSITELIB}/tablib/packages/dbfpy3/dbfnew.pyo +${PYSITELIB}/tablib/packages/dbfpy3/fields.py +${PYSITELIB}/tablib/packages/dbfpy3/fields.pyc +${PYSITELIB}/tablib/packages/dbfpy3/fields.pyo +${PYSITELIB}/tablib/packages/dbfpy3/header.py +${PYSITELIB}/tablib/packages/dbfpy3/header.pyc +${PYSITELIB}/tablib/packages/dbfpy3/header.pyo +${PYSITELIB}/tablib/packages/dbfpy3/record.py +${PYSITELIB}/tablib/packages/dbfpy3/record.pyc +${PYSITELIB}/tablib/packages/dbfpy3/record.pyo +${PYSITELIB}/tablib/packages/dbfpy3/utils.py +${PYSITELIB}/tablib/packages/dbfpy3/utils.pyc +${PYSITELIB}/tablib/packages/dbfpy3/utils.pyo +${PYSITELIB}/tablib/packages/markup.py +${PYSITELIB}/tablib/packages/markup.pyc +${PYSITELIB}/tablib/packages/markup.pyo +${PYSITELIB}/tablib/packages/markup3.py +${PYSITELIB}/tablib/packages/markup3.pyc +${PYSITELIB}/tablib/packages/markup3.pyo +${PYSITELIB}/tablib/packages/ordereddict.py +${PYSITELIB}/tablib/packages/ordereddict.pyc +${PYSITELIB}/tablib/packages/ordereddict.pyo diff --git a/textproc/py-tablib/distinfo b/textproc/py-tablib/distinfo new file mode 100644 index 00000000000..6ee495a4b69 --- /dev/null +++ b/textproc/py-tablib/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/09/04 19:46:26 adam Exp $ + +SHA1 (tablib-0.12.1.tar.gz) = d00fa84c5fd8d9d38c4ccc03dae6105342720b98 +RMD160 (tablib-0.12.1.tar.gz) = c81838594d30d82c6c912f57b409a56379892f82 +SHA512 (tablib-0.12.1.tar.gz) = 5207f59dab59f465584fc6c55d6322150f550c50f50a35d6901a39ed05a624a52dfdb5a9a9ddf0d6bc7285e5a3a4972c458895e4cc204a365c3df0d9ada0228a +Size (tablib-0.12.1.tar.gz) = 63420 bytes |