15
0

Accepting request 1280538 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1280538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-bugbear?expand=0&rev=20
This commit is contained in:
2025-05-27 16:43:24 +00:00
committed by Git OBS Bridge
2 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 27 11:51:05 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Mon Mar 25 17:49:59 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -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,8 @@ pycodestyle.
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/bugbear.py
%{python_sitelib}/flake8[-_]bugbear-%{version}*-info
%pycache_only %{python_sitelib}/__pycache__/bugbear*
%changelog