Hello community,
here is the log from the commit of package python-python-mpv for
openSUSE:Factory checked in at 2019-12-04 13:55:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-mpv (Old)
and /work/SRC/openSUSE:Factory/.python-python-mpv.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-mpv"
Wed Dec 4 13:55:52 2019 rev:9 rq:753915 version:0.4.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-mpv/python-python-mpv.changes
2019-12-02 11:38:34.534463639 +0100
+++
/work/SRC/openSUSE:Factory/.python-python-mpv.new.4691/python-python-mpv.changes
2019-12-04 14:21:05.562474180 +0100
@@ -1,0 +2,8 @@
+Wed Dec 4 08:40:49 UTC 2019 - Luigi Baldoni <[email protected]>
+
+- Update to version 0.4.4.
+ * Allow mpv-1.dll to be placed in python script directory (#96)
+ * tests: Silence libmpv during unittests
+ * Fix Python 3.5 compatibility
+
+-------------------------------------------------------------------
Old:
----
python-mpv-0.4.1.tar.gz
New:
----
python-mpv-0.4.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-mpv.spec ++++++
--- /var/tmp/diff_new_pack.LKmJOS/_old 2019-12-04 14:21:05.958474513 +0100
+++ /var/tmp/diff_new_pack.LKmJOS/_new 2019-12-04 14:21:05.958474513 +0100
@@ -17,7 +17,7 @@
Name: python-python-mpv
-Version: 0.4.1
+Version: 0.4.4
Release: 0
Summary: Python interface to the mpv media player
License: AGPL-3.0-or-later
++++++ python-mpv-0.4.1.tar.gz -> python-mpv-0.4.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-mpv-0.4.1/PKG-INFO
new/python-mpv-0.4.4/PKG-INFO
--- old/python-mpv-0.4.1/PKG-INFO 2019-12-01 21:28:56.000000000 +0100
+++ new/python-mpv-0.4.4/PKG-INFO 2019-12-04 09:14:17.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: python-mpv
-Version: 0.4.1
+Version: 0.4.4
Summary: A python interface to the mpv media player
Home-page: https://github.com/jaseg/python-mpv
Author: jaseg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-mpv-0.4.1/README.rst
new/python-mpv-0.4.4/README.rst
--- old/python-mpv-0.4.1/README.rst 2019-12-01 21:21:57.000000000 +0100
+++ new/python-mpv-0.4.4/README.rst 2019-12-04 00:05:11.000000000 +0100
@@ -19,16 +19,21 @@
Requirements
~~~~~~~~~~~~
-libmpv (no kidding!)
-....................
+libmpv
+......
``libmpv.so`` either locally (in your current working directory) or somewhere
in your system library search path. This
module is somewhat lenient as far as ``libmpv`` versions are concerned but
since ``libmpv`` is changing quite frequently
you'll only get all the newest features when using an up-to-date version of
this module. The unit tests for this module
do some basic automatic version compatibility checks. If you discover anything
missing here, please open an `issue`_ or
submit a `pull request`_ on github.
-Python 2.7, 3.5 or 3.6 (officially)
-...................................
+On Windows you can place libmpv anywhere in your ``%PATH%`` (e.g. next to
``python.exe``) or next to this module's
+``mpv.py``. Before falling back to looking in the mpv module's directory,
python-mpv uses the DLL search order built
+into ctypes, which is different to the one Windows uses internally. Consult
`this stackoverflow post
+<https://stackoverflow.com/a/23805306>`__ for details.
+
+Python >= 3.5 (officially)
+..........................
The ``master`` branch officially only supports recent python releases (3.5
onwards), but there is the somewhat outdated
but functional `py2compat branch`_ providing Python 2 compatibility.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-mpv-0.4.1/mpv.py new/python-mpv-0.4.4/mpv.py
--- old/python-mpv-0.4.1/mpv.py 2019-12-01 21:24:34.000000000 +0100
+++ new/python-mpv-0.4.4/mpv.py 2019-12-04 00:14:14.000000000 +0100
@@ -28,7 +28,10 @@
import traceback
if os.name == 'nt':
- backend = CDLL('mpv-1.dll')
+ try:
+ backend = CDLL('mpv-1.dll')
+ except FileNotFoundError:
+ backend =
CDLL(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'mpv-1.dll'))
fs_enc = 'utf-8'
else:
import locale
@@ -1253,7 +1256,7 @@
"""
def register(cb):
if name in self._python_streams:
- raise KeyError(f'Python stream name "{name}" is already
registered')
+ raise KeyError('Python stream name "{}" is already
registered'.format(name))
self._python_streams[name] = (cb, size)
def unregister():
if name not in self._python_streams or\
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-mpv-0.4.1/python_mpv.egg-info/PKG-INFO
new/python-mpv-0.4.4/python_mpv.egg-info/PKG-INFO
--- old/python-mpv-0.4.1/python_mpv.egg-info/PKG-INFO 2019-12-01
21:28:56.000000000 +0100
+++ new/python-mpv-0.4.4/python_mpv.egg-info/PKG-INFO 2019-12-04
09:14:17.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: python-mpv
-Version: 0.4.1
+Version: 0.4.4
Summary: A python interface to the mpv media player
Home-page: https://github.com/jaseg/python-mpv
Author: jaseg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-mpv-0.4.1/setup.py
new/python-mpv-0.4.4/setup.py
--- old/python-mpv-0.4.1/setup.py 2019-12-01 21:27:50.000000000 +0100
+++ new/python-mpv-0.4.4/setup.py 2019-12-04 00:14:14.000000000 +0100
@@ -3,7 +3,7 @@
from setuptools import setup
setup(
name = 'python-mpv',
- version = '0.4.1',
+ version = '0.4.4',
py_modules = ['mpv'],
description = 'A python interface to the mpv media player',
url = 'https://github.com/jaseg/python-mpv',