Accepting request 1045127 from home:bnavigator:branches:devel:languages:python

- Skip a test failing because of missing libopenh264 support

OBS-URL: https://build.opensuse.org/request/show/1045127
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ffmpeg-python?expand=0&rev=9
This commit is contained in:
Matej Cepl 2022-12-24 00:54:47 +00:00 committed by Git OBS Bridge
parent 679950839e
commit 147807553f
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 23 23:19:11 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Skip a test failing because of missing libopenh264 support
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jan 16 11:33:04 UTC 2022 - Ben Greiner <code@bnavigator.de> Sun Jan 16 11:33:04 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -16,7 +16,6 @@
# #
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-ffmpeg-python Name: python-ffmpeg-python
Version: 0.2.0 Version: 0.2.0
@ -58,12 +57,14 @@ sed -i 's/collections.Iterable/collections.abc.Iterable/' ffmpeg/_run.py
%check %check
# skip some tests since we do not have FFmpeg with mp4-support on the public OBS instance # skip some tests since we do not have FFmpeg with mp4-support on the public OBS instance
# test__probe fails because of missing libopenh264 on plain openSUSE
# test_pipe - fails on Leap due to too old FFmpeg # test_pipe - fails on Leap due to too old FFmpeg
%pytest -k 'not (test__run or test__run__multi_output or test_pipe)' %pytest -k 'not (test__run or test__run__multi_output or test_pipe or test__probe)'
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README.md %doc README.md
%{python_sitelib}/ffmpeg* %{python_sitelib}/ffmpeg
%{python_sitelib}/ffmpeg_python-%{version}*-info
%changelog %changelog