From 1ee2c814aa50e60c22bee39b84ffc105dba4a7f836afca9545047c196dba55c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 12 Jun 2025 08:22:37 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sarge?expand=0&rev=6 --- python-sarge.changes | 5 +++++ python-sarge.spec | 17 +++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/python-sarge.changes b/python-sarge.changes index 9756ec5..4a76089 100644 --- a/python-sarge.changes +++ b/python-sarge.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 12 08:22:14 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Oct 7 15:19:47 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-sarge.spec b/python-sarge.spec index 15dbcb4..5275d0f 100644 --- a/python-sarge.spec +++ b/python-sarge.spec @@ -1,7 +1,7 @@ # # spec file for package python-sarge # -# 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 @@ -16,20 +16,20 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sarge Version: 0.1.7.post1 Release: 0 -License: BSD-3-Clause Summary: Command pipelines for python -URL: https://sarge.readthedocs.org/ +License: BSD-3-Clause Group: Development/Languages/Python +URL: https://sarge.readthedocs.org/ Source: https://files.pythonhosted.org/packages/source/s/sarge/sarge-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -39,15 +39,16 @@ A wrapper for subprocess which provides command pipeline functionality. %setup -q -n sarge-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/sarge +%{python_sitelib}/sarge-%{version}*-info %changelog