14
0
forked from pool/python-sarge

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sarge?expand=0&rev=6
This commit is contained in:
2025-06-12 08:22:37 +00:00
committed by Git OBS Bridge
parent cf46dc4027
commit 1ee2c814aa
2 changed files with 14 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 12 08:22:14 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Fri Oct 7 15:19:47 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -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