Accepting request 1156824 from devel:languages:python

- Add missing {Build,}Requires on tomli and importlib-metadata.

OBS-URL: https://build.opensuse.org/request/show/1156824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yapf?expand=0&rev=16
This commit is contained in:
Ana Guerrero 2024-03-14 16:42:16 +00:00 committed by Git OBS Bridge
commit 652778ccc5
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 11 05:47:17 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add missing {Build,}Requires on tomli and importlib-metadata.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 27 20:10:52 UTC 2023 - Dirk Müller <dmueller@suse.com> Mon Nov 27 20:10:52 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-yapf # spec file for package python-yapf
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -22,19 +22,22 @@ 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
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 importlib-metadata}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module platformdirs} BuildRequires: %{python_module platformdirs}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module tomli}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-importlib-metadata
Requires: python-platformdirs Requires: python-platformdirs
Requires: python-tomli
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
BuildArch: noarch BuildArch: noarch
%ifpython2 %ifpython2
Recommends: python-futures Recommends: python-futures