forked from pool/python-python-mpv
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
09019b46c4 | |||
59f4a30a70 | |||
ab4579974c | |||
e9976df702 |
@@ -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>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,23 +18,24 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-python-mpv
|
||||
Version: 1.0.7
|
||||
Version: 1.0.8
|
||||
Release: 0
|
||||
Summary: Python interface to the mpv media player
|
||||
License: GPL-2.0-or-later OR LGPL-2.1-or-later
|
||||
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 PyVirtualDisplay}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools >= 61}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# Needed to be able to set the proper dependency to the library
|
||||
BuildRequires: mpv-devel
|
||||
# workaround via define needed as python_ubpackages wants to interpret Requires: lines
|
||||
%define libmpv %(rpm -qf $(readlink -f %{_libdir}/libmpv.so) --qf "%%{name}")
|
||||
Requires: %libmpv
|
||||
# workaround via define needed as python_subpackages wants to interpret Requires: lines
|
||||
# do not use %_libdir
|
||||
Requires: %(rpm -q --queryformat "%%{NAME}" -f $(readlink -f /usr/lib*/libmpv.so))
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -53,11 +54,14 @@ just like the lua interface does.
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest -k 'test_array_property_bounce'
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.GPL LICENSE.LGPL
|
||||
%doc README.rst
|
||||
%{python_sitelib}/mpv.py
|
||||
%{python_sitelib}/__pycache__/mpv.cpython*
|
||||
%{python_sitelib}/__pycache__/mpv.cpython*pyc
|
||||
%{python_sitelib}/python_mpv-%{version}.dist-info
|
||||
|
||||
%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