From 62be268e73b9fe124c012862d2a13416321c26f3bb9af1e64227b7e61b8e6a0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 3 Jun 2025 11:53:34 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pook?expand=0&rev=19 --- python-pook.changes | 5 +++++ python-pook.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-pook.changes b/python-pook.changes index f7f2e09..ce5ded8 100644 --- a/python-pook.changes +++ b/python-pook.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 3 11:53:23 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Dec 29 15:26:13 UTC 2023 - Antonio Larrosa diff --git a/python-pook.spec b/python-pook.spec index 8fcc384..f612e49 100644 --- a/python-pook.spec +++ b/python-pook.spec @@ -1,7 +1,7 @@ # # spec file for package python-pook # -# 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,9 @@ Summary: HTTP traffic mocking and expectations License: MIT URL: https://github.com/h2non/pook Source: https://files.pythonhosted.org/packages/source/p/pook/pook-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-aiohttp @@ -56,10 +58,10 @@ rm -f setup.cfg pytest.ini tox.ini touch tests/__init__.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %{python_expand rm -r %{buildroot}%{$python_sitelib}/tests/ %fdupes %{buildroot}%{$python_sitelib} }