forked from pool/python-build
WIP
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-build?expand=0&rev=22
This commit is contained in:
@@ -39,8 +39,14 @@ Source0: https://github.com/pypa/build/archive/%{version}.tar.gz#/build-%
|
||||
Source10: https://files.pythonhosted.org/packages/py2.py3/w/wheel/wheel-0.37.1-py2.py3-none-any.whl
|
||||
Source11: https://files.pythonhosted.org/packages/py3/f/flit-core/flit_core-3.8.0-py3-none-any.whl
|
||||
Source12: https://files.pythonhosted.org/packages/py3/t/tomli/tomli-2.0.1-py3-none-any.whl
|
||||
# PATCH-FIX-UPSTREAM gh#pypa/build#b52fdbd70550a9ef58e65b3376cec1e9951d2114
|
||||
Patch0: support-pip-23.patch
|
||||
# PATCH-FIX-UPSTREAM 589-colorized-pip23.patch gh#pypa/build#587 mcepl@suse.com
|
||||
# Different style of colouring in pip 23 (actually I see it even with pip 22)
|
||||
Patch0: 589-colorized-pip23.patch
|
||||
# PATCH-FIX-UPSTREAM 609-filter-out-malicious.patch gh#pypa/build!609 mcepl@suse.com
|
||||
# With new tarfile filters, there is now new warning
|
||||
Patch1: 609-filter-out-malicious.patch
|
||||
# # PATCH-FIX-UPSTREAM gh#pypa/build#b52fdbd70550a9ef58e65b3376cec1e9951d2114
|
||||
# Patch0: support-pip-23.patch
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module flit-core >= 3.4}
|
||||
BuildRequires: %{python_module pip}
|
||||
@@ -94,7 +100,7 @@ mkdir -p wheels
|
||||
cp %{SOURCE10} %{SOURCE11} %{SOURCE12} wheels/
|
||||
export PIP_FIND_LINKS="%{python3_sitelib}/../wheels $PWD/wheels"
|
||||
pushd tests
|
||||
%pytest -n auto -x
|
||||
%pytest -n auto
|
||||
popd
|
||||
%endif
|
||||
|
||||
|
Reference in New Issue
Block a user