From db6c0fa7499f29f23eef45ba29598b5b3e1e04df1dfa84d8dc412b7cc257a363 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 7 Oct 2023 11:31:41 +0000 Subject: [PATCH] - Update to 3.9.0: - Encode title and attributes of HTML tables OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prettytable?expand=0&rev=25 --- prettytable-3.8.0.tar.gz | 3 --- prettytable-3.9.0.tar.gz | 3 +++ python-prettytable.changes | 6 ++++++ python-prettytable.spec | 9 ++++----- 4 files changed, 13 insertions(+), 8 deletions(-) delete mode 100644 prettytable-3.8.0.tar.gz create mode 100644 prettytable-3.9.0.tar.gz diff --git a/prettytable-3.8.0.tar.gz b/prettytable-3.8.0.tar.gz deleted file mode 100644 index 0a0bee4..0000000 --- a/prettytable-3.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:031eae6a9102017e8c7c7906460d150b7ed78b20fd1d8c8be4edaf88556c07ce -size 47735 diff --git a/prettytable-3.9.0.tar.gz b/prettytable-3.9.0.tar.gz new file mode 100644 index 0000000..9780c57 --- /dev/null +++ b/prettytable-3.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4ed94803c23073a90620b201965e5dc0bccf1760b7a7eaf3158cab8aaffdf34 +size 47874 diff --git a/python-prettytable.changes b/python-prettytable.changes index e85c45c..f32d480 100644 --- a/python-prettytable.changes +++ b/python-prettytable.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Oct 7 11:19:59 UTC 2023 - Matej Cepl + +- Update to 3.9.0: + - Encode title and attributes of HTML tables + ------------------------------------------------------------------- Thu Sep 7 11:15:30 UTC 2023 - Dirk Müller diff --git a/python-prettytable.spec b/python-prettytable.spec index e0a18f5..bf2db11 100644 --- a/python-prettytable.spec +++ b/python-prettytable.spec @@ -19,7 +19,7 @@ %{?sle15_python_module_pythons} Name: python-prettytable -Version: 3.8.0 +Version: 3.9.0 Release: 0 Summary: Library for displaying tabular data in formatted fashion License: BSD-2-Clause @@ -38,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 @@ -53,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