SHA256
15
0
forked from pool/python-av

Accepting request 1039121 from home:Guillaume_G:branches:devel:languages:python

- Update to 10.0.0:
  * Add support for FFmpeg 5.0 and 5.1 (:issue:`817`).
  * Drop support for FFmpeg < 4.3.
  * Deprecate CodecContext.time_base for decoders (:issue:`966`).
  * Deprecate VideoStream.framerate and VideoStream.rate (:issue:`1005`).
  * Stop proxying Codec from Stream instances (:issue:`1037`).
  * Add VideoFrame ndarray operations for gbrp formats (:issue:`986`).
  * Add VideoFrame ndarray operations for gbrpf32 formats (:issue:`1028`).
  * Add VideoFrame ndarray operations for nv12 format (:issue:`996`).
  * Fix conversion to numpy array for multi-byte formats (:issue:`981`).
  * Safely iterate over filter pads (:issue:`1000`).
- Drop upstream patch:
  * python-av-ffmpeg5-compatibility.patch

OBS-URL: https://build.opensuse.org/request/show/1039121
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-av?expand=0&rev=23
This commit is contained in:
2022-11-30 16:25:09 +00:00
committed by Git OBS Bridge
parent c606411153
commit 72d1d7ef08
5 changed files with 21 additions and 752 deletions

View File

@@ -19,14 +19,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-av
Version: 9.2.0
Version: 10.0.0
Release: 0
Summary: Python bindings for FFmpeg's libraries
License: BSD-3-Clause
URL: https://github.com/PyAV-Org/PyAV
Source: https://files.pythonhosted.org/packages/source/a/av/av-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#PyAV-Org/PyAV#817 badshah400@gmail.com -- Add ffmpeg5 support, patch taken from upstream git
Patch0: https://github.com/PyAV-Org/PyAV/commit/18704658487ea25e5202ac18438d836dfe65b9d0.patch#/python-av-ffmpeg5-compatibility.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy}