14
0

Accepting request 1067837 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1067837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-mpv?expand=0&rev=18
This commit is contained in:
2023-02-27 11:55:20 +00:00
committed by Git OBS Bridge
4 changed files with 56 additions and 10 deletions

View File

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

3
python-mpv-1.0.2.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,43 @@
-------------------------------------------------------------------
Sun Feb 26 14:44:26 UTC 2023 - Luigi Baldoni <aloisio@gmx.com>
- Update to version v1.0.2
* Update license header with dual-license information
* Update package metadata
* Migrate away from setup.py and use PEP 612-style
pyproject.toml
* Update setup.cfg for new syntax
* Fix typo in repr format string
* tests: Add strategic sleeps to reduce likelihood of race
condition during test teardown
* Fix package upgrade
* Cleanup pipeline
* Skip Python 3.7
* Add Windows test
* Run on Python 3.7 - 3.10
* Rename job
* Use newer actions
* Skip unreliable test in CI
* Use xvfb-run to run tests
* Upgrade pip
* Remove starter
* Remove unused variables
* Use two blank lines between classes and functions
* Comment error prone test
* Fix environment variable
* Start Xvfb before running tests
* Add test workflow
* Add requirements file
* Remove unused imports
* Fix show_text level default parameter
* Fix observe_property() docstring
* Fix external subtitles example
* Fix typo in function name
* Update branch name references
* Error for known-incompatible libmpv
* Fix license field in setup.py
- Switch to new license
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Apr 24 16:53:52 UTC 2022 - Luigi Baldoni <aloisio@gmx.com> Sun Apr 24 16:53:52 UTC 2022 - Luigi Baldoni <aloisio@gmx.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-python-mpv # spec file for package python-python-mpv
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 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
@@ -17,14 +17,16 @@
Name: python-python-mpv Name: python-python-mpv
Version: 1.0.1 Version: 1.0.2
Release: 0 Release: 0
Summary: Python interface to the mpv media player Summary: Python interface to the mpv media player
License: AGPL-3.0-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 setuptools} BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
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
@@ -43,13 +45,17 @@ just like the lua interface does.
%setup -q -n python-mpv-%{version} %setup -q -n python-mpv-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%license LICENSE.GPL LICENSE.LGPL
%doc README.rst %doc README.rst
%{python_sitelib}/* %{python_sitelib}/mpv.py
%{python_sitelib}/__pycache__/mpv.cpython*
%{python_sitelib}/python_mpv-%{version}.dist-info
%changelog %changelog