Accepting request 1140397 from Application:ERP:GNUHealth:4.4

- swith to wheel and enable %{?sle15allpythons}

OBS-URL: https://build.opensuse.org/request/show/1140397
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-beren?expand=0&rev=11
This commit is contained in:
2024-01-23 10:11:36 +00:00
committed by Git OBS Bridge
parent 8404a733ba
commit bc139cd9ea
2 changed files with 15 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 16 09:29:40 UTC 2024 - Axel Braun <axel.braun@gmx.de>
- swith to wheel and enable %{?sle15allpythons}
-------------------------------------------------------------------
Tue Jan 11 20:52:16 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,8 +1,8 @@
#
# spec file
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2019-2021 Dr. Axel Braun <DocB@opensuse.org>
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2019-2024 Dr. Axel Braun <DocB@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,9 +17,8 @@
#
%{?!python_module:%define python_module() python3-%{**}}
%{?sle15allpythons}
%define skip_python2 1
%define skip_python36 1
%define modname beren
Name: python-%{modname}
Version: 0.7.1
@@ -28,10 +27,15 @@ Summary: Provides a REST client targeted at Orthanc REST API endpoints
License: GPL-3.0-or-later
URL: https://github.com/teffalump/beren
Source: https://files.pythonhosted.org/packages/source/b/%{modname}/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module apiron}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-apiron
%python_subpackages
@@ -45,10 +49,10 @@ python-beren provides a REST client targeted at Orthanc REST API endpoints
sed -i 's/apiron==.*$/apiron/' requirements.txt
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
#%%check