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 <[email protected]>
+
+- 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.000000000 +0200
+++ new/PyOgg-0.6.11a1/PKG-INFO 2019-08-11 11:14:11.000000000 +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.000000000 
+0200
+++ new/PyOgg-0.6.11a1/PyOgg.egg-info/PKG-INFO  2019-08-11 11:14:11.000000000 
+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.000000000 +0200
+++ new/PyOgg-0.6.11a1/pyogg/__init__.py        2019-08-11 11:08:09.000000000 
+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:
-                vorbis.ov_clear(self.vf)
+                vorbis.ov_clear(ctypes.byref(self.vf))
             self.exists = False
 
         def clean_up(self):
-            vorbis.ov_clear(self.vf)
+            vorbis.ov_clear(ctypes.byref(self.vf))
 
             self.exists = False
 
@@ -102,7 +103,7 @@
             total_bytes_written = 0
             
             while True:
-                new_bytes = vorbis.ov_read(self.vf, self.buffer_, 
PYOGG_STREAM_BUFFER_SIZE*self.channels - total_bytes_written, 0, 2, 1, 
self.bitstream_pointer)
+                new_bytes = vorbis.ov_read(ctypes.byref(self.vf), 
self.buffer_, PYOGG_STREAM_BUFFER_SIZE*self.channels - total_bytes_written, 0, 
2, 1, self.bitstream_pointer)
                 
                 array_ = ctypes.cast(self.buffer_, 
ctypes.POINTER(ctypes.c_char*(PYOGG_STREAM_BUFFER_SIZE*self.channels))).contents
                 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyOgg-0.6.9a1/setup.py new/PyOgg-0.6.11a1/setup.py
--- old/PyOgg-0.6.9a1/setup.py  2019-04-01 13:24:20.000000000 +0200
+++ new/PyOgg-0.6.11a1/setup.py 2019-08-11 11:09:40.000000000 +0200
@@ -28,7 +28,7 @@
     # Versions should comply with PEP440.  For a discussion on single-sourcing
     # the version across setup.py and the project code, see
     # https://packaging.python.org/en/latest/single_source_version.html
-    version='0.6.9a1',
+    version='0.6.11a1',
 
     description='Xiph.org\'s Ogg Vorbis, Opus and FLAC for Python',
     


Reply via email to