- update to 0.40.2:
* The verification module has been removed. NOTE: this changes the public APIs by removing the "verify" parameter. * Changed FORCE_MULTILINE_DICT to override SPLIT_ALL_TOP_LEVEL_COMMA_SEPARATED_VALUES. * Adopt pyproject.toml (PEP 517) for build system * Do not treat variables named `match` as the match keyword. * Fix SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED for one-item argument lists. * Fix trailing backslash-newline on Windows when using stdin. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=29
This commit is contained in:
parent
4f841e73f8
commit
3b46c5fcd0
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 27 20:10:52 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.40.2:
|
||||||
|
* The verification module has been removed. NOTE: this changes
|
||||||
|
the public APIs by removing the "verify" parameter.
|
||||||
|
* Changed FORCE_MULTILINE_DICT to override
|
||||||
|
SPLIT_ALL_TOP_LEVEL_COMMA_SEPARATED_VALUES.
|
||||||
|
* Adopt pyproject.toml (PEP 517) for build system
|
||||||
|
* Do not treat variables named `match` as the match keyword.
|
||||||
|
* Fix SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED for one-item
|
||||||
|
argument lists.
|
||||||
|
* Fix trailing backslash-newline on Windows when using stdin.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 7 11:12:31 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Thu Sep 7 11:12:31 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-yapf
|
Name: python-yapf
|
||||||
Version: 0.40.1
|
Version: 0.40.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A formatter for Python code
|
Summary: A formatter for Python code
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -26,9 +26,10 @@ 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 devel >= 3.7}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module platformdirs}
|
BuildRequires: %{python_module platformdirs}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-platformdirs
|
Requires: python-platformdirs
|
||||||
@ -54,10 +55,10 @@ be reformatted.
|
|||||||
%setup -q -n yapf-%{version}
|
%setup -q -n yapf-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%python_clone -a %{buildroot}%{_bindir}/yapf
|
%python_clone -a %{buildroot}%{_bindir}/yapf
|
||||||
@ -75,11 +76,11 @@ be reformatted.
|
|||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst CHANGELOG
|
%doc README.md CHANGELOG.md
|
||||||
%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_third_party/
|
||||||
%{python_sitelib}/yapf-%{version}-py*.egg-info/
|
%{python_sitelib}/yapf-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
BIN
yapf-0.40.1.tar.gz
(Stored with Git LFS)
BIN
yapf-0.40.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
yapf-0.40.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
yapf-0.40.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user