From f867fc7e186929d6df2e946fa0e5c5d650dad11268343b09cf665cc480c3b39e Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 25 Mar 2024 04:56:59 +0000 Subject: [PATCH] - 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 --- python-pydub.changes | 6 ++++++ python-pydub.spec | 9 +++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-pydub.changes b/python-pydub.changes index c50c962..bba3153 100644 --- a/python-pydub.changes +++ b/python-pydub.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 25 04:56:28 UTC 2024 - Steve Kowalik + +- Switch to pytest macro. +- Limit to ffmpeg 5. + ------------------------------------------------------------------- Fri Feb 16 03:31:40 UTC 2024 - Steve Kowalik diff --git a/python-pydub.spec b/python-pydub.spec index 38774c0..34bbfeb 100644 --- a/python-pydub.spec +++ b/python-pydub.spec @@ -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