diff --git a/python-yapf.changes b/python-yapf.changes index d6a5348..6ccd77d 100644 --- a/python-yapf.changes +++ b/python-yapf.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Sep 7 11:12:31 UTC 2023 - Dirk Müller + +- update to 0.40.1: + * Corrected bad distribution v0.40.0 package. + * Support for Python 3.11 + * Add the `--print-modified` flag to print out file names of + modified files when running in in-place mode. + * Replace the outdated and no-longer-supported lib2to3 with a + fork of blib2to3 + * Support for Python versions < 3.7 are no longer supported. + ------------------------------------------------------------------- Thu May 4 19:56:33 UTC 2023 - Dirk Müller @@ -123,7 +135,7 @@ Wed Aug 29 11:37:58 UTC 2018 - tchvatal@suse.com - Version update to 0.23.0: * Many changes to behaviour based on CHANGELOG * Add various documents/license to distributed tarball - + ------------------------------------------------------------------- Sun Mar 4 11:06:23 UTC 2018 - jengelh@inai.de diff --git a/python-yapf.spec b/python-yapf.spec index 4eea29e..f7d4bb5 100644 --- a/python-yapf.spec +++ b/python-yapf.spec @@ -16,20 +16,22 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-yapf -Version: 0.33.0 +Version: 0.40.1 Release: 0 Summary: A formatter for Python code License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/google/yapf Source: https://files.pythonhosted.org/packages/source/y/yapf/yapf-%{version}.tar.gz +BuildRequires: %{python_module devel >= 3.7} +BuildRequires: %{python_module platformdirs} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-platformdirs Requires(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch @@ -77,6 +79,7 @@ be reformatted. %python_alternative %{_bindir}/yapf %python_alternative %{_bindir}/yapf-diff %{python_sitelib}/yapf/ +%{python_sitelib}/yapf_third_party/ %{python_sitelib}/yapf-%{version}-py*.egg-info/ %changelog diff --git a/yapf-0.33.0.tar.gz b/yapf-0.33.0.tar.gz deleted file mode 100644 index f3e43b8..0000000 --- a/yapf-0.33.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:da62bdfea3df3673553351e6246abed26d9fe6780e548a5af9e70f6d2b4f5b9a -size 203773 diff --git a/yapf-0.40.1.tar.gz b/yapf-0.40.1.tar.gz new file mode 100644 index 0000000..209f59a --- /dev/null +++ b/yapf-0.40.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:958587eb5c8ec6c860119a9c25d02addf30a44f75aa152a4220d30e56a98037c +size 247509