OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=183
This commit is contained in:
parent
47c8c7ab20
commit
d3d6dc0eec
@ -124,8 +124,10 @@ find ./ -type f -name \*.py -exec sed -i \
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
|
# the 4 skipped test rely on the bundled packages but they are
|
||||||
|
# not available on virtualenv; this is expected behaviour
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
%pytest
|
%pytest -k 'not (test_clean_env_install or test_pip_upgrade_from_source or test_test_command_install_requirements or test_no_missing_dependencies)'
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
@ -37,3 +37,17 @@ Index: setuptools-41.4.0/setuptools/dist.py
|
|||||||
write_field('Provides-Extra', extra)
|
write_field('Provides-Extra', extra)
|
||||||
|
|
||||||
|
|
||||||
|
Index: setuptools-41.4.0/setuptools/tests/test_egg_info.py
|
||||||
|
===================================================================
|
||||||
|
--- setuptools-41.4.0.orig/setuptools/tests/test_egg_info.py
|
||||||
|
+++ setuptools-41.4.0/setuptools/tests/test_egg_info.py
|
||||||
|
@@ -291,8 +291,8 @@ class TestEggInfo:
|
||||||
|
wheel>=0.5
|
||||||
|
pytest
|
||||||
|
|
||||||
|
- wheel>=0.5
|
||||||
|
pytest
|
||||||
|
+ wheel>=0.5
|
||||||
|
''',
|
||||||
|
|
||||||
|
'''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user