Sun Mar 24 17:22:44 2024 UTC (64d)
py-tablib: updated to 3.6.0

3.6.0 (2024-03-23)

Improvements

- It's now possible to access a dataset row using its index without slicing
- The dataset `transpose()` method can be called on datasets without headers.
- The html format now supports importing from HTML content
- The ODS format now supports importing from .ods files
 still a bit experimental.
- When adding rows to a dataset with dynamic columns, it's now possible to
 provide only static values, and dynamic column values will be automatically
 calculated and added to the row

Changes

- The html export format does not depend on MarkupPy any longer, therefore the
 tablib[html] install target was removed also.

Bugfixes

- Fix crash when loading a databook from an XLS file
- `None` Python values are now converted to the empty string by the ODS formatter.
- When applying formatters, the internal data is no longer mutated
- Columns can be inserted even when a dataset has headers but no values


(adam)
diff -r1.12 -r1.13 pkgsrc/textproc/py-tablib/Makefile
diff -r1.6 -r1.7 pkgsrc/textproc/py-tablib/PLIST
diff -r1.9 -r1.10 pkgsrc/textproc/py-tablib/distinfo

cvs diff -r1.12 -r1.13 pkgsrc/textproc/py-tablib/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/py-tablib/Makefile 2023/12/07 18:15:44 1.12
+++ pkgsrc/textproc/py-tablib/Makefile 2024/03/24 17:22:44 1.13
@@ -1,30 +1,29 @@ @@ -1,30 +1,29 @@
1# $NetBSD: Makefile,v 1.12 2023/12/07 18:15:44 adam Exp $ 1# $NetBSD: Makefile,v 1.13 2024/03/24 17:22:44 adam Exp $
2 2
3DISTNAME= tablib-3.5.0 3DISTNAME= tablib-3.6.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= textproc python 5CATEGORIES= textproc python
6MASTER_SITES= ${MASTER_SITE_PYPI:=t/tablib/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=t/tablib/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://tablib.readthedocs.io/ 9HOMEPAGE= https://tablib.readthedocs.io/
10COMMENT= Format agnostic tabular data library (XLS, JSON, YAML, CSV) 10COMMENT= Format agnostic tabular data library (XLS, JSON, YAML, CSV)
11LICENSE= mit 11LICENSE= mit
12 12
13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=58:../../devel/py-setuptools 13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=58:../../devel/py-setuptools
14TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm 14TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm
15TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel 15TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
16# all without pandas 16# all without pandas
17DEPENDS+= ${PYPKGPREFIX}-markuppy-[0-9]*:../../textproc/py-markuppy 
18DEPENDS+= ${PYPKGPREFIX}-odfpy-[0-9]*:../../textproc/py-odfpy 17DEPENDS+= ${PYPKGPREFIX}-odfpy-[0-9]*:../../textproc/py-odfpy
19DEPENDS+= ${PYPKGPREFIX}-openpyxl>=2.6.0:../../textproc/py-openpyxl 18DEPENDS+= ${PYPKGPREFIX}-openpyxl>=2.6.0:../../textproc/py-openpyxl
20DEPENDS+= ${PYPKGPREFIX}-tabulate-[0-9]*:../../textproc/py-tabulate 19DEPENDS+= ${PYPKGPREFIX}-tabulate-[0-9]*:../../textproc/py-tabulate
21DEPENDS+= ${PYPKGPREFIX}-xlrd-[0-9]*:../../textproc/py-xlrd 20DEPENDS+= ${PYPKGPREFIX}-xlrd-[0-9]*:../../textproc/py-xlrd
22DEPENDS+= ${PYPKGPREFIX}-xlwt-[0-9]*:../../textproc/py-xlwt 21DEPENDS+= ${PYPKGPREFIX}-xlwt-[0-9]*:../../textproc/py-xlwt
23DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml 22DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
24TEST_DEPENDS+= ${PYPKGPREFIX}-pandas-[0-9]*:../../math/py-pandas 23TEST_DEPENDS+= ${PYPKGPREFIX}-pandas-[0-9]*:../../math/py-pandas
25TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov 24TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
26 25
27USE_LANGUAGES= # none 26USE_LANGUAGES= # none
28 27
29PYTHON_VERSIONS_INCOMPATIBLE= 27 38 28PYTHON_VERSIONS_INCOMPATIBLE= 27 38
30 29

cvs diff -r1.6 -r1.7 pkgsrc/textproc/py-tablib/PLIST (expand / switch to unified diff)

--- pkgsrc/textproc/py-tablib/PLIST 2023/10/28 19:57:20 1.6
+++ pkgsrc/textproc/py-tablib/PLIST 2024/03/24 17:22:44 1.7
@@ -1,23 +1,47 @@ @@ -1,23 +1,47 @@
1@comment $NetBSD: PLIST,v 1.6 2023/10/28 19:57:20 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.7 2024/03/24 17:22:44 adam Exp $
2${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS 2${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
3${PYSITELIB}/${WHEEL_INFODIR}/LICENSE 3${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
4${PYSITELIB}/${WHEEL_INFODIR}/METADATA 4${PYSITELIB}/${WHEEL_INFODIR}/METADATA
5${PYSITELIB}/${WHEEL_INFODIR}/RECORD 5${PYSITELIB}/${WHEEL_INFODIR}/RECORD
6${PYSITELIB}/${WHEEL_INFODIR}/WHEEL 6${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
7${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt 7${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
8${PYSITELIB}/tablib/__init__.py 8${PYSITELIB}/tablib/__init__.py
9${PYSITELIB}/tablib/__init__.pyc 9${PYSITELIB}/tablib/__init__.pyc
10${PYSITELIB}/tablib/__init__.pyo 10${PYSITELIB}/tablib/__init__.pyo
 11${PYSITELIB}/tablib/_vendor/__init__.py
 12${PYSITELIB}/tablib/_vendor/__init__.pyc
 13${PYSITELIB}/tablib/_vendor/__init__.pyo
 14${PYSITELIB}/tablib/_vendor/dbfpy/__init__.py
 15${PYSITELIB}/tablib/_vendor/dbfpy/__init__.pyc
 16${PYSITELIB}/tablib/_vendor/dbfpy/__init__.pyo
 17${PYSITELIB}/tablib/_vendor/dbfpy/dbf.py
 18${PYSITELIB}/tablib/_vendor/dbfpy/dbf.pyc
 19${PYSITELIB}/tablib/_vendor/dbfpy/dbf.pyo
 20${PYSITELIB}/tablib/_vendor/dbfpy/dbfnew.py
 21${PYSITELIB}/tablib/_vendor/dbfpy/dbfnew.pyc
 22${PYSITELIB}/tablib/_vendor/dbfpy/dbfnew.pyo
 23${PYSITELIB}/tablib/_vendor/dbfpy/fields.py
 24${PYSITELIB}/tablib/_vendor/dbfpy/fields.pyc
 25${PYSITELIB}/tablib/_vendor/dbfpy/fields.pyo
 26${PYSITELIB}/tablib/_vendor/dbfpy/header.py
 27${PYSITELIB}/tablib/_vendor/dbfpy/header.pyc
 28${PYSITELIB}/tablib/_vendor/dbfpy/header.pyo
 29${PYSITELIB}/tablib/_vendor/dbfpy/record.py
 30${PYSITELIB}/tablib/_vendor/dbfpy/record.pyc
 31${PYSITELIB}/tablib/_vendor/dbfpy/record.pyo
 32${PYSITELIB}/tablib/_vendor/dbfpy/utils.py
 33${PYSITELIB}/tablib/_vendor/dbfpy/utils.pyc
 34${PYSITELIB}/tablib/_vendor/dbfpy/utils.pyo
11${PYSITELIB}/tablib/_version.py 35${PYSITELIB}/tablib/_version.py
12${PYSITELIB}/tablib/_version.pyc 36${PYSITELIB}/tablib/_version.pyc
13${PYSITELIB}/tablib/_version.pyo 37${PYSITELIB}/tablib/_version.pyo
14${PYSITELIB}/tablib/core.py 38${PYSITELIB}/tablib/core.py
15${PYSITELIB}/tablib/core.pyc 39${PYSITELIB}/tablib/core.pyc
16${PYSITELIB}/tablib/core.pyo 40${PYSITELIB}/tablib/core.pyo
17${PYSITELIB}/tablib/exceptions.py 41${PYSITELIB}/tablib/exceptions.py
18${PYSITELIB}/tablib/exceptions.pyc 42${PYSITELIB}/tablib/exceptions.pyc
19${PYSITELIB}/tablib/exceptions.pyo 43${PYSITELIB}/tablib/exceptions.pyo
20${PYSITELIB}/tablib/formats/__init__.py 44${PYSITELIB}/tablib/formats/__init__.py
21${PYSITELIB}/tablib/formats/__init__.pyc 45${PYSITELIB}/tablib/formats/__init__.pyc
22${PYSITELIB}/tablib/formats/__init__.pyo 46${PYSITELIB}/tablib/formats/__init__.pyo
23${PYSITELIB}/tablib/formats/_cli.py 47${PYSITELIB}/tablib/formats/_cli.py
@@ -52,40 +76,16 @@ ${PYSITELIB}/tablib/formats/_rst.pyc @@ -52,40 +76,16 @@ ${PYSITELIB}/tablib/formats/_rst.pyc
52${PYSITELIB}/tablib/formats/_rst.pyo 76${PYSITELIB}/tablib/formats/_rst.pyo
53${PYSITELIB}/tablib/formats/_tsv.py 77${PYSITELIB}/tablib/formats/_tsv.py
54${PYSITELIB}/tablib/formats/_tsv.pyc 78${PYSITELIB}/tablib/formats/_tsv.pyc
55${PYSITELIB}/tablib/formats/_tsv.pyo 79${PYSITELIB}/tablib/formats/_tsv.pyo
56${PYSITELIB}/tablib/formats/_xls.py 80${PYSITELIB}/tablib/formats/_xls.py
57${PYSITELIB}/tablib/formats/_xls.pyc 81${PYSITELIB}/tablib/formats/_xls.pyc
58${PYSITELIB}/tablib/formats/_xls.pyo 82${PYSITELIB}/tablib/formats/_xls.pyo
59${PYSITELIB}/tablib/formats/_xlsx.py 83${PYSITELIB}/tablib/formats/_xlsx.py
60${PYSITELIB}/tablib/formats/_xlsx.pyc 84${PYSITELIB}/tablib/formats/_xlsx.pyc
61${PYSITELIB}/tablib/formats/_xlsx.pyo 85${PYSITELIB}/tablib/formats/_xlsx.pyo
62${PYSITELIB}/tablib/formats/_yaml.py 86${PYSITELIB}/tablib/formats/_yaml.py
63${PYSITELIB}/tablib/formats/_yaml.pyc 87${PYSITELIB}/tablib/formats/_yaml.pyc
64${PYSITELIB}/tablib/formats/_yaml.pyo 88${PYSITELIB}/tablib/formats/_yaml.pyo
65${PYSITELIB}/tablib/packages/__init__.py 
66${PYSITELIB}/tablib/packages/__init__.pyc 
67${PYSITELIB}/tablib/packages/__init__.pyo 
68${PYSITELIB}/tablib/packages/dbfpy/__init__.py 
69${PYSITELIB}/tablib/packages/dbfpy/__init__.pyc 
70${PYSITELIB}/tablib/packages/dbfpy/__init__.pyo 
71${PYSITELIB}/tablib/packages/dbfpy/dbf.py 
72${PYSITELIB}/tablib/packages/dbfpy/dbf.pyc 
73${PYSITELIB}/tablib/packages/dbfpy/dbf.pyo 
74${PYSITELIB}/tablib/packages/dbfpy/dbfnew.py 
75${PYSITELIB}/tablib/packages/dbfpy/dbfnew.pyc 
76${PYSITELIB}/tablib/packages/dbfpy/dbfnew.pyo 
77${PYSITELIB}/tablib/packages/dbfpy/fields.py 
78${PYSITELIB}/tablib/packages/dbfpy/fields.pyc 
79${PYSITELIB}/tablib/packages/dbfpy/fields.pyo 
80${PYSITELIB}/tablib/packages/dbfpy/header.py 
81${PYSITELIB}/tablib/packages/dbfpy/header.pyc 
82${PYSITELIB}/tablib/packages/dbfpy/header.pyo 
83${PYSITELIB}/tablib/packages/dbfpy/record.py 
84${PYSITELIB}/tablib/packages/dbfpy/record.pyc 
85${PYSITELIB}/tablib/packages/dbfpy/record.pyo 
86${PYSITELIB}/tablib/packages/dbfpy/utils.py 
87${PYSITELIB}/tablib/packages/dbfpy/utils.pyc 
88${PYSITELIB}/tablib/packages/dbfpy/utils.pyo 
89${PYSITELIB}/tablib/utils.py 89${PYSITELIB}/tablib/utils.py
90${PYSITELIB}/tablib/utils.pyc 90${PYSITELIB}/tablib/utils.pyc
91${PYSITELIB}/tablib/utils.pyo 91${PYSITELIB}/tablib/utils.pyo

cvs diff -r1.9 -r1.10 pkgsrc/textproc/py-tablib/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/py-tablib/distinfo 2023/12/07 18:15:44 1.9
+++ pkgsrc/textproc/py-tablib/distinfo 2024/03/24 17:22:44 1.10
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.9 2023/12/07 18:15:44 adam Exp $ 1$NetBSD: distinfo,v 1.10 2024/03/24 17:22:44 adam Exp $
2 2
3BLAKE2s (tablib-3.5.0.tar.gz) = 30b484bbd7af42f8366bab541b0965a6806bd2254fb46b3fe5b3e4c5064caf8b 3BLAKE2s (tablib-3.6.0.tar.gz) = 45e1e0c80cd653164011c5204af26abacaca24a535fb3eaf1b5a41f35c7e13d3
4SHA512 (tablib-3.5.0.tar.gz) = cc47bc6087040abb1e9cbcc31b3a75c2a977edb1fdf840a4da72457a0a802f475d703e1fe586d8c8dad8dcb643b79f517aaee5e176ee50cf63fb4d6d73ea2bdd 4SHA512 (tablib-3.6.0.tar.gz) = 07477209e714f180d2414d5eff19422a24c0488d46b5a787a224dddd34afe7891ed774b15dacb45902f1a70d2cf3adddfd3bd7966aaa29e40c9e883ed5c7c67d
5Size (tablib-3.5.0.tar.gz) = 94795 bytes 5Size (tablib-3.6.0.tar.gz) = 119130 bytes