Accepting request 1109517 from devel:languages:python
- 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/request/show/1109517 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yapf?expand=0&rev=14
This commit is contained in:
commit
7144f8fbc1
@ -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>
|
Thu May 4 19:56:33 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -16,20 +16,22 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-yapf
|
Name: python-yapf
|
||||||
Version: 0.33.0
|
Version: 0.40.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A formatter for Python code
|
Summary: A formatter for Python code
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/google/yapf
|
URL: https://github.com/google/yapf
|
||||||
Source: https://files.pythonhosted.org/packages/source/y/yapf/yapf-%{version}.tar.gz
|
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 pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-platformdirs
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun):update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -77,6 +79,7 @@ be reformatted.
|
|||||||
%python_alternative %{_bindir}/yapf
|
%python_alternative %{_bindir}/yapf
|
||||||
%python_alternative %{_bindir}/yapf-diff
|
%python_alternative %{_bindir}/yapf-diff
|
||||||
%{python_sitelib}/yapf/
|
%{python_sitelib}/yapf/
|
||||||
|
%{python_sitelib}/yapf_third_party/
|
||||||
%{python_sitelib}/yapf-%{version}-py*.egg-info/
|
%{python_sitelib}/yapf-%{version}-py*.egg-info/
|
||||||
|
|
||||||
%changelog
|
%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…
x
Reference in New Issue
Block a user