commit python-av for openSUSE:Factory

2020-08-18 Thread root
Hello community,

here is the log from the commit of package python-av for openSUSE:Factory 
checked in at 2020-08-18 15:07:59

Comparing /work/SRC/openSUSE:Factory/python-av (Old)
 and  /work/SRC/openSUSE:Factory/.python-av.new.3399 (New)


Package is "python-av"

Tue Aug 18 15:07:59 2020 rev:7 rq:826795 version:8.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-av/python-av.changes  2020-06-24 
15:49:19.828516754 +0200
+++ /work/SRC/openSUSE:Factory/.python-av.new.3399/python-av.changes
2020-08-18 15:08:08.459968435 +0200
@@ -1,0 +2,7 @@
+Sat Aug 15 08:35:33 UTC 2020 - John Vandenberg 
+
+- Add missing runtime dependency on numpy
+- Require ffmpeg 4.3
+- Re-activate test suite, removing nose
+
+---



Other differences:
--
++ python-av.spec ++
--- /var/tmp/diff_new_pack.1AcVgb/_old  2020-08-18 15:08:09.915969037 +0200
+++ /var/tmp/diff_new_pack.1AcVgb/_new  2020-08-18 15:08:09.915969037 +0200
@@ -27,15 +27,17 @@
 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 pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  libavutil-devel >= 4.3
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(libavdevice)
 BuildRequires:  pkgconfig(libavfilter)
 BuildRequires:  pkgconfig(libavutil)
+Requires:   python-numpy
 Requires:   python-setuptools
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
@@ -47,6 +49,12 @@
 %prep
 %setup -q -n av-%{version}
 
+# doctests and timeout require network to setup tests
+rm tests/test_doctests.py tests/test_timeout.py
+
+# All tests using fate_suite require fetching data from 
http://fate.ffmpeg.org/fate-suite/
+sed -Ei 's/(from .common import .*), fate_suite(, .*)?/\1\2\ndef 
fate_suite(*a):\n  import unittest; raise unittest.SkipTest\n/' tests/test_*.py
+
 %build
 %python_build
 
@@ -55,16 +63,18 @@
 %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
 
+%check
+mv av .av
+# Skipping 4 tests requiring mpeg4 codec
+%pytest_arch tests -k 'not (test_codec_mpeg4 or test_encoding_with_pts or 
test_stream_index or test_video_default_options)'
+mv .av av
+
 %files %{python_files}
 %license LICENSE.txt
 %doc README.md




commit python-av for openSUSE:Factory

2020-06-24 Thread root
Hello community,

here is the log from the commit of package python-av for openSUSE:Factory 
checked in at 2020-06-24 15:49:14

Comparing /work/SRC/openSUSE:Factory/python-av (Old)
 and  /work/SRC/openSUSE:Factory/.python-av.new.2956 (New)


Package is "python-av"

Wed Jun 24 15:49:14 2020 rev:6 rq:816734 version:8.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-av/python-av.changes  2020-06-10 
00:43:02.162126744 +0200
+++ /work/SRC/openSUSE:Factory/.python-av.new.2956/python-av.changes
2020-06-24 15:49:19.828516754 +0200
@@ -1,0 +2,27 @@
+Wed Jun 24 01:24:35 UTC 2020 - Steve Kowalik 
+
+- Update to 8.0.2:
+  * 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`). 
+
+---

Old:

  av-7.0.1.tar.gz

New:

  av-8.0.2.tar.gz



Other differences:
--
++ python-av.spec ++
--- /var/tmp/diff_new_pack.dWXdI5/_old  2020-06-24 15:49:20.548519772 +0200
+++ /var/tmp/diff_new_pack.dWXdI5/_new  2020-06-24 15:49:20.552519789 +0200
@@ -17,12 +17,12 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:   python-av
-Version:7.0.1
+Version:8.0.2
 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}

++ av-7.0.1.tar.gz -> av-8.0.2.tar.gz ++
 78631 lines of diff (skipped)




commit python-av for openSUSE:Factory

2020-06-09 Thread root
Hello community,

here is the log from the commit of package python-av for openSUSE:Factory 
checked in at 2020-06-10 00:42:55

Comparing /work/SRC/openSUSE:Factory/python-av (Old)
 and  /work/SRC/openSUSE:Factory/.python-av.new.3606 (New)


Package is "python-av"

Wed Jun 10 00:42:55 2020 rev:5 rq:809808 version:7.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-av/python-av.changes  2020-03-22 
14:17:36.818073890 +0100
+++ /work/SRC/openSUSE:Factory/.python-av.new.3606/python-av.changes
2020-06-10 00:43:02.162126744 +0200
@@ -1,0 +2,5 @@
+Wed May 27 09:36:11 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-av.spec ++
--- /var/tmp/diff_new_pack.2Y9Ro8/_old  2020-06-10 00:43:04.342132460 +0200
+++ /var/tmp/diff_new_pack.2Y9Ro8/_new  2020-06-10 00:43:04.346132471 +0200
@@ -28,6 +28,7 @@
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
@@ -36,7 +37,8 @@
 BuildRequires:  pkgconfig(libavfilter)
 BuildRequires:  pkgconfig(libavutil)
 Requires:   python-setuptools
-BuildRequires:  %{python_module numpy}
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 %python_subpackages
 
 %description
@@ -50,16 +52,23 @@
 
 %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
-%python3_only %{_bindir}/pyav
+%python_alternative %{_bindir}/pyav
 %{python_sitearch}/av
 %{python_sitearch}/av-%{version}-py%{python_version}.egg-info
 




commit python-av for openSUSE:Factory

2020-03-22 Thread root
Hello community,

here is the log from the commit of package python-av for openSUSE:Factory 
checked in at 2020-03-22 14:17:35

Comparing /work/SRC/openSUSE:Factory/python-av (Old)
 and  /work/SRC/openSUSE:Factory/.python-av.new.3160 (New)


Package is "python-av"

Sun Mar 22 14:17:35 2020 rev:4 rq:787081 version:7.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-av/python-av.changes  2020-02-24 
15:56:24.019996723 +0100
+++ /work/SRC/openSUSE:Factory/.python-av.new.3160/python-av.changes
2020-03-22 14:17:36.818073890 +0100
@@ -1,0 +2,5 @@
+Sat Mar 14 08:45:07 UTC 2020 - Tomáš Chvátal 
+
+- Fix build without py2 available
+
+---



Other differences:
--
++ python-av.spec ++
--- /var/tmp/diff_new_pack.Up9tmG/_old  2020-03-22 14:17:37.330074218 +0100
+++ /var/tmp/diff_new_pack.Up9tmG/_new  2020-03-22 14:17:37.334074220 +0100
@@ -61,6 +61,6 @@
 %doc README.md
 %python3_only %{_bindir}/pyav
 %{python_sitearch}/av
-%{python_sitearch}/av-%{version}-py%{py_ver}.egg-info
+%{python_sitearch}/av-%{version}-py%{python_version}.egg-info
 
 %changelog




commit python-av for openSUSE:Factory

2020-02-24 Thread root
Hello community,

here is the log from the commit of package python-av for openSUSE:Factory 
checked in at 2020-02-24 15:54:20

Comparing /work/SRC/openSUSE:Factory/python-av (Old)
 and  /work/SRC/openSUSE:Factory/.python-av.new.26092 (New)


Package is "python-av"

Mon Feb 24 15:54:20 2020 rev:3 rq:778637 version:7.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-av/python-av.changes  2019-07-26 
12:41:54.753867072 +0200
+++ /work/SRC/openSUSE:Factory/.python-av.new.26092/python-av.changes   
2020-02-24 15:56:24.019996723 +0100
@@ -1,0 +2,24 @@
+Mon Feb 24 01:48:27 UTC 2020 - steven.kowa...@suse.com
+
+- 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`)
+
+---

