Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ExifRead for openSUSE:Factory 
checked in at 2021-08-28 22:29:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ExifRead (Old)
 and      /work/SRC/openSUSE:Factory/.python-ExifRead.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ExifRead"

Sat Aug 28 22:29:31 2021 rev:4 rq:914756 version:2.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ExifRead/python-ExifRead.changes  
2020-09-07 21:35:42.129390380 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-ExifRead.new.1899/python-ExifRead.changes    
    2021-08-28 22:29:54.334024453 +0200
@@ -1,0 +2,7 @@
+Fri Aug 27 12:36:56 UTC 2021 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Update to 2.3.2:
+  * Fixes for HEIC files from Note10+ (#127) by Drew Perttula
+  * Add missing EXIF OffsetTime tags (#126) by ??tienne Pelletier
+
+-------------------------------------------------------------------

Old:
----
  ExifRead-2.3.1.tar.gz

New:
----
  ExifRead-2.3.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-ExifRead.spec ++++++
--- /var/tmp/diff_new_pack.AH7z5F/_old  2021-08-28 22:29:54.890025071 +0200
+++ /var/tmp/diff_new_pack.AH7z5F/_new  2021-08-28 22:29:54.894025075 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ExifRead
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 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-ExifRead
-Version:        2.3.1
+Version:        2.3.2
 Release:        0
 Summary:        Module to read Exif metadata from TIFF and JPEG files
 License:        BSD-3-Clause
@@ -29,7 +29,7 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 BuildArch:      noarch
 %python_subpackages
 

++++++ ExifRead-2.3.1.tar.gz -> ExifRead-2.3.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExifRead-2.3.1/ChangeLog.rst 
new/ExifRead-2.3.2/ChangeLog.rst
--- old/ExifRead-2.3.1/ChangeLog.rst    2020-08-07 18:14:14.000000000 +0200
+++ new/ExifRead-2.3.2/ChangeLog.rst    2020-10-29 20:29:53.000000000 +0100
@@ -2,6 +2,10 @@
 Change Log
 **********
 
+2.3.2 ??? 2020-10-29
+    * Fixes for HEIC files from Note10+ (#127) by Drew Perttula
+    * Add missing EXIF OffsetTime tags (#126) by ??tienne Pelletier
+
 2.3.1 ??? 2020-08-07
     * Fix bug introduced with v2.3.0 in HEIC processing.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExifRead-2.3.1/ExifRead.egg-info/PKG-INFO 
new/ExifRead-2.3.2/ExifRead.egg-info/PKG-INFO
--- old/ExifRead-2.3.1/ExifRead.egg-info/PKG-INFO       2020-08-07 
18:14:47.000000000 +0200
+++ new/ExifRead-2.3.2/ExifRead.egg-info/PKG-INFO       2020-10-29 
20:34:03.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: ExifRead
-Version: 2.3.1
+Version: 2.3.2
 Summary: Read Exif metadata from tiff and jpeg files.
 Home-page: https://github.com/ianare/exif-py
 Author: Ianar?? S??vi
@@ -168,12 +168,13 @@
         Usage Example
         =============
         
-        This example shows how to use the library to correct the orientation 
of an image (using PIL for the transformation) before e.g. displaying it.
+        This example shows how to use the library to correct the orientation 
of an image
+        (using Pillow for the transformation) before e.g. displaying it.
         
         .. code-block:: python
         
             import exifread
-            from PIL import Image
+            from Pillow import Image
             
             def _read_img_and_correct_exif_orientation(path):
                 im = Image.open(path)
@@ -200,10 +201,8 @@
                     if 8 in val:
                         logging.debug("Rotating by 90 degrees.")
                         im = im.transpose(Image.ROTATE_90)
-        
                 return im
         
-        
         Credit
         ******
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExifRead-2.3.1/PKG-INFO new/ExifRead-2.3.2/PKG-INFO
--- old/ExifRead-2.3.1/PKG-INFO 2020-08-07 18:14:48.000000000 +0200
+++ new/ExifRead-2.3.2/PKG-INFO 2020-10-29 20:34:03.177606600 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: ExifRead
-Version: 2.3.1
+Version: 2.3.2
 Summary: Read Exif metadata from tiff and jpeg files.
 Home-page: https://github.com/ianare/exif-py
 Author: Ianar?? S??vi
@@ -168,12 +168,13 @@
         Usage Example
         =============
         
-        This example shows how to use the library to correct the orientation 
of an image (using PIL for the transformation) before e.g. displaying it.
+        This example shows how to use the library to correct the orientation 
of an image
+        (using Pillow for the transformation) before e.g. displaying it.
         
         .. code-block:: python
         
             import exifread
-            from PIL import Image
+            from Pillow import Image
             
             def _read_img_and_correct_exif_orientation(path):
                 im = Image.open(path)
@@ -200,10 +201,8 @@
                     if 8 in val:
                         logging.debug("Rotating by 90 degrees.")
                         im = im.transpose(Image.ROTATE_90)
-        
                 return im
         
-        
         Credit
         ******
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExifRead-2.3.1/README.rst 
new/ExifRead-2.3.2/README.rst
--- old/ExifRead-2.3.1/README.rst       2020-08-07 18:07:46.000000000 +0200
+++ new/ExifRead-2.3.2/README.rst       2020-10-29 20:24:27.000000000 +0100
@@ -160,12 +160,13 @@
 Usage Example
 =============
 
-This example shows how to use the library to correct the orientation of an 
image (using PIL for the transformation) before e.g. displaying it.
+This example shows how to use the library to correct the orientation of an 
image
+(using Pillow for the transformation) before e.g. displaying it.
 
 .. code-block:: python
 
     import exifread
-    from PIL import Image
+    from Pillow import Image
     
     def _read_img_and_correct_exif_orientation(path):
         im = Image.open(path)
@@ -192,10 +193,8 @@
             if 8 in val:
                 logging.debug("Rotating by 90 degrees.")
                 im = im.transpose(Image.ROTATE_90)
-
         return im
 
-
 Credit
 ******
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExifRead-2.3.1/exifread/__init__.py 
new/ExifRead-2.3.2/exifread/__init__.py
--- old/ExifRead-2.3.1/exifread/__init__.py     2020-08-07 18:14:14.000000000 
+0200
+++ new/ExifRead-2.3.2/exifread/__init__.py     2020-10-29 20:26:36.000000000 
+0100
@@ -10,7 +10,7 @@
 from .utils import ord_, make_string
 from .heic import HEICExifFinder
 
-__version__ = '2.3.1'
+__version__ = '2.3.2'
 
 logger = get_logger()
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExifRead-2.3.1/exifread/heic.py 
new/ExifRead-2.3.2/exifread/heic.py
--- old/ExifRead-2.3.1/exifread/heic.py 2020-08-07 18:14:14.000000000 +0200
+++ new/ExifRead-2.3.2/exifread/heic.py 2020-10-29 20:24:27.000000000 +0100
@@ -49,6 +49,13 @@
         read = self.file_handle.read(nbytes)
         if not read:
             raise EOFError
+        if len(read) != nbytes:
+            msg = "get(nbytes={nbytes}) found {read} bytes at postion 
{pos}".format(
+                nbytes=nbytes,
+                read=len(read),
+                pos=self.file_handle.tell()
+            )
+            raise BadSize(msg)
         return read
 
     def get16(self):
@@ -117,10 +124,11 @@
         self.file_handle.seek(box.after)
 
     def expect_parse(self, name):
-        box = self.next_box()
-        if box.name == name:
-            return self.parse_box(box)
-        raise WrongBox(name, box.name)
+        while True:
+            box = self.next_box()
+            if box.name == name:
+                return self.parse_box(box)
+            self.skip(box)
 
     def get_parser(self, box):
         method = 'parse_%s' % box.name
@@ -210,7 +218,9 @@
                 raise BoxVersion(2, box.version)
             if box.version in (1, 2):
                 # ignore construction_method
-                _ = self.get16()
+                self.get16()
+            # ignore data_reference_index
+            self.get16()
             box.base_offset = self.get_int(box.base_offset_size)
             extent_count = self.get16()
             extents = []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExifRead-2.3.1/exifread/tags/exif.py 
new/ExifRead-2.3.2/exifread/tags/exif.py
--- old/ExifRead-2.3.1/exifread/tags/exif.py    2020-08-03 11:57:29.000000000 
+0200
+++ new/ExifRead-2.3.2/exifread/tags/exif.py    2020-10-29 20:24:27.000000000 
+0100
@@ -258,6 +258,9 @@
     0x9000: ('ExifVersion', make_string),
     0x9003: ('DateTimeOriginal', ),
     0x9004: ('DateTimeDigitized', ),
+    0x9010: ('OffsetTime', ),
+    0x9011: ('OffsetTimeOriginal', ),
+    0x9012: ('OffsetTimeDigitized', ),
     0x9101: ('ComponentsConfiguration', {
         0: '',
         1: 'Y',

Reply via email to