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 1/3] - 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 From 917385d86d9c31a6d1c4bfdd7d82232f977f27f29fd41886d3546cec2fac5622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 27 May 2025 11:51:48 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-bugbear?expand=0&rev=42 --- python-flake8-bugbear.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-flake8-bugbear.spec b/python-flake8-bugbear.spec index 6695b72..9ae2fbf 100644 --- a/python-flake8-bugbear.spec +++ b/python-flake8-bugbear.spec @@ -63,7 +63,7 @@ pycodestyle. %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/flake8-bugbear -%{python_sitelib}/flake8-bugbear-%{version}*-info +%{python_sitelib}/flake8_bugbear +%{python_sitelib}/flake8_bugbear-%{version}*-info %changelog From af25fd7acd6e14785fd7d2194243fa76de970bdee233dcb93d774614faeaab82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 27 May 2025 12:00:53 +0000 Subject: [PATCH 3/3] Accepting request 1280536 from home:mcalabkova:branches:devel:languages:python OBS-URL: https://build.opensuse.org/request/show/1280536 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-bugbear?expand=0&rev=43 --- python-flake8-bugbear.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python-flake8-bugbear.spec b/python-flake8-bugbear.spec index 9ae2fbf..20748a8 100644 --- a/python-flake8-bugbear.spec +++ b/python-flake8-bugbear.spec @@ -63,7 +63,8 @@ pycodestyle. %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/flake8_bugbear -%{python_sitelib}/flake8_bugbear-%{version}*-info +%{python_sitelib}/bugbear.py +%{python_sitelib}/flake8[-_]bugbear-%{version}*-info +%pycache_only %{python_sitelib}/__pycache__/bugbear* %changelog