14
0
Files
python-python-mpv/python-python-mpv.spec
Luigi Baldoni 071e52519f Accepting request 972391 from home:alois:branches:devel:languages:python
- Update to version 1.0.1
  * Fix setup.py for PyPI upload
  version 1.0.0:
  * Add cancel handling to streams
  * Remove outdated OpenGL examples from README
  * Add event queue overflow handling
  * Finish event infrastructure rework.
  * Finish rewriting event infrastructure
  * Continue reworking event infrastrucutre.
  * Use mock.Mock to mock Xvfbwrapper on Windows
  * Update event wrapper classes
  * Remove deprecated libmpv API
  * add albumart arg to video_add
  * Windows test workaround
  * Remove MpvSubApi wrapper
  * Remove dropped mpv-2 api methods.
  * Add some useful input commands
  * Add keyword argument command interface
  * setup.py: Update license information
  * Update copyright headers
  * Use upstream license
  * tests: Suppress video output on wayland systems
  * Add missing new event types
  * Add future-based async command API
  * mpv.py: add default error handler for failed async commands
  * mpv.py: add support for asynchronous commands
  * Default to node_command and rename old command to
    string_command
  * mpv.py: change mpv_detach_destroy to mpv_destroy
  * porcelain: Add fancy wait_for_event/property future handling
  * Bump minimum python version to 3.7
  * README: Add skip silence example
  * tests: Fix flaky sub_add test
  * tests: Add wait_for_shutdown unit test
  * tests: Switch to pytest, remove devnull hack
  * Add timeouts and error forwarding to
    wait_for_{property,event} condit…
  * Fix segmentation fault in unit tests on wayland
  * use daemon = True instead of setDaemon
  * test_property_observer_decorator: bump sleep to 0.1s
  * Fix handling of c_void_p args in MpvRenderParam.__init__()
  * Update PyGObject example with locale fixup workaround
  * mpv.py: update: Use ctypes.memmove to speed up
  * Add dfaker's imgui/OpenGL demo
  * README: Add Robozman's PyQt5/QML/OpenGL render context
    example

OBS-URL: https://build.opensuse.org/request/show/972391
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-mpv?expand=0&rev=30
2022-04-24 16:56:16 +00:00

56 lines
1.8 KiB
RPMSpec

#
# spec file for package python-python-mpv
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-python-mpv
Version: 1.0.1
Release: 0
Summary: Python interface to the mpv media player
License: AGPL-3.0-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 setuptools}
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
BuildArch: noarch
%python_subpackages
%description
A ctypes-based python interface to the mpv media player.
It gives more or less full control of all features of the player,
just like the lua interface does.
%prep
%setup -q -n python-mpv-%{version}
%build
%python_build
%install
%python_install
%files %{python_files}
%doc README.rst
%{python_sitelib}/*
%changelog