From dd38c88844c8c6371281ec6c8b3abd77f663f23a1485bc0c7976fceefb321889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 4 Jun 2025 08:13:13 +0000 Subject: [PATCH 1/2] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyRXP?expand=0&rev=7 --- python-pyRXP.changes | 5 +++++ python-pyRXP.spec | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-pyRXP.changes b/python-pyRXP.changes index fbb261c..c390abf 100644 --- a/python-pyRXP.changes +++ b/python-pyRXP.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 4 08:11:39 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu Feb 17 14:12:13 UTC 2022 - Atri Bhattacharya diff --git a/python-pyRXP.spec b/python-pyRXP.spec index 967e4c1..7828432 100644 --- a/python-pyRXP.spec +++ b/python-pyRXP.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyRXP # -# Copyright (c) 2022 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,7 +16,6 @@ # -%define skip_python2 1 Name: python-pyRXP Version: 3.0.1 Release: 0 @@ -27,7 +26,9 @@ Source0: https://files.pythonhosted.org/packages/source/p/pyRXP/pyRXP-%{v # LICENSE MISSING IN SOURCE TARBALL Source1: https://hg.reportlab.com/hg-public/pyRXP/raw-file/9ee8c8d7cc04/LICENSE.txt BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros %python_subpackages @@ -42,10 +43,10 @@ cp %{SOURCE1} . %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check @@ -54,6 +55,7 @@ export CFLAGS="%{optflags}" %files %{python_files} %license LICENSE.txt %doc README.rst -%{python_sitearch}/* +%{python_sitearch}/rxp +%{python_sitearch}/py[Rr][Xx][Pp]-%{version}*-info %changelog From 53532722e0c7f1094e1ebee44ff084c2676d2136063130f6011055048bdceb2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 4 Jun 2025 08:37:29 +0000 Subject: [PATCH 2/2] Accepting request 1282601 from home:mcalabkova:branches:devel:languages:python fix files OBS-URL: https://build.opensuse.org/request/show/1282601 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyRXP?expand=0&rev=8 --- python-pyRXP.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-pyRXP.spec b/python-pyRXP.spec index 7828432..453b076 100644 --- a/python-pyRXP.spec +++ b/python-pyRXP.spec @@ -55,7 +55,7 @@ export CFLAGS="%{optflags}" %files %{python_files} %license LICENSE.txt %doc README.rst -%{python_sitearch}/rxp +%{python_sitearch}/pyRXPU.cpython* %{python_sitearch}/py[Rr][Xx][Pp]-%{version}*-info %changelog