14
0
forked from pool/python-pydub

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

- Update to 0.25.1
- Drop 0001-Skip-tests-that-use-unavailable-codecs.patch merged 
  upstream
- Reinstate python36 build. SciPy is optional

OBS-URL: https://build.opensuse.org/request/show/878231
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydub?expand=0&rev=15
This commit is contained in:
2021-03-11 15:27:17 +00:00
committed by Git OBS Bridge
parent 114b291fb0
commit 0a860f66bd
5 changed files with 52 additions and 205 deletions

View File

@@ -17,22 +17,19 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python36 1
Name: python-pydub
Version: 0.23.1
Version: 0.25.1
Release: 0
Summary: Audio manipulation with Python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/jiaaro/pydub
Source: https://github.com/jiaaro/pydub/archive/v%{version}.tar.gz#/pydub-%{version}.tar.gz
# PATCH-FIX-UPSTREAM
Patch0: 0001-Skip-tests-that-use-unavailable-codecs.patch
BuildRequires: %{python_module scipy}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: ffmpeg
BuildRequires: python-rpm-macros
BuildRequires: %{python_module scipy if (%python-base without python36-base)}
Recommends: python-scipy
Recommends: python-simpleaudio
Requires: ffmpeg
@@ -45,7 +42,6 @@ A Python module to manipulate audio with a high level interface.
%prep
%setup -q -n pydub-%{version}
%patch0 -p1
%build
%python_build
@@ -55,7 +51,7 @@ A Python module to manipulate audio with a high level interface.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python test/test.py
%pyunittest -v test.test
%files %{python_files}
%license LICENSE