Accepting request 1034129 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1034129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-prettytable?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2022-11-08 09:53:17 +00:00 committed by Git OBS Bridge
commit 121aa0a2bd
4 changed files with 17 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d7dd84d0b206f2daac4471a72f299d6907f34516064feb2838e333a4e2567bd
size 54395

3
prettytable-3.5.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:52f682ba4efe29dccb38ff0fe5bac8a23007d0780ff92a8b85af64bc4fc74d72
size 45879

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
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
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 17 07:34:50 UTC 2022 - Dirk Müller <dmueller@suse.com> Sat Sep 17 07:34:50 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -17,10 +17,9 @@
# #
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-prettytable Name: python-prettytable
Version: 3.4.1 Version: 3.5.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
@ -28,10 +27,11 @@ URL: https://github.com/jazzband/prettytable
Source0: https://files.pythonhosted.org/packages/source/p/prettytable/prettytable-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/p/prettytable/prettytable-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module importlib-metadata if %python-base < 3.8} 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-lazy-fixture}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wcwidth} BuildRequires: %{python_module wcwidth}
BuildRequires: %{pythons} BuildRequires: %{pythons}
BuildRequires: fdupes 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 sed -i '1 {/env python/d}' src/prettytable/prettytable.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check