From 3e01d8b2a9b7d8f9fbec64ad2b27d507c61f1b9553295cbbf8282bad7687fe1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 6 May 2025 07:38:10 +0000 Subject: [PATCH] Accepting request 1274668 from home:mcalabkova:branches:devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1274668 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-EasyProcess?expand=0&rev=47 --- python-EasyProcess.changes | 5 +++++ python-EasyProcess.spec | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/python-EasyProcess.changes b/python-EasyProcess.changes index de4d093..1e4fcd5 100644 --- a/python-EasyProcess.changes +++ b/python-EasyProcess.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 5 15:24:16 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Sat Jun 10 10:03:39 UTC 2023 - ecsos diff --git a/python-EasyProcess.spec b/python-EasyProcess.spec index bd3f7a7..fc1b67d 100644 --- a/python-EasyProcess.spec +++ b/python-EasyProcess.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-EasyProcess # -# Copyright (c) 2022 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 @@ -33,6 +33,7 @@ License: BSD-2-Clause URL: https://github.com/ponty/easyprocess Source: https://github.com/ponty/EasyProcess/archive/%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -74,11 +75,11 @@ Limitations: %setup -q -n EasyProcess-%{version} %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -93,7 +94,7 @@ export LANG=en_US.UTF-8 %license LICENSE.txt %doc README.md %{python_sitelib}/easyprocess -%{python_sitelib}/EasyProcess-%{version}*-info +%{python_sitelib}/[Ee]asy[Pp]rocess-%{version}*info %endif %changelog