forked from pool/python-setuptools
Negations are poorly visible.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=271
This commit is contained in:
@@ -91,7 +91,7 @@ the wheel needs to be used directly in test or install setups
|
||||
rm -f setuptools/*.exe
|
||||
|
||||
%build
|
||||
%if !%{with test}
|
||||
%if %{without test}
|
||||
%{python_expand # bootstrap with built-in pip
|
||||
$python -m venv build/env
|
||||
build/env/bin/python -m ensurepip
|
||||
@@ -101,7 +101,7 @@ export PYTHONPATH=build/env/lib/python%{$python_bin_suffix}/site-packages
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%if %{without test}
|
||||
%{python_expand # use pip bootstrapped above
|
||||
export PYTHONPATH=build/env/lib/python%{$python_bin_suffix}/site-packages
|
||||
%{$python_pyproject_install}
|
||||
@@ -133,7 +133,7 @@ donttest+=" or test_setup_requires_with_transitive_extra_dependency"
|
||||
%pytest -rfE -n auto -k "not ($donttest)"
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%if %{without test}
|
||||
%files %{python_files}
|
||||
%if !%{with wheel}
|
||||
%license LICENSE
|
||||
|
Reference in New Issue
Block a user