Hello community, here is the log from the commit of package python-python-mpv for openSUSE:Factory checked in at 2020-03-19 19:50:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-python-mpv (Old) and /work/SRC/openSUSE:Factory/.python-python-mpv.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-mpv" Thu Mar 19 19:50:10 2020 rev:10 rq:786293 version:0.4.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-python-mpv/python-python-mpv.changes 2019-12-04 14:21:05.562474180 +0100 +++ /work/SRC/openSUSE:Factory/.python-python-mpv.new.3160/python-python-mpv.changes 2020-03-19 19:53:58.860277006 +0100 @@ -1,0 +2,6 @@ +Thu Mar 19 05:09:56 UTC 2020 - Steve Kowalik <steven.kowa...@suse.com> + +- Update to version 0.4.5: + * Windows: Use cytpes.load_library to look for DLL + +------------------------------------------------------------------- Old: ---- python-mpv-0.4.4.tar.gz New: ---- python-mpv-0.4.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-python-mpv.spec ++++++ --- /var/tmp/diff_new_pack.jS4wnk/_old 2020-03-19 19:53:59.396277026 +0100 +++ /var/tmp/diff_new_pack.jS4wnk/_new 2020-03-19 19:53:59.396277026 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-python-mpv # -# Copyright (c) 2019 SUSE LLC +# 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 @@ -17,7 +17,7 @@ Name: python-python-mpv -Version: 0.4.4 +Version: 0.4.5 Release: 0 Summary: Python interface to the mpv media player License: AGPL-3.0-or-later ++++++ python-mpv-0.4.4.tar.gz -> python-mpv-0.4.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-mpv-0.4.4/PKG-INFO new/python-mpv-0.4.5/PKG-INFO --- old/python-mpv-0.4.4/PKG-INFO 2019-12-04 09:14:17.000000000 +0100 +++ new/python-mpv-0.4.5/PKG-INFO 2019-12-04 09:49:29.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: python-mpv -Version: 0.4.4 +Version: 0.4.5 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.4/mpv.py new/python-mpv-0.4.5/mpv.py --- old/python-mpv-0.4.4/mpv.py 2019-12-04 00:14:14.000000000 +0100 +++ new/python-mpv-0.4.5/mpv.py 2019-12-04 09:48:07.000000000 +0100 @@ -28,10 +28,13 @@ import traceback if os.name == 'nt': - try: - backend = CDLL('mpv-1.dll') - except FileNotFoundError: - backend = CDLL(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'mpv-1.dll')) + dll = ctypes.util.find_library('mpv-1.dll') + if dll is None: + raise OSError('Cannot find mpv-1.dll in your system %PATH%. One way to deal with this is to ship mpv-1.dll ' + 'with your script and put the directory your script is in into %PATH% before "import mpv": ' + 'os.environ["PATH"] = os.path.dirname(__file__) + os.pathsep + os.environ["PATH"] ' + 'If mpv-1.dll is located elsewhere, you can add that path to os.environ["PATH"].') + backend = CDLL(dll) fs_enc = 'utf-8' else: import locale @@ -43,7 +46,7 @@ sofile = ctypes.util.find_library('mpv') if sofile is None: raise OSError("Cannot find libmpv in the usual places. Depending on your distro, you may try installing an " - "mpv-devel or mpv-libs package. If you have libmpv around but this script can't find it, maybe consult " + "mpv-devel or mpv-libs package. If you have libmpv around but this script can't find it, consult " "the documentation for ctypes.util.find_library which this script uses to look up the library " "filename.") backend = CDLL(sofile) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-mpv-0.4.4/python_mpv.egg-info/PKG-INFO new/python-mpv-0.4.5/python_mpv.egg-info/PKG-INFO --- old/python-mpv-0.4.4/python_mpv.egg-info/PKG-INFO 2019-12-04 09:14:17.000000000 +0100 +++ new/python-mpv-0.4.5/python_mpv.egg-info/PKG-INFO 2019-12-04 09:49:29.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: python-mpv -Version: 0.4.4 +Version: 0.4.5 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.4/setup.py new/python-mpv-0.4.5/setup.py --- old/python-mpv-0.4.4/setup.py 2019-12-04 00:14:14.000000000 +0100 +++ new/python-mpv-0.4.5/setup.py 2019-12-04 09:48:54.000000000 +0100 @@ -3,7 +3,7 @@ from setuptools import setup setup( name = 'python-mpv', - version = '0.4.4', + version = '0.4.5', py_modules = ['mpv'], description = 'A python interface to the mpv media player', url = 'https://github.com/jaseg/python-mpv',