15
0
forked from pool/python-bowler

Accepting request 1277830 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1277830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bowler?expand=0&rev=4
This commit is contained in:
2025-05-20 07:32:48 +00:00
committed by Git OBS Bridge
2 changed files with 14 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 15 12:11:44 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Sun Oct 11 07:34:01 UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-bowler
#
# Copyright (c) 2020 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
@@ -16,8 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-bowler
Version: 0.9.0
Release: 0
@@ -31,18 +29,19 @@ BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module click}
BuildRequires: %{python_module fissix}
BuildRequires: %{python_module moreorless}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 38.6.0}
BuildRequires: %{python_module volatile}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-attrs
Requires: python-click
Requires: python-fissix
Requires: python-moreorless
Requires: python-setuptools
Requires: python-volatile
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(post): alts
Requires(postun): alts
BuildArch: noarch
%python_subpackages
@@ -62,10 +61,10 @@ modifiers as needed to build more complex or custom refactorings. See the
%setup -q -n bowler-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/bowler
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -81,7 +80,8 @@ modifiers as needed to build more complex or custom refactorings. See the
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/bowler
%{python_sitelib}/bowler-%{version}*-info
%python_alternative %{_bindir}/bowler
%changelog