pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-tablib py-tablib: updated to 3.2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2b8cf122f8a9
branches:  trunk
changeset: 389036:2b8cf122f8a9
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 29 10:51:45 2022 +0000

description:
py-tablib: updated to 3.2.1

3.2.1 (2022-04-09)

Bugfixes

- Support solo CR in text input imports

3.2.0 (2022-01-27)

Changes

- Dropped Python 3.6 support

Bugfixes

- Corrected order of arguments to a regex call in `safe_xlsx_sheet_title`

3.1.0 (2021-10-26)

Improvements

- Add support for Python 3.10
- The csv, xls, and xlsx formats gained support for the `skip_lines` keyword
 argument for their `import_set()` method to be able to skip the nth first
 lines of a read file

Bugfixes

- Avoided mutable parameter defaults
- Specify build backend for editable installs
- Doubled sample size passed to `csv.Sniffer()` in `_csv.detect()`

3.0.0 (2020-12-05)

Breaking changes

- Dropped Python 3.5 support.
- JSON-exported data is no longer forced to ASCII characters.
- YAML-exported data is no longer forced to ASCII characters.

Improvements

- Added Python 3.9 support.
- Added read_only option to xlsx file reader

Bugfixes

- Prevented crash in rst export with only-space strings

diffstat:

 textproc/py-tablib/Makefile |  18 ++++++++++--------
 textproc/py-tablib/PLIST    |   5 ++++-
 textproc/py-tablib/distinfo |   8 ++++----
 3 files changed, 18 insertions(+), 13 deletions(-)

diffs (77 lines):

diff -r d83d97ceed00 -r 2b8cf122f8a9 textproc/py-tablib/Makefile
--- a/textproc/py-tablib/Makefile       Tue Nov 29 10:30:55 2022 +0000
+++ b/textproc/py-tablib/Makefile       Tue Nov 29 10:51:45 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2022/01/04 20:55:07 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/11/29 10:51:45 adam Exp $
 
-DISTNAME=      tablib-2.0.0
+DISTNAME=      tablib-3.2.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/tablib/}
 
@@ -11,22 +10,25 @@
 COMMENT=       Format agnostic tabular data library (XLS, JSON, YAML, CSV)
 LICENSE=       mit
 
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+# all without pandas
+DEPENDS+=      ${PYPKGPREFIX}-markuppy-[0-9]*:../../textproc/py-markuppy
 DEPENDS+=      ${PYPKGPREFIX}-odfpy-[0-9]*:../../textproc/py-odfpy
 DEPENDS+=      ${PYPKGPREFIX}-openpyxl>=2.6.0:../../textproc/py-openpyxl
 DEPENDS+=      ${PYPKGPREFIX}-tabulate-[0-9]*:../../textproc/py-tabulate
 DEPENDS+=      ${PYPKGPREFIX}-xlrd-[0-9]*:../../textproc/py-xlrd
 DEPENDS+=      ${PYPKGPREFIX}-xlwt-[0-9]*:../../textproc/py-xlwt
 DEPENDS+=      ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-pandas-[0-9]*:../../math/py-pandas
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-# requires py-markuppy
-#do-test:
-#      cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests/test_tablib.py
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r d83d97ceed00 -r 2b8cf122f8a9 textproc/py-tablib/PLIST
--- a/textproc/py-tablib/PLIST  Tue Nov 29 10:30:55 2022 +0000
+++ b/textproc/py-tablib/PLIST  Tue Nov 29 10:51:45 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2020/05/17 21:26:11 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/11/29 10:51:45 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -7,6 +7,9 @@
 ${PYSITELIB}/tablib/__init__.py
 ${PYSITELIB}/tablib/__init__.pyc
 ${PYSITELIB}/tablib/__init__.pyo
+${PYSITELIB}/tablib/_version.py
+${PYSITELIB}/tablib/_version.pyc
+${PYSITELIB}/tablib/_version.pyo
 ${PYSITELIB}/tablib/core.py
 ${PYSITELIB}/tablib/core.pyc
 ${PYSITELIB}/tablib/core.pyo
diff -r d83d97ceed00 -r 2b8cf122f8a9 textproc/py-tablib/distinfo
--- a/textproc/py-tablib/distinfo       Tue Nov 29 10:30:55 2022 +0000
+++ b/textproc/py-tablib/distinfo       Tue Nov 29 10:51:45 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:23:15 nia Exp $
+$NetBSD: distinfo,v 1.6 2022/11/29 10:51:45 adam Exp $
 
-BLAKE2s (tablib-2.0.0.tar.gz) = 34d2d5b5b697c5e14c9a8e42979c7b63521e80245743c11928ed2f23d0c52830
-SHA512 (tablib-2.0.0.tar.gz) = cfc4a8ac55a6a37644c3b23fceb1a45a78d52b18e76dd64c0a2e1ed82a710f559d4937c76a5803ad4f31ed0d3d49d0c95210a5b38ba380b24a488e56860c502d
-Size (tablib-2.0.0.tar.gz) = 86259 bytes
+BLAKE2s (tablib-3.2.1.tar.gz) = 84b8ad973dc83c22014f41716f7c7b9f6ec98293cfc374ee23bd5e8c5418d673
+SHA512 (tablib-3.2.1.tar.gz) = 162c63bf0bc32b54a94bc0612046d48c8966dea7e35ac4f303db06fd36f104f8d249f6f898b2a068ca870ea0ec8bba9e53bd8b2ee0809580dc2c6f17d7602d1f
+Size (tablib-3.2.1.tar.gz) = 96754 bytes



Home | Main Index | Thread Index | Old Index