diff --git a/python-tabulate.changes b/python-tabulate.changes index 8f918a2..01b76b5 100644 --- a/python-tabulate.changes +++ b/python-tabulate.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Thu Feb 16 15:13:58 UTC 2023 - Torsten Gruner + +- update to version 0.9.0 + * Drop support for Python 2.7, 3.5, 3.6. + * Migrate to pyproject.toml project layout (PEP 621). + * New output formats: `asciidoc`, various `*grid` and `*outline` formats. + * New output features: vertical row alignment, separating lines. + * New input format: list of dataclasses (Python 3.7 or later). + * Support infinite iterables as row indices. + * Improve column width options. + * Improve support for ANSI escape sequences and document the behavior. + * Various bug fixes. + ------------------------------------------------------------------- Mon Jul 11 02:56:59 UTC 2022 - Arun Persaud diff --git a/python-tabulate.spec b/python-tabulate.spec index 8eac329..007006a 100644 --- a/python-tabulate.spec +++ b/python-tabulate.spec @@ -1,7 +1,7 @@ # # spec file for package python-tabulate # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,20 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-tabulate -Version: 0.8.10 +Version: 0.9.0 Release: 0 Summary: Pretty-printer for tabular data in Python License: MIT Group: Development/Languages/Python URL: https://bitbucket.org/astanin/python-tabulate Source: https://files.pythonhosted.org/packages/source/t/tabulate/tabulate-%{version}.tar.gz +BuildRequires: %{python_module base > 3.6} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module setuptools >= 61.2.0} BuildRequires: %{python_module wcwidth} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools @@ -55,10 +57,10 @@ The main use cases of the library are: %setup -q -n tabulate-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/tabulate %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -75,8 +77,7 @@ The main use cases of the library are: %license LICENSE %doc README.md %python_alternative %{_bindir}/tabulate -%{python_sitelib}/tabulate.* -%{python_sitelib}/tabulate-%{version}-py*.egg-info -%pycache_only %{python_sitelib}/__pycache__ +%{python_sitelib}/tabulate +%{python_sitelib}/tabulate-*dist-info %changelog diff --git a/tabulate-0.8.10.tar.gz b/tabulate-0.8.10.tar.gz deleted file mode 100644 index 19817e9..0000000 --- a/tabulate-0.8.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6c57f3f3dd7ac2782770155f3adb2db0b1a269637e42f27599925e64b114f519 -size 60154 diff --git a/tabulate-0.9.0.tar.gz b/tabulate-0.9.0.tar.gz new file mode 100644 index 0000000..558cea2 --- /dev/null +++ b/tabulate-0.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0095b12bf5966de529c0feb1fa08671671b3368eec77d7ef7ab114be2c068b3c +size 81090