15
0

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip-api?expand=0&rev=22
This commit is contained in:
2025-06-03 11:35:00 +00:00
committed by Git OBS Bridge
parent efaa391eed
commit 1ffdf3baf1
2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 3 11:33:20 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Fri Nov 24 08:08:45 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pip-api
#
# Copyright (c) 2023 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
@@ -35,8 +35,8 @@ BuildRequires: %{python_module pip >= 22.1}
BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pyparsing >= 2.4.7}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module virtualenv}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pip
@@ -51,10 +51,10 @@ The official unofficial pip API.
rm -Rf ./pip_api/_vendor
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check