Old:

  av-6.2.0.tar.gz

New:

  av-7.0.1.tar.gz



Other differences:
--
++ python-av.spec ++
--- /var/tmp/diff_new_pack.QFHbOt/_old  2020-02-24 15:56:25.888000586 +0100
+++ /var/tmp/diff_new_pack.QFHbOt/_new  2020-02-24 15:56:25.892000595 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-av
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-av
-Version:6.2.0
+Version:7.0.1
 Release:0
 Summary:Python bindings for FFmpeg's libraries
 License:BSD-3-Clause

++ av-6.2.0.tar.gz -> av-7.0.1.tar.gz ++
 174814 lines of diff (skipped)




commit python-av for openSUSE:Factory

2019-07-26 Thread root
Hello community,

here is the log from the commit of package python-av for openSUSE:Factory 
checked in at 2019-07-26 12:41:50

Comparing /work/SRC/openSUSE:Factory/python-av (Old)
 and  /work/SRC/openSUSE:Factory/.python-av.new.4126 (New)


Package is "python-av"

Fri Jul 26 12:41:50 2019 rev:2 rq:718541 version:6.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-av/python-av.changes  2019-05-13 
14:48:31.822485504 +0200
+++ /work/SRC/openSUSE:Factory/.python-av.new.4126/python-av.changes
2019-07-26 12:41:54.753867072 +0200
@@ -1,0 +2,12 @@
+Thu Jul 25 11:52:20 UTC 2019 - pgaj...@suse.com
+
+- version update to 6.2.0
+  * Allow :meth:`av.open` to be used as a context manager.
+  * Fix compatibility with PyPy, the full test suite now passes. (:issue:`130`)
+  * Add :meth:`.InputContainer.close` method. (:issue:`317`, :issue:`456`)
+  * Ensure audio output gets flushes when using a FIFO. (:issue:`511`)
+  * Make Python I/O buffer size configurable. (:issue:`512`)
+  * Make :class:`.AudioFrame` and :class:`VideoFrame` more garbage-collector
+friendly by breaking a reference cycle. (:issue:`517`)
+
+---

Old:

  av-6.1.2.tar.gz

New:

  av-6.2.0.tar.gz



Other differences:
--
++ python-av.spec ++
--- /var/tmp/diff_new_pack.5D9TVh/_old  2019-07-26 12:41:55.665866690 +0200
+++ /var/tmp/diff_new_pack.5D9TVh/_new  2019-07-26 12:41:55.669866687 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-av
-Version:6.1.2
+Version:6.2.0
 Release:0
 Summary:Python bindings for FFmpeg's libraries
 License:BSD-3-Clause
@@ -50,9 +50,6 @@
 
 %install
 %python_install
-rm -Rf %{buildroot}%{python2_sitearch}/scratchpad
-mkdir -p %{buildroot}%{_datadir}/python3-av
-mv %{buildroot}%{python3_sitearch}/scratchpad  
%{buildroot}%{_datadir}/python3-av
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
@@ -63,7 +60,6 @@
 %license LICENSE.txt
 %doc README.md
 %python3_only %{_bindir}/pyav
-%python3_only %{_datadir}/python3-av
 %{python_sitearch}/av
 %{python_sitearch}/av-%{version}-py%{py_ver}.egg-info
 

++ av-6.1.2.tar.gz -> av-6.2.0.tar.gz ++
 109029 lines of diff (skipped)