SHA256
15
0
forked from pool/python-av
Files
python-av/python-av.spec
Steve Kowalik d25f22e47a - Update version to 7.0.1:
+ Major:
    * Drop support for FFmpeg < 4.0. (:issue:`559`)
    * Introduce per-error exceptions, and mirror the builtin exception heirarchy. It is recommended to examine your error handling code, as common FFmpeg errors will result in ValueError baseclasses now. (:issue:`563`)
    * Data stream's encode and decode return empty lists instead of none allowing common API use patterns with data streams.
    * Remove whence parameter from :meth:`InputContainer.seek` as non-time seeking doesn't seem to actually be supported by any FFmpeg formats.
   + Minor:
     * Users can disable the logging system to avoid lockups in sub-interpreters. (:issue:`545`)
     * Filters support audio in general, and a new :meth:`.Graph.add_abuffer`. (:issue:`562`)
     * :func:`av.open` supports timeout parameters. (:issue:`480` and :issue:`316`)
     * Expose :attr:`Stream.base_rate` and :attr:`Stream.guessed_rate`. (:issue:`564`)
     * :meth:`.VideoFrame.reformat` can specify interpolation.
     * Expose many sets of flags.
   + Fixes:
     * Removed deprecated AV_FRAME_DATA_QP_TABLE_* enums. (:issue:`607`)
     * Fix typing in :meth:`.CodecContext.parse` and make it more robust.
     * Fix wrong attribute in ByteSource. (:issue:`340`)
     * Remove exception that would break audio remuxing. (:issue:`537`)
     * Log messages include last FFmpeg error log in more helpful way.
     * Use AVCodecParameters so FFmpeg doesn't complain. (:issue:`222`)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-av?expand=0&rev=6
2020-02-24 01:50:14 +00:00

67 lines
2.0 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-%{**}}
Name: python-av
Version: 7.0.1
Release: 0
Summary: Python bindings for FFmpeg's libraries
License: BSD-3-Clause
Group: Development/Languages/Python
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 setuptools}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(libavdevice)
BuildRequires: pkgconfig(libavfilter)
BuildRequires: pkgconfig(libavutil)
Requires: python-setuptools
BuildRequires: %{python_module numpy}
%python_subpackages
%description
Pythonic bindings for FFmpeg's libraries.
%prep
%setup -q -n av-%{version}
%build
%python_build
%install
%python_install
%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
%files %{python_files}
%license LICENSE.txt
%doc README.md
%python3_only %{_bindir}/pyav
%{python_sitearch}/av
%{python_sitearch}/av-%{version}-py%{py_ver}.egg-info
%changelog