From e4c5c5e26761cc73434f44784b1ca68a4629625a7eb7bf8f2bb8d8bf9e470f21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 27 May 2025 11:51:28 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-bugbear?expand=0&rev=41 --- python-flake8-bugbear.changes | 5 +++++ python-flake8-bugbear.spec | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/python-flake8-bugbear.changes b/python-flake8-bugbear.changes index ac4517b..3e4cbd4 100644 --- a/python-flake8-bugbear.changes +++ b/python-flake8-bugbear.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 27 11:51:05 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon Mar 25 17:49:59 UTC 2024 - Dirk Müller diff --git a/python-flake8-bugbear.spec b/python-flake8-bugbear.spec index 35fe130..6695b72 100644 --- a/python-flake8-bugbear.spec +++ b/python-flake8-bugbear.spec @@ -1,7 +1,7 @@ # # spec file for package python-flake8-bugbear # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,8 +30,10 @@ BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module flake8 >= 6.0.0} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module hypothesmith} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-attrs >= 19.2.0 @@ -48,10 +50,10 @@ pycodestyle. %setup -q -n flake8-bugbear-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -61,6 +63,7 @@ pycodestyle. %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/flake8-bugbear +%{python_sitelib}/flake8-bugbear-%{version}*-info %changelog