From 1ffdf3baf1b97b32cb18660ba33d83e38208a53ce0fd200ad07d7cc98732a0e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 3 Jun 2025 11:35:00 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip-api?expand=0&rev=22 --- python-pip-api.changes | 5 +++++ python-pip-api.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-pip-api.changes b/python-pip-api.changes index ee170c0..8b7fbf8 100644 --- a/python-pip-api.changes +++ b/python-pip-api.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 3 11:33:20 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Nov 24 08:08:45 UTC 2023 - Antonio Larrosa diff --git a/python-pip-api.spec b/python-pip-api.spec index d727de4..fd0222c 100644 --- a/python-pip-api.spec +++ b/python-pip-api.spec @@ -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