14
0
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:
2024-03-25 04:56:59 +00:00
committed by Git OBS Bridge
parent c54d01ba41
commit f867fc7e18
2 changed files with 11 additions and 4 deletions

View File

@@ -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> Fri Feb 16 03:31:40 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -29,15 +29,16 @@ Patch0: skip_libopenh264-7.patch
# PATCH-FIX-UPSTREAM gh#jiaaro/pydub#769 # PATCH-FIX-UPSTREAM gh#jiaaro/pydub#769
Patch1: fix-assertions.patch Patch1: fix-assertions.patch
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module scipy}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: ffmpeg BuildRequires: ffmpeg-5
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: %{python_module scipy if (%python-base without python36-base)}
Recommends: python-scipy Recommends: python-scipy
Recommends: python-simpleaudio Recommends: python-simpleaudio
Requires: ffmpeg Requires: ffmpeg-5
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -57,7 +58,7 @@ A Python module to manipulate audio with a high level interface.
%check %check
export NO_OPENH264=1 export NO_OPENH264=1
%pyunittest -v test.test %pytest test/test.py
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE