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>
@ -28,7 +41,7 @@ Sun Nov 6 10:05:26 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
- Update to v3.5.0
* Add py.typed and update setup.cfg
* Add type hints from typeshed
* Convert from setuptools to hatchling
* Convert from setuptools to hatchling
-------------------------------------------------------------------
Sat Sep 17 07:34:50 UTC 2022 - Dirk Müller <dmueller@suse.com>
@ -42,7 +55,7 @@ Sat Jun 4 11:42:00 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 3.3.0:
* Support Python 3.11
* Add flag to preserve internal borders when border=False
* Alignment timing fix (#179) @myheroyuki
* Alignment timing fix (#179) @myheroyuki
-------------------------------------------------------------------
Wed Mar 30 09:21:10 UTC 2022 - Ben Greiner <code@bnavigator.de>
@ -63,7 +76,7 @@ Wed Mar 30 09:21:10 UTC 2022 - Ben Greiner <code@bnavigator.de>
Mon Jan 3 11:29:50 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2.5.0:
* Add Single Border table style
* Add Single Border table style
-------------------------------------------------------------------
Thu Nov 25 21:15:15 UTC 2021 - Ben Greiner <code@bnavigator.de>
@ -80,20 +93,20 @@ Wed Nov 24 07:41:38 UTC 2021 - Matej Cepl <mcepl@suse.com>
Mon Nov 8 21:56:21 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 2.4.0:
* Markdown: Add colons to align the rendered output
* Markdown: Add colons to align the rendered output
* Add rows attribute to prettytable
* Add Jupyter repr and default interpreter repr methods
* Add custom format support
* Add custom format support
* Add method to generate LaTex formatted string
* Add support for Python 3.10
* Update issue templates
* Add support for positional junction characters and add "double_border" table style
* Access properties instead of protected fields in _get_options()
* Use declarative metadata and support PyPy3
* Add auto index column
* Add auto index column
* Support formatting options in get_json_string()
* Add tbody and thead tags
* Add add_rows to add several rows at once
* Add add_rows to add several rows at once
* Add setuptools as a dependency
* Fix string comparison and deprecation warning
- skip python2
@ -106,7 +119,7 @@ Fri Oct 15 10:39:59 UTC 2021 - pgajdos@suse.com
-------------------------------------------------------------------
Tue Nov 10 03:28:39 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Update URL/Source0 due to Google Code Hosting being dead since 2016
- Update URL/Source0 due to Google Code Hosting being dead since 2016
-------------------------------------------------------------------
Thu Nov 7 15:05:10 UTC 2019 - Matej Cepl <mcepl@suse.com>
@ -225,12 +238,12 @@ Tue Nov 29 14:37:34 UTC 2011 - saschpe@suse.de
-------------------------------------------------------------------
Tue Nov 29 12:31:24 UTC 2011 - idoenmez@suse.de
- Add license boilerplate
- Add license boilerplate
-------------------------------------------------------------------
Thu Nov 24 14:07:29 UTC 2011 - idoenmez@suse.de
- Name field shouldn't contain a macro
- Name field shouldn't contain a macro
-------------------------------------------------------------------
Wed Apr 20 19:29:33 CEST 2011 - berendt@b1-systems.de

View File

@ -17,10 +17,9 @@
#
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-prettytable
Version: 3.7.0
Version: 3.9.0
Release: 0
Summary: Library for displaying tabular data in formatted fashion
License: BSD-2-Clause
@ -39,9 +38,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
Requires: python-wcwidth
%if 0%{?python_version_nodots} < 38
Requires: python-importlib-metadata
%endif
Requires: (python-importlib-metadata if python-base < 3.8)
Provides: python-PrettyTable = %{version}-%{release}
Obsoletes: python-PrettyTable < %{version}-%{release}
%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.
%prep
%setup -q -n prettytable-%{version}
%autosetup -p1 -n prettytable-%{version}
sed -i '1 {/env python/d}' src/prettytable/prettytable.py
%build