- 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:
Dirk Mueller 2023-11-27 20:13:51 +00:00 committed by Git OBS Bridge
parent 4f841e73f8
commit 3b46c5fcd0
4 changed files with 24 additions and 9 deletions

View File

@ -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>

View File

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-yapf
Version: 0.40.1
Version: 0.40.2
Release: 0
Summary: A formatter for Python code
License: Apache-2.0
@ -26,9 +26,10 @@ 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 pip}
BuildRequires: %{python_module platformdirs}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-platformdirs
@ -54,10 +55,10 @@ be reformatted.
%setup -q -n yapf-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/yapf
@ -75,11 +76,11 @@ be reformatted.
%files %{python_files}
%license LICENSE
%doc README.rst CHANGELOG
%doc README.md CHANGELOG.md
%python_alternative %{_bindir}/yapf
%python_alternative %{_bindir}/yapf-diff
%{python_sitelib}/yapf/
%{python_sitelib}/yapf_third_party/
%{python_sitelib}/yapf-%{version}-py*.egg-info/
%{python_sitelib}/yapf-%{version}.dist-info
%changelog

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

Binary file not shown.