From 9df7c25b81e22fdc1c1886e5ed4624aebd1a3d4f6d88e58eafae3627ece875d4 Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Tue, 8 Oct 2024 18:04:53 +0000 Subject: [PATCH] - 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 --- .gitattributes | 23 ++++++++ .gitignore | 1 + fix-docs.patch | 21 ++++++++ python-python-vlc.changes | 103 ++++++++++++++++++++++++++++++++++++ python-python-vlc.spec | 59 +++++++++++++++++++++ python-vlc-3.0.20123.tar.gz | 3 ++ python_vlc-3.0.21203.tar.gz | 3 ++ 7 files changed, 213 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 fix-docs.patch create mode 100644 python-python-vlc.changes create mode 100644 python-python-vlc.spec create mode 100644 python-vlc-3.0.20123.tar.gz create mode 100644 python_vlc-3.0.21203.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/fix-docs.patch b/fix-docs.patch new file mode 100644 index 0000000..43585a8 --- /dev/null +++ b/fix-docs.patch @@ -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.libvlc_audio_get_volume(i,e) ++ >>> p=vlc.libvlc_media_player_new(i) ++ >>> p ++ ++ >>> vlc.libvlc_audio_get_volume(p) + 50 diff --git a/python-python-vlc.changes b/python-python-vlc.changes new file mode 100644 index 0000000..19d7cf7 --- /dev/null +++ b/python-python-vlc.changes @@ -0,0 +1,103 @@ +------------------------------------------------------------------- +Tue Oct 8 17:29:57 UTC 2024 - Luigi Baldoni + +- 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 + +- Update to version 3.0.20123 (no changelog) + +------------------------------------------------------------------- +Wed Apr 19 16:13:56 UTC 2023 - Luigi Baldoni + +- Update to version 3.0.18122 (no changelog) + +------------------------------------------------------------------- +Sat Dec 3 21:50:45 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 3.0.18121 + No Changelog + +------------------------------------------------------------------- +Tue Mar 1 07:07:11 UTC 2022 - Luigi Baldoni + +- Update to version 3.0.16120 (no changelog supplied) + +------------------------------------------------------------------- +Wed Apr 21 07:33:38 UTC 2021 - Luigi Baldoni + +- Update to version 3.0.12118 (no changelog supplied) + +------------------------------------------------------------------- +Thu Apr 8 15:43:24 UTC 2021 - Luigi Baldoni + +- Update to version 3.0.12117 (no changelog supplied) + +------------------------------------------------------------------- +Sat Jul 25 14:10:07 UTC 2020 - Luigi Baldoni + +- Update to version 3.0.11115 (no changelog supplied) + +------------------------------------------------------------------- +Wed Apr 29 13:34:40 UTC 2020 - Luigi Baldoni + +- Update to version 3.0.9113 (no changelog supplied) + +------------------------------------------------------------------- +Sat Aug 3 18:38:14 UTC 2019 - Luigi Baldoni + +- Update to version 3.0.7110 (no changelog supplied) + +------------------------------------------------------------------- +Fri Apr 19 07:20:27 UTC 2019 - Luigi Baldoni + +- 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 + +- 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 diff --git a/python-python-vlc.spec b/python-python-vlc.spec new file mode 100644 index 0000000..a27dd72 --- /dev/null +++ b/python-python-vlc.spec @@ -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 diff --git a/python-vlc-3.0.20123.tar.gz b/python-vlc-3.0.20123.tar.gz new file mode 100644 index 0000000..cc7e442 --- /dev/null +++ b/python-vlc-3.0.20123.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:244fbb9e392a0326841fca926d6d12a2a36c546982191f493f148fa19e66b1d4 +size 159444 diff --git a/python_vlc-3.0.21203.tar.gz b/python_vlc-3.0.21203.tar.gz new file mode 100644 index 0000000..c1a90ed --- /dev/null +++ b/python_vlc-3.0.21203.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52d0544b276b11e58b6c0b748c3e0518f94f74b1b4cd328c83a59eacabead1ec +size 162211