From dc47c4744cc6dce4de78da5fafc93c623c4675e72553c6f0df33ae713703e903 Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Fri, 16 May 2025 13:43:31 +0000 Subject: [PATCH] Accepting request 1278047 from home:mcalabkova:branches:devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1278047 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-conu?expand=0&rev=8 --- python-conu.changes | 5 +++++ python-conu.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-conu.changes b/python-conu.changes index a6c9f5b..c5deee7 100644 --- a/python-conu.changes +++ b/python-conu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 16 12:19:44 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon Mar 20 10:16:36 UTC 2023 - pgajdos@suse.com diff --git a/python-conu.spec b/python-conu.spec index bbe1979..eb9888b 100644 --- a/python-conu.spec +++ b/python-conu.spec @@ -1,7 +1,7 @@ # # spec file for package python-conu # -# 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 @@ -16,7 +16,6 @@ # -%define skip_python2 1 Name: python-conu Version: 1.0.0 Release: 0 @@ -26,7 +25,9 @@ URL: https://github.com/user-cont/conu Source: https://files.pythonhosted.org/packages/source/c/conu/conu-%{version}.tar.gz # https://github.com/user-cont/conu/issues/390 Patch0: python-conu-no-six.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-docker @@ -58,10 +59,10 @@ Python container testing library. rm tests/integration/test_k8s.py tests/integration/test_openshift.py tests/release/test_release.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check