From d4564c0f6ae8288291030fadc41acc6ca893717d54f42875182ca13c0dfdbc87 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 5 May 2025 14:53:15 +0000 Subject: [PATCH] Accepting request 1274584 from home:mcalabkova:branches:devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1274584 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ConfigUpdater?expand=0&rev=8 --- python-ConfigUpdater.changes | 5 +++++ python-ConfigUpdater.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-ConfigUpdater.changes b/python-ConfigUpdater.changes index f74ba34..dd3ab78 100644 --- a/python-ConfigUpdater.changes +++ b/python-ConfigUpdater.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 5 13:14:21 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu Jul 25 10:17:03 UTC 2024 - Dirk Müller diff --git a/python-ConfigUpdater.spec b/python-ConfigUpdater.spec index a69c212..9dc163c 100644 --- a/python-ConfigUpdater.spec +++ b/python-ConfigUpdater.spec @@ -1,7 +1,7 @@ # # spec file for package python-ConfigUpdater # -# Copyright (c) 2024 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 @@ -23,6 +23,7 @@ Summary: Parser like ConfigParser but for updating configuration files License: MIT URL: https://github.com/pyscaffold/configupdater Source: https://files.pythonhosted.org/packages/source/C/ConfigUpdater/ConfigUpdater-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-virtualenv} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} @@ -51,10 +52,10 @@ meant for reading config files and writing new ones. sed -i '/--cov/d' setup.cfg %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -64,6 +65,6 @@ sed -i '/--cov/d' setup.cfg %doc AUTHORS.rst CHANGELOG.rst README.rst %license LICENSE.txt %{python_sitelib}/configupdater -%{python_sitelib}/ConfigUpdater-%{version}*-info +%{python_sitelib}/[Cc]onfig[Uu]pdater-%{version}*info %changelog