Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-filetype for openSUSE:Factory 
checked in at 2022-03-28 17:00:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-filetype (Old)
 and      /work/SRC/openSUSE:Factory/.python-filetype.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-filetype"

Mon Mar 28 17:00:38 2022 rev:4 rq:965101 version:1.0.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-filetype/python-filetype.changes  
2021-11-22 23:05:31.589661757 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-filetype.new.1900/python-filetype.changes    
    2022-03-28 17:01:31.161047476 +0200
@@ -1,0 +2,13 @@
+Sat Mar 26 21:27:14 UTC 2022 - Dirk M??ller <dmuel...@suse.com>
+
+- update to 1.0.10:
+  * Merge pull request #113 from nottaw/master
+  * Use `==` for string comparisons
+  * Update __init__.py
+  * Merge pull request #111 from asfaltboy/patch-1
+  * Add python 3.9 to version classifiers
+  * Merge pull request #108 from hannesbraun/aiff-support
+  * Add AIFF support
+  * fix(Readme): rst syntax
+
+-------------------------------------------------------------------

Old:
----
  filetype-1.0.8.tar.gz

New:
----
  filetype-1.0.10.tar.gz

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

Other differences:
------------------
++++++ python-filetype.spec ++++++
--- /var/tmp/diff_new_pack.aEPCyz/_old  2022-03-28 17:01:31.649048139 +0200
+++ /var/tmp/diff_new_pack.aEPCyz/_new  2022-03-28 17:01:31.653048144 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-filetype
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 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-filetype
-Version:        1.0.8
+Version:        1.0.10
 Release:        0
 Summary:        Infer file type and MIME type of any file/buffer. No external 
dependencies
 License:        MIT

++++++ filetype-1.0.8.tar.gz -> filetype-1.0.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/filetype-1.0.8/History.md 
new/filetype-1.0.10/History.md
--- old/filetype-1.0.8/History.md       2021-09-24 17:25:54.000000000 +0200
+++ new/filetype-1.0.10/History.md      2022-02-03 20:34:19.000000000 +0100
@@ -1,4 +1,20 @@
 
+v1.0.10 / 2022-02-03
+====================
+
+  * Merge pull request #113 from nottaw/master
+  * Use `==` for string comparisons
+
+v1.0.9 / 2021-12-20
+===================
+
+  * Update __init__.py
+  * Merge pull request #111 from asfaltboy/patch-1
+  * Add python 3.9 to version classifiers
+  * Merge pull request #108 from hannesbraun/aiff-support
+  * Add AIFF support
+  * fix(Readme): rst syntax
+
 v1.0.5 / 2019-03-01
 ===================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/filetype-1.0.8/PKG-INFO new/filetype-1.0.10/PKG-INFO
--- old/filetype-1.0.8/PKG-INFO 2021-09-24 17:27:02.000000000 +0200
+++ new/filetype-1.0.10/PKG-INFO        2022-02-03 20:35:45.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: filetype
-Version: 1.0.8
+Version: 1.0.10
 Summary: Infer file type and MIME type of any file/buffer. No external 
dependencies.
 Home-page: https://github.com/h2non/filetype.py
 Author: Tomas Aparicio
@@ -111,6 +111,7 @@
         -  **flac** - ``audio/x-flac``
         -  **wav** - ``audio/x-wav``
         -  **amr** - ``audio/amr``
+        -  **aiff** - ``audio/x-aiff``
         
         Archive
         ^^^^^^^
@@ -189,6 +190,7 @@
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
 Classifier: Topic :: System
 Classifier: Topic :: System :: Filesystems
 Classifier: Topic :: Utilities
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/filetype-1.0.8/README.rst 
new/filetype-1.0.10/README.rst
--- old/filetype-1.0.8/README.rst       2021-09-24 17:26:51.000000000 +0200
+++ new/filetype-1.0.10/README.rst      2021-12-20 14:33:10.000000000 +0100
@@ -102,6 +102,7 @@
 -  **flac** - ``audio/x-flac``
 -  **wav** - ``audio/x-wav``
 -  **amr** - ``audio/amr``
+-  **aiff** - ``audio/x-aiff``
 
 Archive
 ^^^^^^^
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/filetype-1.0.8/filetype/__init__.py 
new/filetype-1.0.10/filetype/__init__.py
--- old/filetype-1.0.8/filetype/__init__.py     2021-09-22 18:50:21.000000000 
+0200
+++ new/filetype-1.0.10/filetype/__init__.py    2022-02-03 20:34:06.000000000 
+0100
@@ -7,4 +7,4 @@
 from .match import *  # noqa
 
 # Current package semver version
