17
0

Compare commits

4 Commits

Author SHA256 Message Date
916c2a21dd Accepting request 1272644 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1272644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-mpv?expand=0&rev=26
2025-04-25 20:19:48 +00:00
725f258c10 Accepting request 1272643 from home:alois:branches:devel:languages:python
- Update to version 1.0.8
  * Add support for libmpv's new args to key binding handlers
  * Use callback id() instead of frame hash() to identify
    anonymous python streams
  * Tests: Fix race condition in
    test_wait_for_property_concurrency
  * Fix quit and quit_watch_later commands
  * Add test for dict-valued properties
  * Add API to set dict-valued properties

OBS-URL: https://build.opensuse.org/request/show/1272643
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-mpv?expand=0&rev=48
2025-04-25 10:32:10 +00:00
21104648f1 Accepting request 1247514 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1247514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-mpv?expand=0&rev=25
2025-02-21 20:36:36 +00:00
be52a57095 - Do not use %_libdir, it doesn't expand correctly on 64 bit arches.
- Run a portion of the testsuite.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-mpv?expand=0&rev=46
2025-02-14 03:27:20 +00:00
4 changed files with 33 additions and 10 deletions

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Apr 25 10:29:24 UTC 2025 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 1.0.8
* Add support for libmpv's new args to key binding handlers
* Use callback id() instead of frame hash() to identify
anonymous python streams
* Tests: Fix race condition in
test_wait_for_property_concurrency
* Fix quit and quit_watch_later commands
* Add test for dict-valued properties
* Add API to set dict-valued properties
-------------------------------------------------------------------
Fri Feb 14 03:26:31 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Do not use %_libdir, it doesn't expand correctly on 64 bit arches.
- Run a portion of the testsuite.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 24 15:32:51 UTC 2024 - Dirk Müller <dmueller@suse.com> Mon Jun 24 15:32:51 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-python-mpv # spec file for package python-python-mpv
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,23 +18,24 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-python-mpv Name: python-python-mpv
Version: 1.0.7 Version: 1.0.8
Release: 0 Release: 0
Summary: Python interface to the mpv media player Summary: Python interface to the mpv media player
License: GPL-2.0-or-later OR LGPL-2.1-or-later License: GPL-2.0-or-later OR LGPL-2.1-or-later
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 Source0: https://files.pythonhosted.org/packages/source/p/python-mpv/python_mpv-%{version}.tar.gz
Source99: %{name}-rpmlintrc Source99: %{name}-rpmlintrc
BuildRequires: %{python_module PyVirtualDisplay}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 61} BuildRequires: %{python_module setuptools >= 61}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# Needed to be able to set the proper dependency to the library # Needed to be able to set the proper dependency to the library
BuildRequires: mpv-devel BuildRequires: mpv-devel
# workaround via define needed as python_ubpackages wants to interpret Requires: lines # workaround via define needed as python_subpackages wants to interpret Requires: lines
%define libmpv %(rpm -qf $(readlink -f %{_libdir}/libmpv.so) --qf "%%{name}") # do not use %_libdir
Requires: %libmpv Requires: %(rpm -q --queryformat "%%{NAME}" -f $(readlink -f /usr/lib*/libmpv.so))
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -53,11 +54,14 @@ just like the lua interface does.
%pyproject_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest -k 'test_array_property_bounce'
%files %{python_files} %files %{python_files}
%license LICENSE.GPL LICENSE.LGPL %license LICENSE.GPL LICENSE.LGPL
%doc README.rst %doc README.rst
%{python_sitelib}/mpv.py %{python_sitelib}/mpv.py
%{python_sitelib}/__pycache__/mpv.cpython* %{python_sitelib}/__pycache__/mpv.cpython*pyc
%{python_sitelib}/python_mpv-%{version}.dist-info %{python_sitelib}/python_mpv-%{version}.dist-info
%changelog %changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:afc2f2677b08dcccf1e9e7a76d64ee4f603541cf6a750ebf4cce957be90ec836
size 51712

3
python_mpv-1.0.8.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:017fa359da059c831a94c419083491903e6d2f7c81b9841c33c196cabf4b3fe3
size 52680