15
0

- Update to version 3.0.21203 (no changelog)

- Drop fix-docs.patch (no longer needed)

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
commit 9df7c25b81
7 changed files with 213 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

21
fix-docs.patch Normal file
View File

@@ -0,0 +1,21 @@
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

103
python-python-vlc.changes Normal file
View File

@@ -0,0 +1,103 @@
-------------------------------------------------------------------
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>
- Update to version 3.0.20123 (no changelog)
-------------------------------------------------------------------
Wed Apr 19 16:13:56 UTC 2023 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 3.0.18122 (no changelog)
-------------------------------------------------------------------
Sat Dec 3 21:50:45 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 3.0.18121
No Changelog
-------------------------------------------------------------------
Tue Mar 1 07:07:11 UTC 2022 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 3.0.16120 (no changelog supplied)
-------------------------------------------------------------------
Wed Apr 21 07:33:38 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 3.0.12118 (no changelog supplied)
-------------------------------------------------------------------
Thu Apr 8 15:43:24 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 3.0.12117 (no changelog supplied)
-------------------------------------------------------------------
Sat Jul 25 14:10:07 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 3.0.11115 (no changelog supplied)
-------------------------------------------------------------------
Wed Apr 29 13:34:40 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 3.0.9113 (no changelog supplied)
-------------------------------------------------------------------
Sat Aug 3 18:38:14 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 3.0.7110 (no changelog supplied)
-------------------------------------------------------------------
Fri Apr 19 07:20:27 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 3.0.6109 (no changelog supplied)
-------------------------------------------------------------------
Wed Dec 19 18:44:18 UTC 2018 - aloisio@gmx.com
- Update to version 3.0.4106 (no changelog supplied)
-------------------------------------------------------------------
Tue Dec 4 12:53:11 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Tue May 8 15:52:15 UTC 2018 - aloisio@gmx.com
- Update to version 3.0.102 (no changelog supplied)
-------------------------------------------------------------------
Mon Feb 12 17:43:07 UTC 2018 - aloisio@gmx.com
- Update to version 3.0.101
- Refreshed fix-docs.patch
-------------------------------------------------------------------
Sun Dec 3 06:21:09 UTC 2017 - aloisio@gmx.com
- Added libvlc5 as runtime requirement
-------------------------------------------------------------------
Fri Nov 10 17:09:33 UTC 2017 - alarrosa@suse.com
- Update to version 2.2.6100:
* Python bindings: fix regexp to handle deprecated APIs
* Rename gtkvlc.py to gtk2vlc.py (using old pygtk2 version)
* Gtk3 example
* python bindings generator: handle bitshifted chars in enums
* python-vlc: allow to specify lib and plugin path
* python bindings: update generator version number
* Python bindings: update generated bindings for 2.2 and dev. versions
* python bindings: configure logging module when running standalone
* python bindings: refactor, move template files to their own directory
* Generate an appropriate PyPI installer package for the generated module
-------------------------------------------------------------------
Tue Sep 5 17:29:09 UTC 2017 - alarrosa@suse.com
- Initial release of python-python-vlc 1.1.2

59
python-python-vlc.spec Normal file
View File

@@ -0,0 +1,59 @@
#
# spec file for package python-python-vlc
#
# Copyright (c) 2024 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-vlc
Version: 3.0.21203
Release: 0
Summary: VLC bindings for python
License: LGPL-2.0-or-later
Group: Development/Languages/Python
URL: http://wiki.videolan.org/PythonBinding
Source: https://files.pythonhosted.org/packages/source/p/python-vlc/python_vlc-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: vlc-devel
Requires: libvlc5 >= 3.0.0
BuildArch: noarch
%python_subpackages
%description
VLC bindings for python.
This module provides ctypes-based bindings for the native libvlc API
(see http://wiki.videolan.org/LibVLC) of the VLC video player.
%prep
%autosetup -p1 -n python_vlc-%{version}
sed -i -e '1{\,^#! %{_bindir}/python,d}' vlc.py
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license COPYING
%doc README.module
%{python_sitelib}/*
%changelog

View File

@@ -0,0 +1,3 @@
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