-__version__ = version = '1.0.8'
+__version__ = version = '1.0.10'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/filetype-1.0.8/filetype/helpers.py 
new/filetype-1.0.10/filetype/helpers.py
--- old/filetype-1.0.8/filetype/helpers.py      2020-04-28 20:31:26.000000000 
+0200
+++ new/filetype-1.0.10/filetype/helpers.py     2022-02-03 20:33:43.000000000 
+0100
@@ -21,7 +21,7 @@
         Otherwise False.
     """
     for kind in TYPES:
-        if kind.extension is ext:
+        if kind.extension == ext:
             return True
     return False
 
@@ -39,7 +39,7 @@
         Otherwise False.
     """
     for kind in TYPES:
-        if kind.mime is mime:
+        if kind.mime == mime:
             return True
     return False
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/filetype-1.0.8/filetype/types/__init__.py 
new/filetype-1.0.10/filetype/types/__init__.py
--- old/filetype-1.0.8/filetype/types/__init__.py       2021-09-22 
18:50:21.000000000 +0200
+++ new/filetype-1.0.10/filetype/types/__init__.py      2021-12-20 
14:33:10.000000000 +0100
@@ -53,6 +53,7 @@
     audio.Flac(),
     audio.Wav(),
     audio.Amr(),
+    audio.Aiff(),
 )
 
 # Supported font types
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/filetype-1.0.8/filetype/types/audio.py 
new/filetype-1.0.10/filetype/types/audio.py
--- old/filetype-1.0.8/filetype/types/audio.py  2021-09-22 18:50:21.000000000 
+0200
+++ new/filetype-1.0.10/filetype/types/audio.py 2021-12-20 14:33:10.000000000 
+0100
@@ -185,3 +185,28 @@
     def match(self, buf):
         return (buf[:2] == bytearray([0xff, 0xf1]) or
                 buf[:2] == bytearray([0xff, 0xf9]))
+
+
+class Aiff(Type):
+    """
+    Implements the AIFF audio type matcher.
+    """
+    MIME = 'audio/x-aiff'
+    EXTENSION = 'aiff'
+
+    def __init__(self):
+        super(Aiff, self).__init__(
+            mime=Aiff.MIME,
+            extension=Aiff.EXTENSION
+        )
+
+    def match(self, buf):
+        return (len(buf) > 11 and
+                buf[0] == 0x46 and
+                buf[1] == 0x4F and
+                buf[2] == 0x52 and
+                buf[3] == 0x4D and
+                buf[8] == 0x41 and
+                buf[9] == 0x49 and
+                buf[10] == 0x46 and
+                buf[11] == 0x46)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/filetype-1.0.8/filetype.egg-info/PKG-INFO 
new/filetype-1.0.10/filetype.egg-info/PKG-INFO
--- old/filetype-1.0.8/filetype.egg-info/PKG-INFO       2021-09-24 
17:27:02.000000000 +0200
+++ new/filetype-1.0.10/filetype.egg-info/PKG-INFO      2022-02-03 
20:35:45.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: filetype
-Version: 1.0.8
+Version: 1.0.10
 Summary: Infer file type and MIME type of any file/buffer. No external 
dependencies.
 Home-page: https://github.com/h2non/filetype.py
 Author: Tomas Aparicio
@@ -111,6 +111,7 @@
         -  **flac** - ``audio/x-flac``
         -  **wav** - ``audio/x-wav``
         -  **amr** - ``audio/amr``
+        -  **aiff** - ``audio/x-aiff``
         
         Archive
         ^^^^^^^
@@ -189,6 +190,7 @@
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
 Classifier: Topic :: System
 Classifier: Topic :: System :: Filesystems
 Classifier: Topic :: Utilities
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/filetype-1.0.8/setup.py new/filetype-1.0.10/setup.py
--- old/filetype-1.0.8/setup.py 2021-09-24 17:25:48.000000000 +0200
+++ new/filetype-1.0.10/setup.py        2022-02-03 20:33:54.000000000 +0100
@@ -6,7 +6,7 @@
 
 setup(
     name='filetype',
-    version='1.0.8',
+    version='1.0.10',
     description='Infer file type and MIME type of any file/buffer. '
                 'No external dependencies.',
     long_description=codecs.open('README.rst', 'r',
@@ -32,6 +32,7 @@
         'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
         'Programming Language :: Python :: 3.8',
+        'Programming Language :: Python :: 3.9',
         'Topic :: System',
         'Topic :: System :: Filesystems',
         'Topic :: Utilities'],

Reply via email to