Sync from SUSE:SLFO:Main python-prettytable revision 01de087f22e5f4a2fb40945a1b127f0d

This commit is contained in:
Adrian Schröter 2024-12-13 11:57:26 +01:00
parent d9ea2fda8a
commit b91ee57dd5
4 changed files with 30 additions and 19 deletions

BIN
prettytable-3.7.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
prettytable-3.9.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sat Oct 7 11:19:59 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
- Update to 3.9.0:
- Encode title and attributes of HTML tables
-------------------------------------------------------------------
Thu Sep 7 11:15:30 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.8.0:
* Add `get_formatted_string()` convenience function (#241)
* Drop support for EOL Python 3.7 (#245)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 5 07:47:24 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com> Fri May 5 07:47:24 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -17,10 +17,9 @@
# #
%define skip_python2 1
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-prettytable Name: python-prettytable
Version: 3.7.0 Version: 3.9.0
Release: 0 Release: 0
Summary: Library for displaying tabular data in formatted fashion Summary: Library for displaying tabular data in formatted fashion
License: BSD-2-Clause License: BSD-2-Clause
@ -39,9 +38,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
Requires: python-wcwidth Requires: python-wcwidth
%if 0%{?python_version_nodots} < 38 Requires: (python-importlib-metadata if python-base < 3.8)
Requires: python-importlib-metadata
%endif
Provides: python-PrettyTable = %{version}-%{release} Provides: python-PrettyTable = %{version}-%{release}
Obsoletes: python-PrettyTable < %{version}-%{release} Obsoletes: python-PrettyTable < %{version}-%{release}
%python_subpackages %python_subpackages
@ -54,7 +51,8 @@ printed, independent alignment of columns (left or right justified or
centred) and printing of "sub-tables" by specifying a row range. centred) and printing of "sub-tables" by specifying a row range.
%prep %prep
%setup -q -n prettytable-%{version} %autosetup -p1 -n prettytable-%{version}
sed -i '1 {/env python/d}' src/prettytable/prettytable.py sed -i '1 {/env python/d}' src/prettytable/prettytable.py
%build %build