14
0
forked from pool/python-pygame

- Switch off tests on i586 (gh#pygame/pygame#2721)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygame?expand=0&rev=32
This commit is contained in:
2021-09-16 21:02:25 +00:00
committed by Git OBS Bridge
parent 53fe341b9d
commit ab6fef6923
2 changed files with 7 additions and 0 deletions

View File

@@ -122,12 +122,14 @@ rm %{buildroot}%{_docdir}/%{name}-doc/examples/.editorconfig
%fdupes %{buildroot}%{_docdir}/%{name}-doc/
%check
%ifnarch %{ix86}
export SDL_VIDEODRIVER=dummy
export SDL_AUDIODRIVER=disk
export LANG=en_US.UTF-8
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
$python -m pygame.tests.__main__ -v --exclude opengl --time_out 300
}
%endif
%files %{python_files}
%doc README.rst