Accepting request 946766 from home:bnavigator:branches:devel:languages:python
- Python 3.10 support: Replace long deprecated collections.Iterable by collections.abc.Iterable -- gh#kroening/ffmpeg-python#624 OBS-URL: https://build.opensuse.org/request/show/946766 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ffmpeg-python?expand=0&rev=8
This commit is contained in:
parent
d7d4dd93a9
commit
679950839e
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 16 11:33:04 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Python 3.10 support: Replace long deprecated collections.Iterable
|
||||||
|
by collections.abc.Iterable -- gh#kroening/ffmpeg-python#624
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 9 09:58:46 UTC 2021 - pgajdos@suse.com
|
Thu Dec 9 09:58:46 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-ffmpeg-python
|
# spec file for package python-ffmpeg-python
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!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
|
||||||
@ -35,7 +35,6 @@ BuildArch: noarch
|
|||||||
BuildRequires: %{python_module future}
|
BuildRequires: %{python_module future}
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module pytest-mock}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: ffmpeg
|
BuildRequires: ffmpeg
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -47,6 +46,8 @@ Python bindings for FFmpeg - with complex filtering support
|
|||||||
%setup -q -n ffmpeg-python-%{version}
|
%setup -q -n ffmpeg-python-%{version}
|
||||||
# https://github.com/kkroening/ffmpeg-python/issues/617
|
# https://github.com/kkroening/ffmpeg-python/issues/617
|
||||||
sed -i 's:pytest-runner::' setup.py
|
sed -i 's:pytest-runner::' setup.py
|
||||||
|
# https://github.com/kkroening/ffmpeg-python/issues/624
|
||||||
|
sed -i 's/collections.Iterable/collections.abc.Iterable/' ffmpeg/_run.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user