Accepting request 1129242 from devel:languages:python
- 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/request/show/1129242 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yapf?expand=0&rev=15
This commit is contained in:
commit
4cbed27462
@ -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>
|
||||
|
||||
|
@ -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)
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