forked from pool/python-pydub
- Switch to pytest macro.
- Limit to ffmpeg 5. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydub?expand=0&rev=21
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 25 04:56:28 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pytest macro.
|
||||
- Limit to ffmpeg 5.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 16 03:31:40 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@@ -29,15 +29,16 @@ Patch0: skip_libopenh264-7.patch
|
||||
# PATCH-FIX-UPSTREAM gh#jiaaro/pydub#769
|
||||
Patch1: fix-assertions.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module scipy}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: ffmpeg
|
||||
BuildRequires: ffmpeg-5
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module scipy if (%python-base without python36-base)}
|
||||
Recommends: python-scipy
|
||||
Recommends: python-simpleaudio
|
||||
Requires: ffmpeg
|
||||
Requires: ffmpeg-5
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
@@ -57,7 +58,7 @@ A Python module to manipulate audio with a high level interface.
|
||||
|
||||
%check
|
||||
export NO_OPENH264=1
|
||||
%pyunittest -v test.test
|
||||
%pytest test/test.py
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
Reference in New Issue
Block a user