forked from pool/python-setuptools
Accepting request 731210 from home:jayvdb:py3only
Allow building only python and fix Leap/SLE 15 OBS-URL: https://build.opensuse.org/request/show/731210 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=177
This commit is contained in:
committed by
Git OBS Bridge
parent
0577003532
commit
b1e92fb56f
@@ -63,7 +63,9 @@ BuildRequires: %{python_module pytest-virtualenv}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools >= %{version}}
|
||||
BuildRequires: %{python_module wheel}
|
||||
%if 0%{?have_python2} && ! 0%{?skip_python2}
|
||||
BuildRequires: python-futures
|
||||
%endif
|
||||
%else
|
||||
#!BuildIgnore: python-pyparsing
|
||||
#!BuildIgnore: python2-pyparsing
|
||||
@@ -110,6 +112,7 @@ sed -r -i '1s@^#!/.*$@@' setuptools/command/easy_install.py
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
export LANG=en_US.UTF-8
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
|
Reference in New Issue
Block a user