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
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 14 02:08:41 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Define LANG in %check to fix openSUSE/SLE 15 testsuite
|
||||||
|
- Only require python-futures for building if building flavour
|
||||||
|
python2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 21 12:40:01 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Wed Aug 21 12:40:01 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -63,7 +63,9 @@ BuildRequires: %{python_module pytest-virtualenv}
|
|||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools >= %{version}}
|
BuildRequires: %{python_module setuptools >= %{version}}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
|
%if 0%{?have_python2} && ! 0%{?skip_python2}
|
||||||
BuildRequires: python-futures
|
BuildRequires: python-futures
|
||||||
|
%endif
|
||||||
%else
|
%else
|
||||||
#!BuildIgnore: python-pyparsing
|
#!BuildIgnore: python-pyparsing
|
||||||
#!BuildIgnore: python2-pyparsing
|
#!BuildIgnore: python2-pyparsing
|
||||||
@@ -110,6 +112,7 @@ sed -r -i '1s@^#!/.*$@@' setuptools/command/easy_install.py
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
%pytest
|
%pytest
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user