From 2065aceb6202922a193145a526eae05c4411c300293c05710b19d5ab9a11b513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 13 May 2025 16:31:18 +0000 Subject: [PATCH] Accepting request 1277204 from home:mcalabkova:branches:devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1277204 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-atlassian-python-api?expand=0&rev=22 --- python-atlassian-python-api.changes | 5 +++++ python-atlassian-python-api.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-atlassian-python-api.changes b/python-atlassian-python-api.changes index 6cbadec..00362e9 100644 --- a/python-atlassian-python-api.changes +++ b/python-atlassian-python-api.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 13 15:53:59 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Dec 15 12:54:54 UTC 2023 - pgajdos@suse.com diff --git a/python-atlassian-python-api.spec b/python-atlassian-python-api.spec index 26d7211..1679583 100644 --- a/python-atlassian-python-api.spec +++ b/python-atlassian-python-api.spec @@ -1,7 +1,7 @@ # # spec file for package python-atlassian-python-api # -# Copyright (c) 2023 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 @@ -27,11 +27,13 @@ Source1: python-atlassian-python-api.rpmlintrc BuildRequires: %{python_module deprecated} BuildRequires: %{python_module kerberos} BuildRequires: %{python_module oauthlib} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests-oauthlib} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-deprecated @@ -51,10 +53,10 @@ Python Atlassian REST API Wrapper %autosetup -p1 -n atlassian-python-api-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check