14
0

Accepting request 1206371 from home:alois:branches:devel:languages:python

- Update to version 3.0.21203 (no changelog)
- Drop fix-docs.patch (no longer needed)

OBS-URL: https://build.opensuse.org/request/show/1206371
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-vlc?expand=0&rev=29
This commit is contained in:
2024-10-08 18:04:53 +00:00
committed by Git OBS Bridge
parent 789bb7c5af
commit 55a3ece426
5 changed files with 17 additions and 32 deletions

View File

@@ -1,21 +0,0 @@
Index: python-vlc-3.0.101/README.module
===================================================================
--- python-vlc-3.0.101.orig/README.module
+++ python-vlc-3.0.101/README.module
@@ -68,10 +68,12 @@ Libvlc methods are available as attribut
>>> import vlc
>>> vlc.libvlc_get_version()
- '3.0.0-rc2 Vetinari'
- >>> e=vlc.VLCException()
- >>> i=vlc.libvlc_new(0, [], e)
+ '3.0.0 Vetinari'
+ >>> i=vlc.libvlc_new(0, [])
>>> i
<vlc.Instance object at 0x8384a4c>
- >>> vlc.libvlc_audio_get_volume(i,e)
+ >>> p=vlc.libvlc_media_player_new(i)
+ >>> p
+ <vlc.MediaPlayer object at 0x7f7a40d0af28>
+ >>> vlc.libvlc_audio_get_volume(p)
50

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 8 17:29:57 UTC 2024 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 3.0.21203 (no changelog)
- Drop fix-docs.patch (no longer needed)
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 4 18:05:18 UTC 2023 - Luigi Baldoni <aloisio@gmx.com> Sat Nov 4 18:05:18 UTC 2023 - Luigi Baldoni <aloisio@gmx.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-python-vlc # spec file for package python-python-vlc
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 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,16 +17,16 @@
Name: python-python-vlc Name: python-python-vlc
Version: 3.0.20123 Version: 3.0.21203
Release: 0 Release: 0
Summary: VLC bindings for python Summary: VLC bindings for python
License: LGPL-2.0-or-later License: LGPL-2.0-or-later
Group: Development/Languages/Python Group: Development/Languages/Python
URL: http://wiki.videolan.org/PythonBinding URL: http://wiki.videolan.org/PythonBinding
Source: https://files.pythonhosted.org/packages/source/p/python-vlc/python-vlc-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/python-vlc/python_vlc-%{version}.tar.gz
# PATCH-FIX-UPSTREAM fix-docs.patch -- Fix some example code in the docs BuildRequires: %{python_module pip}
Patch0: fix-docs.patch
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: vlc-devel BuildRequires: vlc-devel
@@ -41,14 +41,14 @@ This module provides ctypes-based bindings for the native libvlc API
(see http://wiki.videolan.org/LibVLC) of the VLC video player. (see http://wiki.videolan.org/LibVLC) of the VLC video player.
%prep %prep
%autosetup -p1 -n python-vlc-%{version} %autosetup -p1 -n python_vlc-%{version}
sed -i -e '1{\,^#! %{_bindir}/python,d}' vlc.py sed -i -e '1{\,^#! %{_bindir}/python,d}' vlc.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}

View File

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

View File

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