commit python-PyOgg for openSUSE:Factory

2020-01-22 Thread root
Hello community,

here is the log from the commit of package python-PyOgg for openSUSE:Factory 
checked in at 2020-01-22 22:44:27

Comparing /work/SRC/openSUSE:Factory/python-PyOgg (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyOgg.new.26092 (New)


Package is "python-PyOgg"

Wed Jan 22 22:44:27 2020 rev:7 rq:766151 version:0.6.12a1

Changes:

--- /work/SRC/openSUSE:Factory/python-PyOgg/python-PyOgg.changes
2020-01-15 16:46:21.977218951 +0100
+++ /work/SRC/openSUSE:Factory/.python-PyOgg.new.26092/python-PyOgg.changes 
2020-01-22 22:44:36.208525253 +0100
@@ -1,0 +2,7 @@
+Tue Jan 21 16:46:25 UTC 2020 - Ludwig Nussel 
+
+- Recommend shared library package name rather than actual soname.
+  Depending on arch, the soname would only pull in the -32bit
+  packages.
+
+---



Other differences:
--
++ python-PyOgg.spec ++
--- /var/tmp/diff_new_pack.MVup9W/_old  2020-01-22 22:44:38.020526166 +0100
+++ /var/tmp/diff_new_pack.MVup9W/_new  2020-01-22 22:44:38.020526166 +0100
@@ -36,12 +36,12 @@
 BuildRequires:  pkgconfig(vorbisenc)
 BuildRequires:  pkgconfig(vorbisfile)
 # Automatically get so numbers
-Recommends: %( ls %{_libdir}/libogg.so.*.*.* | sed -r 
's/.*(libogg\.so\.[0-9]*)\..*/\1/g' )
-Recommends: %( ls %{_libdir}/libopus.so.*.*.* | sed -r 
's/.*(libopus\.so\.[0-9]*)\..*/\1/g' )
-Recommends: %( ls %{_libdir}/libopusenc.so.*.*.* | sed -r 
's/.*(libopusenc\.so\.[0-9]*)\..*/\1/g' )
-Recommends: %( ls %{_libdir}/libopusfile.so.*.*.* | sed -r 
's/.*(libopusfile\.so\.[0-9]*)\..*/\1/g' )
-Recommends: %( ls %{_libdir}/libvorbisenc.so.*.*.* | sed -r 
's/.*(libvorbisenc\.so\.[0-9]*)\..*/\1/g' )
-Recommends: %( ls %{_libdir}/libvorbisfile.so.*.*.* | sed -r 
's/.*(libvorbisfile\.so\.[0-9]*)\..*/\1/g' )
+Recommends: %( ls %{_libdir}/libogg.so.*.*.* | sed -r 
's/.*(libogg)\.so\.([0-9]*)\..*/\1\2/g' )
+Recommends: %( ls %{_libdir}/libopus.so.*.*.* | sed -r 
's/.*(libopus)\.so\.([0-9]*)\..*/\1\2/g' )
+Recommends: %( ls %{_libdir}/libopusenc.so.*.*.* | sed -r 
's/.*(libopusenc)\.so\.([0-9]*)\..*/\1\2/g' )
+Recommends: %( ls %{_libdir}/libopusfile.so.*.*.* | sed -r 
's/.*(libopusfile)\.so\.([0-9]*)\..*/\1\2/g' )
+Recommends: %( ls %{_libdir}/libvorbisenc.so.*.*.* | sed -r 
's/.*(libvorbisenc)\.so\.([0-9]*)\..*/\1\2/g' )
+Recommends: %( ls %{_libdir}/libvorbisfile.so.*.*.* | sed -r 
's/.*(libvorbisfile)\.so\.([0-9]*)\..*/\1\2/g' )
 Recommends: libflac
 Recommends: libvorbis
 BuildArch:  noarch




commit python-PyOgg for openSUSE:Factory

2020-01-15 Thread root
Hello community,

here is the log from the commit of package python-PyOgg for openSUSE:Factory 
checked in at 2020-01-15 16:18:25

Comparing /work/SRC/openSUSE:Factory/python-PyOgg (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyOgg.new.30080 (New)


Package is "python-PyOgg"

Wed Jan 15 16:18:25 2020 rev:6 rq:764648 version:0.6.12a1

Changes:

--- /work/SRC/openSUSE:Factory/python-PyOgg/python-PyOgg.changes
2019-09-25 08:41:19.086280152 +0200
+++ /work/SRC/openSUSE:Factory/.python-PyOgg.new.30080/python-PyOgg.changes 
2020-01-15 16:46:21.977218951 +0100
@@ -1,0 +2,6 @@
+Wed Jan 15 12:18:50 UTC 2020 - Marketa Calabkova 
+
+- update to 0.6.12a1
+  * Fixed library loader
+
+---

Old:

  PyOgg-0.6.11a1.tar.gz

New:

  PyOgg-0.6.12a1.tar.gz



Other differences:
--
++ python-PyOgg.spec ++
--- /var/tmp/diff_new_pack.6pFBGH/_old  2020-01-15 16:46:22.381219175 +0100
+++ /var/tmp/diff_new_pack.6pFBGH/_new  2020-01-15 16:46:22.385219178 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PyOgg
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-PyOgg
-Version:0.6.11a1
+Version:0.6.12a1
 Release:0
 Summary:Python bindings for Xiphorg's Ogg Vorbis, Opus and FLAC
 License:BSD-3-Clause

++ PyOgg-0.6.11a1.tar.gz -> PyOgg-0.6.12a1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyOgg-0.6.11a1/PKG-INFO new/PyOgg-0.6.12a1/PKG-INFO
--- old/PyOgg-0.6.11a1/PKG-INFO 2019-08-11 11:14:11.0 +0200
+++ new/PyOgg-0.6.12a1/PKG-INFO 2019-12-19 19:04:25.735978800 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: PyOgg
-Version: 0.6.11a1
+Version: 0.6.12a1
 Summary: Xiph.org's Ogg Vorbis, Opus and FLAC for Python
 Home-page: https://github.com/Zuzu-Typ/PyOgg
 Author: Zuzu_Typ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyOgg-0.6.11a1/PyOgg.egg-info/PKG-INFO 
new/PyOgg-0.6.12a1/PyOgg.egg-info/PKG-INFO
--- old/PyOgg-0.6.11a1/PyOgg.egg-info/PKG-INFO  2019-08-11 11:14:11.0 
+0200
+++ new/PyOgg-0.6.12a1/PyOgg.egg-info/PKG-INFO  2019-12-19 19:04:25.0 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: PyOgg
-Version: 0.6.11a1
+Version: 0.6.12a1
 Summary: Xiph.org's Ogg Vorbis, Opus and FLAC for Python
 Home-page: https://github.com/Zuzu-Typ/PyOgg
 Author: Zuzu_Typ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyOgg-0.6.11a1/pyogg/__init__.py 
new/PyOgg-0.6.12a1/pyogg/__init__.py
--- old/PyOgg-0.6.11a1/pyogg/__init__.py2019-08-11 11:08:09.0 
+0200
+++ new/PyOgg-0.6.12a1/pyogg/__init__.py2019-12-19 18:58:36.0 
+0100
@@ -47,15 +47,11 @@
 bitstream = ctypes.c_int()
 bitstream_pointer = ctypes.pointer(bitstream)
 
-while True:
-new_bytes = vorbis.libvorbisfile.ov_read(ctypes.byref(vf), 
buffer_, 4096, 0, 2, 1, bitstream_pointer)
-
-array_ = ctypes.cast(buffer_, 
ctypes.POINTER(ctypes.c_char*4096)).contents
-
-self.buffer_array.append(array_.raw[:new_bytes])
+new_bytes = 1
 
-if new_bytes == 0:
-break
+while new_bytes:
+new_bytes = vorbis.libvorbisfile.ov_read(ctypes.byref(vf), 
buffer_, 4096, 0, 2, 1, bitstream_pointer)
+self.buffer_array.append(array.raw[:new_bytes])
 
 self.buffer = b"".join(self.buffer_array)
 
@@ -76,9 +72,9 @@
 
 self.frequency = info.contents.rate
 
-array = (ctypes.c_char*(PYOGG_STREAM_BUFFER_SIZE*self.channels))()
+self.array = 
(ctypes.c_char*(PYOGG_STREAM_BUFFER_SIZE*self.channels))()
 
-self.buffer_ = ctypes.cast(ctypes.pointer(array), ctypes.c_char_p)
+self.buffer_ = ctypes.cast(ctypes.pointer(self.array), 
ctypes.c_char_p)
 
 self.bitstream = ctypes.c_int()
 self.bitstream_pointer = ctypes.pointer(self.bitstream)
@@ -101,19 +97,16 @@
 return None
 buffer = []
 total_bytes_written = 0
+
+new_bytes = 1
 
-while True:
+while new_bytes and total_bytes_written < 
PYOGG_STREAM_BUFFER_SIZE*self.channels:
 new_bytes = 

commit python-PyOgg for openSUSE:Factory

2019-09-25 Thread root
Hello community,

here is the log from the commit of package python-PyOgg for openSUSE:Factory 
checked in at 2019-09-25 08:41:17

Comparing /work/SRC/openSUSE:Factory/python-PyOgg (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyOgg.new.7948 (New)


Package is "python-PyOgg"

Wed Sep 25 08:41:17 2019 rev:5 rq:732895 version:0.6.11a1

Changes:

--- /work/SRC/openSUSE:Factory/python-PyOgg/python-PyOgg.changes
2019-04-08 20:52:57.474542893 +0200
+++ /work/SRC/openSUSE:Factory/.python-PyOgg.new.7948/python-PyOgg.changes  
2019-09-25 08:41:19.086280152 +0200
@@ -1,0 +2,6 @@
+Tue Sep 24 09:42:57 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.6.11a1:
+  * no upstream changelog
+
+---

Old:

  PyOgg-0.6.9a1.tar.gz

New:

  PyOgg-0.6.11a1.tar.gz



Other differences:
--
++ python-PyOgg.spec ++
--- /var/tmp/diff_new_pack.JCTsir/_old  2019-09-25 08:41:19.702280069 +0200
+++ /var/tmp/diff_new_pack.JCTsir/_new  2019-09-25 08:41:19.706280069 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-PyOgg
-Version:0.6.9a1
+Version:0.6.11a1
 Release:0
 Summary:Python bindings for Xiphorg's Ogg Vorbis, Opus and FLAC
 License:BSD-3-Clause

++ PyOgg-0.6.9a1.tar.gz -> PyOgg-0.6.11a1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyOgg-0.6.9a1/PKG-INFO new/PyOgg-0.6.11a1/PKG-INFO
--- old/PyOgg-0.6.9a1/PKG-INFO  2019-04-01 13:24:28.0 +0200
+++ new/PyOgg-0.6.11a1/PKG-INFO 2019-08-11 11:14:11.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: PyOgg
-Version: 0.6.9a1
+Version: 0.6.11a1
 Summary: Xiph.org's Ogg Vorbis, Opus and FLAC for Python
 Home-page: https://github.com/Zuzu-Typ/PyOgg
 Author: Zuzu_Typ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyOgg-0.6.9a1/PyOgg.egg-info/PKG-INFO 
new/PyOgg-0.6.11a1/PyOgg.egg-info/PKG-INFO
--- old/PyOgg-0.6.9a1/PyOgg.egg-info/PKG-INFO   2019-04-01 13:24:28.0 
+0200
+++ new/PyOgg-0.6.11a1/PyOgg.egg-info/PKG-INFO  2019-08-11 11:14:11.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: PyOgg
-Version: 0.6.9a1
+Version: 0.6.11a1
 Summary: Xiph.org's Ogg Vorbis, Opus and FLAC for Python
 Home-page: https://github.com/Zuzu-Typ/PyOgg
 Author: Zuzu_Typ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyOgg-0.6.9a1/pyogg/__init__.py 
new/PyOgg-0.6.11a1/pyogg/__init__.py
--- old/PyOgg-0.6.9a1/pyogg/__init__.py 2019-04-01 12:56:00.0 +0200
+++ new/PyOgg-0.6.11a1/pyogg/__init__.py2019-08-11 11:08:09.0 
+0200
@@ -28,10 +28,11 @@
 class VorbisFile:
 def __init__(self, path):
 vf = vorbis.OggVorbis_File()
-error = vorbis.libvorbisfile.ov_fopen(vorbis.to_char_p(path), vf)
+error = vorbis.libvorbisfile.ov_fopen(vorbis.to_char_p(path), 
ctypes.byref(vf))
 if error != 0:
 raise PyOggError("file couldn't be opened or doesn't exist. 
Error code : {}".format(error))
-info = vorbis.libvorbisfile.ov_info(vf, -1)
+
+info = vorbis.libvorbisfile.ov_info(ctypes.byref(vf), -1)
 
 self.channels = info.contents.channels
 
@@ -47,7 +48,7 @@
 bitstream_pointer = ctypes.pointer(bitstream)
 
 while True:
-new_bytes = vorbis.libvorbisfile.ov_read(vf, buffer_, 4096, 0, 
2, 1, bitstream_pointer)
+new_bytes = vorbis.libvorbisfile.ov_read(ctypes.byref(vf), 
buffer_, 4096, 0, 2, 1, bitstream_pointer)
 
 array_ = ctypes.cast(buffer_, 
ctypes.POINTER(ctypes.c_char*4096)).contents
 
@@ -58,18 +59,18 @@
 
 self.buffer = b"".join(self.buffer_array)
 
-vorbis.libvorbisfile.ov_clear(vf)
+vorbis.libvorbisfile.ov_clear(ctypes.byref(vf))
 
 self.buffer_length = len(self.buffer)
 
 class VorbisFileStream:
 def __init__(self, path):
 self.vf = vorbis.OggVorbis_File()
-error = vorbis.ov_fopen(path, self.vf)
+error = vorbis.ov_fopen(path, ctypes.byref(self.vf))
 if error != 0:
 raise PyOggError("file couldn't be opened or doesn't exist. 
Error code : {}".format(error))

-info = vorbis.ov_info(self.vf, -1)
+info = vorbis.ov_info(ctypes.byref(self.vf), -1)
 
 self.channels = info.contents.channels
 
@@ -86,11 +87,11 @@
 
 def __del__(self):
 if self.exists:
-

commit python-PyOgg for openSUSE:Factory

2019-04-08 Thread root
Hello community,

here is the log from the commit of package python-PyOgg for openSUSE:Factory 
checked in at 2019-04-08 20:52:55

Comparing /work/SRC/openSUSE:Factory/python-PyOgg (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyOgg.new.3908 (New)


Package is "python-PyOgg"

Mon Apr  8 20:52:55 2019 rev:4 rq:691780 version:0.6.9a1

Changes:

--- /work/SRC/openSUSE:Factory/python-PyOgg/python-PyOgg.changes
2019-03-05 12:24:57.132848193 +0100
+++ /work/SRC/openSUSE:Factory/.python-PyOgg.new.3908/python-PyOgg.changes  
2019-04-08 20:52:57.474542893 +0200
@@ -1,0 +2,6 @@
+Fri Apr  5 11:01:07 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.6.9a1:
+  * no upstream changelog
+
+---

Old:

  PyOgg-0.6.7a1.tar.gz

New:

  PyOgg-0.6.9a1.tar.gz



Other differences:
--
++ python-PyOgg.spec ++
--- /var/tmp/diff_new_pack.CgRjK4/_old  2019-04-08 20:52:58.702543794 +0200
+++ /var/tmp/diff_new_pack.CgRjK4/_new  2019-04-08 20:52:58.722543809 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-PyOgg
-Version:0.6.7a1
+Version:0.6.9a1
 Release:0
 Summary:Python bindings for Xiphorg's Ogg Vorbis, Opus and FLAC
 License:BSD-3-Clause

++ PyOgg-0.6.7a1.tar.gz -> PyOgg-0.6.9a1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyOgg-0.6.7a1/PKG-INFO new/PyOgg-0.6.9a1/PKG-INFO
--- old/PyOgg-0.6.7a1/PKG-INFO  2019-03-01 11:42:07.0 +0100
+++ new/PyOgg-0.6.9a1/PKG-INFO  2019-04-01 13:24:28.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: PyOgg
-Version: 0.6.7a1
+Version: 0.6.9a1
 Summary: Xiph.org's Ogg Vorbis, Opus and FLAC for Python
 Home-page: https://github.com/Zuzu-Typ/PyOgg
 Author: Zuzu_Typ
@@ -162,4 +162,5 @@
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyOgg-0.6.7a1/PyOgg.egg-info/PKG-INFO 
new/PyOgg-0.6.9a1/PyOgg.egg-info/PKG-INFO
--- old/PyOgg-0.6.7a1/PyOgg.egg-info/PKG-INFO   2019-03-01 11:42:07.0 
+0100
+++ new/PyOgg-0.6.9a1/PyOgg.egg-info/PKG-INFO   2019-04-01 13:24:28.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: PyOgg
-Version: 0.6.7a1
+Version: 0.6.9a1
 Summary: Xiph.org's Ogg Vorbis, Opus and FLAC for Python
 Home-page: https://github.com/Zuzu-Typ/PyOgg
 Author: Zuzu_Typ
@@ -162,4 +162,5 @@
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyOgg-0.6.7a1/pyogg/__init__.py 
new/PyOgg-0.6.9a1/pyogg/__init__.py
--- old/PyOgg-0.6.7a1/pyogg/__init__.py 2018-12-22 09:29:31.0 +0100
+++ new/PyOgg-0.6.9a1/pyogg/__init__.py 2019-04-01 12:56:00.0 +0200
@@ -27,54 +27,45 @@
 if (PYOGG_OGG_AVAIL and PYOGG_VORBIS_AVAIL and PYOGG_VORBIS_FILE_AVAIL):
 class VorbisFile:
 def __init__(self, path):
-error, vf = vorbis.ov_fopen(path)
+vf = vorbis.OggVorbis_File()
+error = vorbis.libvorbisfile.ov_fopen(vorbis.to_char_p(path), vf)
 if error != 0:
 raise PyOggError("file couldn't be opened or doesn't exist. 
Error code : {}".format(error))
-info = vorbis.ov_info(vf, -1)
+info = vorbis.libvorbisfile.ov_info(vf, -1)
 
 self.channels = info.contents.channels
 
 self.frequency = info.contents.rate
 
-array = (ctypes.c_char*32768)()
+array = (ctypes.c_char*4096)()
 
 buffer_ = ctypes.cast(ctypes.pointer(array), ctypes.c_char_p)
 
-self.buffer = b""
+self.buffer_array = []
 
 bitstream = ctypes.c_int()
 bitstream_pointer = ctypes.pointer(bitstream)
 
 while True:
-new_bytes = vorbis.ov_read(vf, buffer_, 32768, 0, 2, 1, 
bitstream_pointer)
+new_bytes = vorbis.libvorbisfile.ov_read(vf, buffer_, 4096, 0, 
2, 1, bitstream_pointer)
 
-array_ = ctypes.cast(buffer_, 
ctypes.POINTER(ctypes.c_char*32768)).contents
+array_ = ctypes.cast(buffer_, 
ctypes.POINTER(ctypes.c_char*4096)).contents
 
-if 

commit python-PyOgg for openSUSE:Factory

2019-03-05 Thread root
Hello community,

here is the log from the commit of package python-PyOgg for openSUSE:Factory 
checked in at 2019-03-05 12:24:54

Comparing /work/SRC/openSUSE:Factory/python-PyOgg (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyOgg.new.28833 (New)


Package is "python-PyOgg"

Tue Mar  5 12:24:54 2019 rev:3 rq:681516 version:0.6.7a1

Changes:

--- /work/SRC/openSUSE:Factory/python-PyOgg/python-PyOgg.changes
2019-01-24 14:02:50.976090228 +0100
+++ /work/SRC/openSUSE:Factory/.python-PyOgg.new.28833/python-PyOgg.changes 
2019-03-05 12:24:57.132848193 +0100
@@ -1,0 +2,6 @@
+Mon Mar  4 16:46:04 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.6.7a1:
+  * no upstream changelog
+
+---

Old:

  PyOgg-0.6.4a1.tar.gz

New:

  PyOgg-0.6.7a1.tar.gz



Other differences:
--
++ python-PyOgg.spec ++
--- /var/tmp/diff_new_pack.fuSQwl/_old  2019-03-05 12:24:57.692848022 +0100
+++ /var/tmp/diff_new_pack.fuSQwl/_new  2019-03-05 12:24:57.696848021 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PyOgg
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -18,15 +18,16 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-PyOgg
-Version:0.6.4a1
+Version:0.6.7a1
 Release:0
 Summary:Python bindings for Xiphorg's Ogg Vorbis, Opus and FLAC
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:https://github.com/Zuzu-Typ/PyOgg
+URL:https://github.com/Zuzu-Typ/PyOgg
 Source: 
https://files.pythonhosted.org/packages/source/P/PyOgg/PyOgg-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(libopusenc)
 BuildRequires:  pkgconfig(ogg)
@@ -34,8 +35,6 @@
 BuildRequires:  pkgconfig(opusfile)
 BuildRequires:  pkgconfig(vorbisenc)
 BuildRequires:  pkgconfig(vorbisfile)
-Recommends: libflac
-Recommends: libvorbis
 # Automatically get so numbers
 Recommends: %( ls %{_libdir}/libogg.so.*.*.* | sed -r 
's/.*(libogg\.so\.[0-9]*)\..*/\1/g' )
 Recommends: %( ls %{_libdir}/libopus.so.*.*.* | sed -r 
's/.*(libopus\.so\.[0-9]*)\..*/\1/g' )
@@ -43,8 +42,9 @@
 Recommends: %( ls %{_libdir}/libopusfile.so.*.*.* | sed -r 
's/.*(libopusfile\.so\.[0-9]*)\..*/\1/g' )
 Recommends: %( ls %{_libdir}/libvorbisenc.so.*.*.* | sed -r 
's/.*(libvorbisenc\.so\.[0-9]*)\..*/\1/g' )
 Recommends: %( ls %{_libdir}/libvorbisfile.so.*.*.* | sed -r 
's/.*(libvorbisfile\.so\.[0-9]*)\..*/\1/g' )
+Recommends: libflac
+Recommends: libvorbis
 BuildArch:  noarch
-
 %python_subpackages
 
 %description

++ PyOgg-0.6.4a1.tar.gz -> PyOgg-0.6.7a1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyOgg-0.6.4a1/PKG-INFO new/PyOgg-0.6.7a1/PKG-INFO
--- old/PyOgg-0.6.4a1/PKG-INFO  2018-06-25 14:59:15.0 +0200
+++ new/PyOgg-0.6.7a1/PKG-INFO  2019-03-01 11:42:07.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: PyOgg
-Version: 0.6.4a1
+Version: 0.6.7a1
 Summary: Xiph.org's Ogg Vorbis, Opus and FLAC for Python
 Home-page: https://github.com/Zuzu-Typ/PyOgg
 Author: Zuzu_Typ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyOgg-0.6.4a1/PyOgg.egg-info/PKG-INFO 
new/PyOgg-0.6.7a1/PyOgg.egg-info/PKG-INFO
--- old/PyOgg-0.6.4a1/PyOgg.egg-info/PKG-INFO   2018-06-25 14:59:15.0 
+0200
+++ new/PyOgg-0.6.7a1/PyOgg.egg-info/PKG-INFO   2019-03-01 11:42:07.0 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: PyOgg
-Version: 0.6.4a1
+Version: 0.6.7a1
 Summary: Xiph.org's Ogg Vorbis, Opus and FLAC for Python
 Home-page: https://github.com/Zuzu-Typ/PyOgg
 Author: Zuzu_Typ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyOgg-0.6.4a1/pyogg/__init__.py 
new/PyOgg-0.6.7a1/pyogg/__init__.py
--- old/PyOgg-0.6.4a1/pyogg/__init__.py 2018-05-02 19:59:30.0 +0200
+++ new/PyOgg-0.6.7a1/pyogg/__init__.py 2018-12-22 09:29:31.0 +0100
@@ -210,10 +210,15 @@
 self.ptr_init = self.ptr.contents.value
 
 def get_buffer(self):
+if not hasattr(self, 'ptr'):
+return None
+
 samples_read = ctypes.c_int(0)
 while True:
 self.ptr.contents.value = self.ptr_init + 
samples_read.value*self.channels*2
 

commit python-PyOgg for openSUSE:Factory

2019-01-24 Thread root
Hello community,

here is the log from the commit of package python-PyOgg for openSUSE:Factory 
checked in at 2019-01-24 14:02:50

Comparing /work/SRC/openSUSE:Factory/python-PyOgg (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyOgg.new.28833 (New)


Package is "python-PyOgg"

Thu Jan 24 14:02:50 2019 rev:2 rq:659289 version:0.6.4a1

Changes:

--- /work/SRC/openSUSE:Factory/python-PyOgg/python-PyOgg.changes
2018-11-15 12:38:47.698358468 +0100
+++ /work/SRC/openSUSE:Factory/.python-PyOgg.new.28833/python-PyOgg.changes 
2019-01-24 14:02:50.976090228 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:52:33 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-PyOgg.spec ++
--- /var/tmp/diff_new_pack.CongsN/_old  2019-01-24 14:02:51.444089694 +0100
+++ /var/tmp/diff_new_pack.CongsN/_new  2019-01-24 14:02:51.448089690 +0100
@@ -25,7 +25,6 @@
 Group:  Development/Languages/Python
 Url:https://github.com/Zuzu-Typ/PyOgg
 Source: 
https://files.pythonhosted.org/packages/source/P/PyOgg/PyOgg-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros