commit python-python-mpv for openSUSE:Leap:15.2

2020-04-14 Thread root
Hello community,

here is the log from the commit of package python-python-mpv for 
openSUSE:Leap:15.2 checked in at 2020-04-14 14:22:09

Comparing /work/SRC/openSUSE:Leap:15.2/python-python-mpv (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.python-python-mpv.new.3248 (New)


Package is "python-python-mpv"

Tue Apr 14 14:22:09 2020 rev:15 rq:793620 version:0.4.6

Changes:

--- /work/SRC/openSUSE:Leap:15.2/python-python-mpv/python-python-mpv.changes
2020-03-21 16:47:21.169659252 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-python-mpv.new.3248/python-python-mpv.changes
  2020-04-14 14:24:01.661410920 +0200
@@ -1,0 +2,11 @@
+Sun Apr  5 11:47:16 UTC 2020 - aloi...@gmx.com
+
+- Update to version v0.4.6
+  * Make tests run headless using xvfbwrapper
+  * Add some high-level API information to README
+  * README: Add info on GUI modes 
+  * README: add render context gtk example
+  * Initial libmpv/render.h mapping
+  * Add GTK/OpenGL example (#100)
+
+---

Old:

  python-mpv-0.4.5.tar.gz

New:

  python-mpv-0.4.6.tar.gz



Other differences:
--
++ python-python-mpv.spec ++
--- /var/tmp/diff_new_pack.xW3OOa/_old  2020-04-14 14:24:01.969411151 +0200
+++ /var/tmp/diff_new_pack.xW3OOa/_new  2020-04-14 14:24:01.973411154 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-python-mpv
-Version:0.4.5
+Version:0.4.6
 Release:0
 Summary:Python interface to the mpv media player
 License:AGPL-3.0-or-later

++ python-mpv-0.4.5.tar.gz -> python-mpv-0.4.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-mpv-0.4.5/PKG-INFO 
new/python-mpv-0.4.6/PKG-INFO
--- old/python-mpv-0.4.5/PKG-INFO   2019-12-04 09:49:29.0 +0100
+++ new/python-mpv-0.4.6/PKG-INFO   2020-04-05 13:05:16.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: python-mpv
-Version: 0.4.5
+Version: 0.4.6
 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.5/README.rst 
new/python-mpv-0.4.6/README.rst
--- old/python-mpv-0.4.5/README.rst 2019-12-04 09:46:21.0 +0100
+++ new/python-mpv-0.4.6/README.rst 2020-04-05 12:47:34.0 +0200
@@ -62,6 +62,9 @@
 import mpv
 player = mpv.MPV(ytdl=True)
 player.play('https://youtu.be/DOmdB7D-pUU')
+player.wait_for_playback()
+
+python-mpv mostly exposes mpv's built-in API to python, adding only some 
porcelain on top. Most "`input commands 
`_" are mapped to methods 
of the MPV class. Check out these methods and their docstrings in `the source 
`__ for things you can 
do. Additional controls and status information are exposed through `MPV 
properties `_. These can be accessed 
like ``player.metadata``, ``player.fullscreen`` and ``player.loop_playlist``.
 
 Threading
 ~
@@ -158,6 +161,27 @@
 player.play('python://foo')
 player.wait_for_playback()
 
+Using MPV's built-in GUI
+
+
+python-mpv is using mpv via libmpv. libmpv is meant for embedding into other 
applications and by default disables most
+GUI features such as the OSD or keyboard input. To enable the built-in GUI, 
use the following options when initializing
+the MPV instance. See `Issue 102`_ for more details
+
+.. _`issue 102`: https://github.com/jaseg/python-mpv/issues/61
+
+.. code:: python
+
+# Enable the on-screen controller and keyboard shortcuts
+player = mpv.MPV(input_default_bindings=True, input_vo_keyboard=True, 
osc=True)
+
+# Alternative version using the old "floating box" style on-screen 
controller
+player = mpv.MPV(player_operation_mode='pseudo-gui',
+ 
script_opts='osc-layout=box,osc-seekbarstyle=bar,osc-deadzonesize=0,osc-minmousemove=3',
+ input_default_bindings=True,
+ input_vo_keyboard=True,
+ osc=True)
+
 PyQT embedding
 ..
 
@@ -193,8 +217,8 @@
 win.show()
 sys.exit(app.exec_())
 
-PyGtk embedding
-..
+PyGObject embedding
+...
 
 .. code:: python
 
@@ -231,12 +255,24 @@
 application = MainClass()
 Gtk.main()
 
-Using OpenGL from PyQT
-..
+Using OpenGL from PyGObject via new render context API 
+..
+
+Just like it is possible to render into a GTK widget through X11 windows, 

commit python-python-mpv for openSUSE:Leap:15.2

2020-03-21 Thread root
Hello community,

here is the log from the commit of package python-python-mpv for 
openSUSE:Leap:15.2 checked in at 2020-03-21 16:45:57

Comparing /work/SRC/openSUSE:Leap:15.2/python-python-mpv (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.python-python-mpv.new.3160 (New)


Package is "python-python-mpv"

Sat Mar 21 16:45:57 2020 rev:14 rq:786762 version:0.4.5

Changes:

--- /work/SRC/openSUSE:Leap:15.2/python-python-mpv/python-python-mpv.changes
2020-03-02 13:21:37.270191240 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-python-mpv.new.3160/python-python-mpv.changes
  2020-03-21 16:47:21.169659252 +0100
@@ -1,0 +2,6 @@
+Thu Mar 19 05:09:56 UTC 2020 - Steve Kowalik 
+
+- 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.FnZbL7/_old  2020-03-21 16:47:21.993659774 +0100
+++ /var/tmp/diff_new_pack.FnZbL7/_new  2020-03-21 16:47:21.997659776 +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.0 +0100
+++ new/python-mpv-0.4.5/PKG-INFO   2019-12-04 09:49:29.0 +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.0 +0100
+++ new/python-mpv-0.4.5/mpv.py 2019-12-04 09:48:07.0 +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.0 +0100
+++ new/python-mpv-0.4.5/python_mpv.egg-info/PKG-INFO   2019-12-04 
09:49:29.0 +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.0 +0100
+++ 

commit python-python-mpv for openSUSE:Leap:15.2

2020-03-02 Thread root
Hello community,

here is the log from the commit of package python-python-mpv for 
openSUSE:Leap:15.2 checked in at 2020-03-02 13:21:36

Comparing /work/SRC/openSUSE:Leap:15.2/python-python-mpv (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.python-python-mpv.new.26092 (New)


Package is "python-python-mpv"

Mon Mar  2 13:21:36 2020 rev:13 rq:777047 version:0.4.4

Changes:

--- /work/SRC/openSUSE:Leap:15.2/python-python-mpv/python-python-mpv.changes
2020-01-15 15:52:24.467562290 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-python-mpv.new.26092/python-python-mpv.changes
 2020-03-02 13:21:37.270191240 +0100
@@ -1,0 +2,33 @@
+Wed Dec  4 08:40:49 UTC 2019 - Luigi Baldoni 
+
+- 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 
+
+---
+Mon Dec  2 08:22:36 UTC 2019 - Luigi Baldoni 
+
+- Update to version 0.4.1
+  * Add stream protocol handling
+
+---
+Tue Nov 26 12:42:09 UTC 2019 - Luigi Baldoni 
+
+- Update to version 0.4.0
+  * key bindings: Introduce key char parameter
+  * README - vo "opengl" doesn't exist anymore 
+
+---
+Sun Nov 10 16:05:24 UTC 2019 - Luigi Baldoni 
+
+
+- Update to version 0.3.10
+  * Use stride//4 rather than the returned image w
+  * README: Add cosven's QT/OpenGL example
+  * fix: getProcAddr function should return a function or 0
+  * Readme: Add PyGtk embedding example 
+
+- Spec cleanup
+
+---

Old:

  python-mpv-0.3.9.tar.gz

New:

  python-mpv-0.4.4.tar.gz



Other differences:
--
++ python-python-mpv.spec ++
--- /var/tmp/diff_new_pack.msOLJ9/_old  2020-03-02 13:21:37.574191845 +0100
+++ /var/tmp/diff_new_pack.msOLJ9/_new  2020-03-02 13:21:37.574191845 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-python-mpv
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,12 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-python-mpv
-Version:0.3.9
+Version:0.4.4
 Release:0
 Summary:Python interface to the mpv media player
 License:AGPL-3.0-or-later
-Group:  Development/Languages/Python
-Url:https://github.com/jaseg/python-mpv
+URL:https://github.com/jaseg/python-mpv
 Source0:
https://files.pythonhosted.org/packages/source/p/python-mpv/python-mpv-%{version}.tar.gz
 Source99:   %{name}-rpmlintrc
 BuildRequires:  %{python_module setuptools}

++ python-mpv-0.3.9.tar.gz -> python-mpv-0.4.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-mpv-0.3.9/PKG-INFO 
new/python-mpv-0.4.4/PKG-INFO
--- old/python-mpv-0.3.9/PKG-INFO   2018-07-25 12:08:50.0 +0200
+++ new/python-mpv-0.4.4/PKG-INFO   2019-12-04 09:14:17.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: python-mpv
-Version: 0.3.9
+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.3.9/README.rst 
new/python-mpv-0.4.4/README.rst
--- old/python-mpv-0.3.9/README.rst 2017-12-25 13:32:27.0 +0100
+++ new/python-mpv-0.4.4/README.rst 2019-12-04 00:05:11.0 +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