From 7b27e20bfeebda4aebed08bb61f6436203cae6f00d15661375c2cdc005d90224 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 8 Jan 2025 04:04:01 +0000 Subject: [PATCH] Point pip at the existing wheels directory OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=35 --- python-argparse-manpage.changes | 6 +++--- python-argparse-manpage.spec | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/python-argparse-manpage.changes b/python-argparse-manpage.changes index a76d4f0..ee3a93e 100644 --- a/python-argparse-manpage.changes +++ b/python-argparse-manpage.changes @@ -1,9 +1,9 @@ ------------------------------------------------------------------- -Wed Jan 8 03:47:56 UTC 2025 - Steve Kowalik +Wed Jan 8 04:02:24 UTC 2025 - Steve Kowalik - Drop patch skip-pip-install.patch: - * Create a pip links directory with a wheel of setuptools, since that - is the only requirement for pip install with the current version of + * Point pip to the directory that setuptools-wheel uses, since that is + the only requirement for pip install with the current version of setuptools. - Remove unneeded Requires, limit them appropiately. - Switch to pyproject macros. diff --git a/python-argparse-manpage.spec b/python-argparse-manpage.spec index dd34c7c..dc102a5 100644 --- a/python-argparse-manpage.spec +++ b/python-argparse-manpage.spec @@ -61,10 +61,8 @@ support for (deprecated) optparse objects, too. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -mkdir wheels -cp $(ls -1 /usr/lib/python3.*/wheels/setuptools*whl | head -n 1) wheels export PIP_NO_INDEX=1 -export PIP_FIND_LINKS=$(pwd)/wheels +export PIP_FIND_LINKS=$(ls -1 /usr/lib/python3.*/wheels | head -n 1) %pytest %post