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