forked from pool/python-av
* v8.0.2
+ Minor:
- Enable GnuTLS support in the FFmpeg build used for binary wheels (:issue:`675`).
- Make binary wheels compatible with Mac OS X 10.9+ (:issue:`662`).
- Drop Python 2.x buffer protocol code.
- Remove references to previous repository location.
* v8.0.1
+ Minor:
- Enable additional FFmpeg features in the binary wheels.
- Use os.fsencode for both input and output file names (:issue:`600`).
* v8.0.0
+ Major:
- Drop support for Python 2 and Python 3.4.
- Provide binary wheels for Linux, Mac and Windows.
+ Minor:
- Remove shims for obsolete FFmpeg versions (:issue:`588`).
- Add yuvj420p format for :meth:`VideoFrame.from_ndarray` and :meth:`VideoFrame.to_ndarray` (:issue:`583`).
- Add support for palette formats in :meth:`VideoFrame.from_ndarray` and :meth:`VideoFrame.to_ndarray` (:issue:`601`).
- Fix Python 3.8 deprecation warning related to abstract base classes (:issue:`616`).
- Remove ICC profiles from logos (:issue:`622`).
+ Fixes:
- Avoid infinite timeout in :func:`av.open` (:issue:`589`).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-av?expand=0&rev=12
76 lines
2.2 KiB
RPMSpec
76 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package python-av
|
|
#
|
|
# Copyright (c) 2020 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
%define skip_python2 1
|
|
Name: python-av
|
|
Version: 8.0.2
|
|
Release: 0
|
|
Summary: Python bindings for FFmpeg's libraries
|
|
License: BSD-3-Clause
|
|
URL: https://github.com/mikeboers/PyAV
|
|
Source: https://files.pythonhosted.org/packages/source/a/av/av-%{version}.tar.gz
|
|
BuildRequires: %{python_module Cython}
|
|
BuildRequires: %{python_module devel}
|
|
BuildRequires: %{python_module nose}
|
|
BuildRequires: %{python_module numpy}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: fdupes
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: python-rpm-macros
|
|
BuildRequires: pkgconfig(libavdevice)
|
|
BuildRequires: pkgconfig(libavfilter)
|
|
BuildRequires: pkgconfig(libavutil)
|
|
Requires: python-setuptools
|
|
Requires(post): update-alternatives
|
|
Requires(postun): update-alternatives
|
|
%python_subpackages
|
|
|
|
%description
|
|
Pythonic bindings for FFmpeg's libraries.
|
|
|
|
%prep
|
|
%setup -q -n av-%{version}
|
|
|
|
%build
|
|
%python_build
|
|
|
|
%install
|
|
%python_install
|
|
%python_clone -a %{buildroot}%{_bindir}/pyav
|
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
|
|
|
%check
|
|
# Sadly needs full ffmpeg with all the codec support so we have to skip
|
|
#%%python_exec setup.py test
|
|
|
|
%post
|
|
%python_install_alternative pyav
|
|
|
|
%postun
|
|
%python_uninstall_alternative pyav
|
|
|
|
%files %{python_files}
|
|
%license LICENSE.txt
|
|
%doc README.md
|
|
%python_alternative %{_bindir}/pyav
|
|
%{python_sitearch}/av
|
|
%{python_sitearch}/av-%{version}-py%{python_version}.egg-info
|
|
|
|
%changelog
|