pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc Tablib is a format-agnostic tabular dataset l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5529cb30eb04
branches:  trunk
changeset: 367687:5529cb30eb04
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Sep 04 19:46:26 2017 +0000

description:
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)

diffstat:

 textproc/Makefile           |    3 +-
 textproc/py-tablib/DESCR    |   12 +++++
 textproc/py-tablib/Makefile |   28 +++++++++++
 textproc/py-tablib/PLIST    |  103 ++++++++++++++++++++++++++++++++++++++++++++
 textproc/py-tablib/distinfo |    6 ++
 5 files changed, 151 insertions(+), 1 deletions(-)

diffs (182 lines):

diff -r 2037e389114d -r 5529cb30eb04 textproc/Makefile
--- a/textproc/Makefile Mon Sep 04 19:35:19 2017 +0000
+++ b/textproc/Makefile Mon Sep 04 19:46:26 2017 +0000
@@ -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-theme-cloud
 SUBDIR+=       py-sphinxcontrib-newsfeed
 SUBDIR+=       py-sphinxcontrib-websupport
+SUBDIR+=       py-tablib
 SUBDIR+=       py-tabulate
 SUBDIR+=       py-textile
 SUBDIR+=       py-tinycss
diff -r 2037e389114d -r 5529cb30eb04 textproc/py-tablib/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-tablib/DESCR  Mon Sep 04 19:46:26 2017 +0000
@@ -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 -r 2037e389114d -r 5529cb30eb04 textproc/py-tablib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-tablib/Makefile       Mon Sep 04 19:46:26 2017 +0000
@@ -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@localhost
+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 -r 2037e389114d -r 5529cb30eb04 textproc/py-tablib/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-tablib/PLIST  Mon Sep 04 19:46:26 2017 +0000
@@ -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 -r 2037e389114d -r 5529cb30eb04 textproc/py-tablib/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-tablib/distinfo       Mon Sep 04 19:46:26 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index