14
0

Accepting request 575850 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/575850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-vlc?expand=0&rev=2
This commit is contained in:
2018-02-15 12:25:31 +00:00
committed by Git OBS Bridge
parent 64ad902def
commit 8e785bdc10
5 changed files with 24 additions and 18 deletions

View File

@@ -1,15 +1,15 @@
Index: python-vlc-1.1.2/README.module
Index: python-vlc-3.0.101/README.module
===================================================================
--- python-vlc-1.1.2.orig/README.module
+++ python-vlc-1.1.2/README.module
@@ -42,12 +42,14 @@ directory as the libvlc.dll file (standa
--- 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()
- '1.0.0 Goldeneye'
+ '2.2.6 Umbrella'
- '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>
@@ -19,5 +19,3 @@ Index: python-vlc-1.1.2/README.module
+ <vlc.MediaPlayer object at 0x7f7a40d0af28>
+ >>> vlc.libvlc_audio_get_volume(p)
50
- Using wrapper classes:

View File

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

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-vlc
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -13,25 +13,26 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-vlc
Version: 2.2.6100
Version: 3.0.101
Release: 0
License: LGPL-2.0+
Summary: VLC bindings for python
Url: http://wiki.videolan.org/PythonBinding
License: LGPL-2.0+
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
# PATCH-FIX-UPSTREAM fix-docs.patch -- Fix some example code in the docs
Patch0: fix-docs.patch
BuildRequires: python-rpm-macros
BuildRequires: vlc-devel
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
Requires: libvlc5 >= 2.2.6
BuildRequires: python-rpm-macros
BuildRequires: vlc-devel
Requires: libvlc5 >= 3.0.0
BuildArch: noarch
%python_subpackages

View File

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

View File

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