diff --git a/prettytable-2.5.0.tar.gz b/prettytable-2.5.0.tar.gz deleted file mode 100644 index 6db2848..0000000 --- a/prettytable-2.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7da57ba63d55116d65e5acb147bfdfa60dceccabf0d607d6817ee2888a05f2c -size 50015 diff --git a/prettytable-3.2.0.tar.gz b/prettytable-3.2.0.tar.gz new file mode 100644 index 0000000..964a74a --- /dev/null +++ b/prettytable-3.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae7d96c64100543dc61662b40a28f3b03c0f94a503ed121c6fca2782c5816f81 +size 52976 diff --git a/python-prettytable.changes b/python-prettytable.changes index 3d0fc4a..f6c0fc3 100644 --- a/python-prettytable.changes +++ b/python-prettytable.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Mar 30 09:21:10 UTC 2022 - Ben Greiner + +- Update to 3.2.0 + * Drop support for EOL Python 3.6 (#152) @hugovk + * Use tags to print html table titles (#160) @daibhid + * Add colorful tables and themes (#140) @BD103 + * Convert None to empty cell or custom value (#164) @av-guy + * Resolve "KeyError" issue on _stringify_row (#167) + @michal-jagiello-tmpl + * Use concrete built-in exceptions instead of Exception base + class (#169) @hugovk + * Fix width for custom none_format (#174) @av-guy + * Enforce max widths for field names (#171) @OlafvdSpek + ------------------------------------------------------------------- Mon Jan 3 11:29:50 UTC 2022 - Dirk Müller diff --git a/python-prettytable.spec b/python-prettytable.spec index 244aede..a911f1f 100644 --- a/python-prettytable.spec +++ b/python-prettytable.spec @@ -17,21 +17,24 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-prettytable -Version: 2.5.0 +Version: 3.2.0 Release: 0 Summary: Library for displaying tabular data in formatted fashion License: BSD-2-Clause URL: https://github.com/jazzband/prettytable Source0: https://files.pythonhosted.org/packages/source/p/prettytable/prettytable-%{version}.tar.gz -BuildRequires: %{python_module dbm} +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module importlib-metadata if %python-base < 3.8} BuildRequires: %{python_module pytest-lazy-fixture} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wcwidth} +BuildRequires: %{pythons} +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch Requires: python-wcwidth @@ -51,12 +54,14 @@ centred) and printing of "sub-tables" by specifying a row range. %prep %setup -q -n prettytable-%{version} +sed -i '1 {/env python/d}' src/prettytable/prettytable.py %build %python_build %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LANG=en_US.UTF-8 @@ -65,6 +70,7 @@ export LANG=en_US.UTF-8 %files %{python_files} %license COPYING %doc CHANGELOG.md README.md -%{python_sitelib}/prettytable* +%{python_sitelib}/prettytable +%{python_sitelib}/prettytable-%{version}*-info %changelog