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
This commit is contained in:
parent
5cb0ad08a4
commit
ae3d2ee8ff
@ -1,9 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 8 03:47:56 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
Wed Jan 8 04:02:24 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- 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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user