From 92d573726e70387c1521bcb4fe6aded20c80e6523eb92c980aa88d28d2ac29f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 2 Jun 2025 14:07:48 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-multipledispatch?expand=0&rev=13 --- python-multipledispatch.changes | 5 +++++ python-multipledispatch.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-multipledispatch.changes b/python-multipledispatch.changes index 0fff222..a6c7d10 100644 --- a/python-multipledispatch.changes +++ b/python-multipledispatch.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 2 14:07:32 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu Sep 14 12:38:16 UTC 2023 - pgajdos@suse.com diff --git a/python-multipledispatch.spec b/python-multipledispatch.spec index c2daee5..ca1810c 100644 --- a/python-multipledispatch.spec +++ b/python-multipledispatch.spec @@ -1,7 +1,7 @@ # # spec file for package python-multipledispatch # -# 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 @@ -24,9 +24,11 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://multiple-dispatch.readthedocs.io/ Source: https://github.com/mrocklin/multipledispatch/archive/%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-benchmark} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -43,10 +45,10 @@ support. %autosetup -n multipledispatch-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check