From 1ba1ad20129385ae0896430cfbe38eb54cadba18eae2b7df2ccae43573d18696 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 2 Jun 2025 08:56:14 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mergedeep?expand=0&rev=6 --- python-mergedeep.changes | 5 +++++ python-mergedeep.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-mergedeep.changes b/python-mergedeep.changes index 7b25e18..b6027c0 100644 --- a/python-mergedeep.changes +++ b/python-mergedeep.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 2 08:55:56 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu Jul 6 11:55:56 UTC 2023 - ecsos diff --git a/python-mergedeep.spec b/python-mergedeep.spec index a22ba6e..b41c5d4 100644 --- a/python-mergedeep.spec +++ b/python-mergedeep.spec @@ -1,7 +1,7 @@ # # spec file for package python-mergedeep # -# Copyright (c) 2021 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,7 +24,9 @@ Summary: A deep merge function for Python License: MIT URL: https://github.com/clarketm/mergedeep Source: https://files.pythonhosted.org/packages/source/m/mergedeep/mergedeep-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -37,10 +39,10 @@ A deep merge function for Python. %setup -q -n mergedeep-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files}