- 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=27
This commit is contained in:
parent
04d92759e2
commit
4f841e73f8
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 7 11:12:31 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:da62bdfea3df3673553351e6246abed26d9fe6780e548a5af9e70f6d2b4f5b9a
|
||||
size 203773
|
BIN
yapf-0.40.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
yapf-0.40.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user