Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-python-mpv for 
openSUSE:Factory checked in at 2023-07-26 13:23:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-mpv (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-mpv.new.15225 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-mpv"

Wed Jul 26 13:23:22 2023 rev:21 rq:1100097 version:1.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-mpv/python-python-mpv.changes      
2023-03-06 18:56:59.373105003 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-python-mpv.new.15225/python-python-mpv.changes
   2023-07-26 13:24:01.816030928 +0200
@@ -1,0 +2,10 @@
+Sun Jul 23 04:43:23 UTC 2023 - Luigi Baldoni <aloi...@gmx.com>
+
+- Update to version 1.0.4
+  * Add missing fields to MpvEventEndFile
+  * Add field "playlist_entry_id" to MpvEventEndFile
+  * Add 'self' to mouse function
+  * Replace xvfbwrapper with PyVirtualDisplay
+  * Add __version__ field to module
+
+-------------------------------------------------------------------

Old:
----
  python-mpv-1.0.3.tar.gz

New:
----
  python-mpv-1.0.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-python-mpv.spec ++++++
--- /var/tmp/diff_new_pack.oKgCYu/_old  2023-07-26 13:24:02.480034935 +0200
+++ /var/tmp/diff_new_pack.oKgCYu/_new  2023-07-26 13:24:02.484034959 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-python-mpv
-Version:        1.0.3
+Version:        1.0.4
 Release:        0
 Summary:        Python interface to the mpv media player
 License:        GPL-2.0-or-later OR LGPL-2.1-or-later

++++++ python-mpv-1.0.3.tar.gz -> python-mpv-1.0.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-mpv-1.0.3/PKG-INFO 
new/python-mpv-1.0.4/PKG-INFO
--- old/python-mpv-1.0.3/PKG-INFO       2023-02-27 10:31:30.520204800 +0100
+++ new/python-mpv-1.0.4/PKG-INFO       2023-07-22 16:19:03.739394000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: python-mpv
-Version: 1.0.3
+Version: 1.0.4
 Summary: A python interface to the mpv media player
 Author-email: jaseg <m...@jaseg.de>
 License: GPLv2+ or LGPLv2.1+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-mpv-1.0.3/mpv.py new/python-mpv-1.0.4/mpv.py
--- old/python-mpv-1.0.3/mpv.py 2023-02-27 10:26:59.000000000 +0100
+++ new/python-mpv-1.0.4/mpv.py 2023-07-22 16:04:17.000000000 +0200
@@ -17,6 +17,8 @@
 #
 # You can find copies of the GPLv2 and LGPLv2.1 licenses in the project 
repository's LICENSE.GPL and LICENSE.LGPL files.
 
+__version__ = '1.0.4'
+
 from ctypes import *
 import ctypes.util
 import threading
@@ -441,9 +443,14 @@
         return lazy_decoder(self._text)
 
 class MpvEventEndFile(Structure):
-    _fields_ = [('reason', c_int),
-                ('error', c_int)]
-
+    _fields_ = [
+        ('reason', c_int),
+        ('error', c_int),
+        ('playlist_entry_id', c_ulonglong),
+        ('playlist_insert_id', c_ulonglong),
+        ('playlist_insert_num_entries', c_int),
+    ]
+    
     EOF                 = 0
     RESTARTED           = 1
     ABORTED             = 2
@@ -1446,7 +1453,7 @@
         """Mapped mpv discnav command, see man mpv(1)."""
         self.command('discnav', command)
 
-    def mouse(x, y, button=None, mode='single'):
+    def mouse(self, x, y, button=None, mode='single'):
         """Mapped mpv mouse command, see man mpv(1)."""
         if button is None:
             self.command('mouse', x, y, mode)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-mpv-1.0.3/pyproject.toml 
new/python-mpv-1.0.4/pyproject.toml
--- old/python-mpv-1.0.3/pyproject.toml 2023-02-27 10:31:22.000000000 +0100
+++ new/python-mpv-1.0.4/pyproject.toml 2023-07-22 16:18:58.000000000 +0200
@@ -7,7 +7,7 @@
 
 [project]
 name = "python-mpv"
-version = "v1.0.3"
+version = "v1.0.4"
 description = "A python interface to the mpv media player"
 readme = "README.rst"
 authors = [{name = "jaseg", email = "m...@jaseg.de"}]
@@ -36,4 +36,4 @@
 
 [project.optional-dependencies]
 screenshot_raw = ["Pillow"]
-test = ['xvfbwrapper']
+test = ['PyVirtualDisplay']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-mpv-1.0.3/python_mpv.egg-info/PKG-INFO 
new/python-mpv-1.0.4/python_mpv.egg-info/PKG-INFO
--- old/python-mpv-1.0.3/python_mpv.egg-info/PKG-INFO   2023-02-27 
10:31:30.000000000 +0100
+++ new/python-mpv-1.0.4/python_mpv.egg-info/PKG-INFO   2023-07-22 
16:19:03.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: python-mpv
-Version: 1.0.3
+Version: 1.0.4
 Summary: A python interface to the mpv media player
 Author-email: jaseg <m...@jaseg.de>
 License: GPLv2+ or LGPLv2.1+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-mpv-1.0.3/python_mpv.egg-info/requires.txt 
new/python-mpv-1.0.4/python_mpv.egg-info/requires.txt
--- old/python-mpv-1.0.3/python_mpv.egg-info/requires.txt       2023-02-27 
10:31:30.000000000 +0100
+++ new/python-mpv-1.0.4/python_mpv.egg-info/requires.txt       2023-07-22 
16:19:03.000000000 +0200
@@ -3,4 +3,4 @@
 Pillow
 
 [test]
-xvfbwrapper
+PyVirtualDisplay
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-mpv-1.0.3/tests/test_mpv.py 
new/python-mpv-1.0.4/tests/test_mpv.py
--- old/python-mpv-1.0.3/tests/test_mpv.py      2023-02-27 10:26:59.000000000 
+0100
+++ new/python-mpv-1.0.4/tests/test_mpv.py      2023-07-22 16:03:02.000000000 
+0200
@@ -31,11 +31,11 @@
 
 
 if os.name == 'nt':
-  Xvfb = mock.Mock()
+  Display = mock.Mock()
   testvo='gpu'
 
 else:
-  from xvfbwrapper import Xvfb
+  from pyvirtualdisplay import Display
   testvo='x11'
 
 
@@ -54,7 +54,7 @@
 
 class MpvTestCase(unittest.TestCase):
     def setUp(self):
-        self.disp = Xvfb()
+        self.disp = Display()
         self.disp.start()
         self.m = mpv.MPV(vo=testvo, loglevel='debug', 
log_handler=timed_print())
 
@@ -444,7 +444,7 @@
     def test_python_stream(self):
         handler = mock.Mock()
 
-        disp = Xvfb()
+        disp = Display()
         disp.start()
         m = mpv.MPV(vo=testvo)
         def cb(evt):
@@ -502,7 +502,7 @@
         stream_mock.seek = mock.Mock(return_value=0)
         stream_mock.read = mock.Mock(return_value=b'')
 
-        disp = Xvfb()
+        disp = Display()
         disp.start()
         m = mpv.MPV(vo=testvo, video=False)
         def cb(evt):
@@ -536,7 +536,7 @@
         disp.stop()
 
     def test_stream_open_exception(self):
-        disp = Xvfb()
+        disp = Display()
         disp.start()
         m = mpv.MPV(vo=testvo, video=False)
 
@@ -572,7 +572,7 @@
             disp.stop()
 
     def test_python_stream_exception(self):
-        disp = Xvfb()
+        disp = Display()
         disp.start()
         m = mpv.MPV(vo=testvo)
 
@@ -610,7 +610,7 @@
             disp.stop()
 
     def test_stream_open_forward(self):
-        disp = Xvfb()
+        disp = Display()
         disp.start()
         m = mpv.MPV(vo=testvo, video=False)
 
@@ -692,7 +692,7 @@
         handler.assert_not_called()
 
     def test_wait_for_property_negative(self):
-        self.disp = Xvfb()
+        self.disp = Display()
         self.disp.start()
         m = mpv.MPV(vo=testvo)
         m.play(TESTVID)
@@ -715,7 +715,7 @@
         assert result.result()
 
     def test_wait_for_property_positive(self):
-        self.disp = Xvfb()
+        self.disp = Display()
         self.disp.start()
         handler = mock.Mock()
         m = mpv.MPV(vo=testvo)
@@ -735,7 +735,7 @@
         self.disp.stop()
 
     def test_wait_for_event(self):
-        self.disp = Xvfb()
+        self.disp = Display()
         self.disp.start()
         m = mpv.MPV(vo=testvo)
         m.play(TESTVID)
@@ -757,7 +757,7 @@
         assert result.result()
 
     def test_wait_for_property_shutdown(self):
-        self.disp = Xvfb()
+        self.disp = Display()
         self.disp.start()
         m = mpv.MPV(vo=testvo)
         m.play(TESTVID)
@@ -771,7 +771,7 @@
 
     @unittest.skipIf('test_wait_for_property_event_overflow' in SKIP_TESTS, 
reason="kills X-Server first")
     def test_wait_for_property_event_overflow(self):
-        self.disp = Xvfb()
+        self.disp = Display()
         self.disp.start()
         m = mpv.MPV(vo=testvo)
         m.play(TESTVID)
@@ -792,7 +792,7 @@
         self.disp.stop()
 
     def test_wait_for_event_shutdown(self):
-        self.disp = Xvfb()
+        self.disp = Display()
         self.disp.start()
         m = mpv.MPV(vo=testvo)
         m.play(TESTVID)
@@ -802,7 +802,7 @@
         self.disp.stop()
 
     def test_wait_for_shutdown(self):
-        self.disp = Xvfb()
+        self.disp = Display()
         self.disp.start()
         m = mpv.MPV(vo=testvo)
         m.play(TESTVID)
@@ -814,7 +814,7 @@
 
     def test_log_handler(self):
         handler = mock.Mock()
-        self.disp = Xvfb()
+        self.disp = Display()
         self.disp.start()
         m = mpv.MPV(vo=testvo, log_handler=handler)
         m.play(TESTVID)

Reply via email to