From 0285309f089e576dae283a4f5ab208555681b14fe8c44cb40a085171bb02e656 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 6 May 2025 08:52:19 +0000 Subject: [PATCH] Accepting request 1274820 from home:mcalabkova:branches:devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1274820 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-JsonWeb?expand=0&rev=14 --- python-JsonWeb.changes | 5 +++++ python-JsonWeb.spec | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/python-JsonWeb.changes b/python-JsonWeb.changes index 391f5d6..e069cbb 100644 --- a/python-JsonWeb.changes +++ b/python-JsonWeb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 6 08:16:06 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon Apr 10 12:14:57 UTC 2023 - Daniel Garcia diff --git a/python-JsonWeb.spec b/python-JsonWeb.spec index dde84d1..177ecc3 100644 --- a/python-JsonWeb.spec +++ b/python-JsonWeb.spec @@ -1,7 +1,7 @@ # # spec file for package python-JsonWeb # -# 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 @@ -25,7 +25,10 @@ URL: http://www.jsonweb.info/ Source: https://files.pythonhosted.org/packages/source/J/JsonWeb/JsonWeb-%{version}.tar.gz # PATCH-FIX-OPENSUSE python-311.patch Patch0: python-311.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages @@ -38,10 +41,10 @@ to your python classes. %autosetup -p1 -n JsonWeb-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %check %pytest @@ -49,6 +52,6 @@ to your python classes. %files %{python_files} %doc README.rst %{python_sitelib}/jsonweb -%{python_sitelib}/JsonWeb-%{version}*-info +%{python_sitelib}/[Jj]son[Ww]eb-%{version}*info %changelog