Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
916c2a21dd | |||
725f258c10 | |||
21104648f1 | |||
be52a57095 |
@@ -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>
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
@@ -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
3
python_mpv-1.0.8.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:017fa359da059c831a94c419083491903e6d2f7c81b9841c33c196cabf4b3fe3
|
||||||
|
size 52680
|
Reference in New Issue
Block a user