From 0fe1f9fc755e85979207c11926533673fd084805c5f0b9463800d5ce764e5215 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 7 Nov 2022 10:12:19 +0000 Subject: [PATCH] Accepting request 1033838 from home:jayvdb:branches:devel:languages:python - Update to v3.5.0 OBS-URL: https://build.opensuse.org/request/show/1033838 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prettytable?expand=0&rev=17 --- prettytable-3.4.1.tar.gz | 3 --- prettytable-3.5.0.tar.gz | 3 +++ python-prettytable.changes | 8 ++++++++ python-prettytable.spec | 12 ++++++------ 4 files changed, 17 insertions(+), 9 deletions(-) delete mode 100644 prettytable-3.4.1.tar.gz create mode 100644 prettytable-3.5.0.tar.gz diff --git a/prettytable-3.4.1.tar.gz b/prettytable-3.4.1.tar.gz deleted file mode 100644 index c87f0bb..0000000 --- a/prettytable-3.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7d7dd84d0b206f2daac4471a72f299d6907f34516064feb2838e333a4e2567bd -size 54395 diff --git a/prettytable-3.5.0.tar.gz b/prettytable-3.5.0.tar.gz new file mode 100644 index 0000000..f33b73f --- /dev/null +++ b/prettytable-3.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52f682ba4efe29dccb38ff0fe5bac8a23007d0780ff92a8b85af64bc4fc74d72 +size 45879 diff --git a/python-prettytable.changes b/python-prettytable.changes index 19a658c..8e81a07 100644 --- a/python-prettytable.changes +++ b/python-prettytable.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Nov 6 10:05:26 UTC 2022 - John Vandenberg + +- Update to v3.5.0 + * Add py.typed and update setup.cfg + * Add type hints from typeshed + * Convert from setuptools to hatchling + ------------------------------------------------------------------- Sat Sep 17 07:34:50 UTC 2022 - Dirk Müller diff --git a/python-prettytable.spec b/python-prettytable.spec index 8984de5..35e6586 100644 --- a/python-prettytable.spec +++ b/python-prettytable.spec @@ -17,10 +17,9 @@ # -%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-prettytable -Version: 3.4.1 +Version: 3.5.0 Release: 0 Summary: Library for displaying tabular data in formatted fashion License: BSD-2-Clause @@ -28,10 +27,11 @@ URL: https://github.com/jazzband/prettytable Source0: https://files.pythonhosted.org/packages/source/p/prettytable/prettytable-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module importlib-metadata if %python-base < 3.8} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module hatch_vcs} +BuildRequires: %{python_module pip} 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 @@ -57,10 +57,10 @@ centred) and printing of "sub-tables" by specifying a row range. sed -i '1 {/env python/d}' src/prettytable/prettytable.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check