Hello community,

here is the log from the commit of package sacad for openSUSE:Factory checked 
in at 2020-10-26 16:21:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sacad (Old)
 and      /work/SRC/openSUSE:Factory/.sacad.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sacad"

Mon Oct 26 16:21:52 2020 rev:5 rq:844019 version:2.3.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/sacad/sacad.changes      2020-09-22 
21:04:48.791595077 +0200
+++ /work/SRC/openSUSE:Factory/.sacad.new.3463/sacad.changes    2020-10-26 
16:22:27.807231931 +0100
@@ -1,0 +2,6 @@
+Sat Oct 24 08:24:06 UTC 2020 - Martin Hauke <mar...@gmx.de>
+
+- Update to verssion 2.3.4
+  * Workaround bitarray.bitdiff deprecation
+
+-------------------------------------------------------------------

Old:
----
  sacad-2.3.3.tar.gz

New:
----
  sacad-2.3.4.tar.gz

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

Other differences:
------------------
++++++ sacad.spec ++++++
--- /var/tmp/diff_new_pack.4evrKS/_old  2020-10-26 16:22:28.227232269 +0100
+++ /var/tmp/diff_new_pack.4evrKS/_new  2020-10-26 16:22:28.227232269 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           sacad
-Version:        2.3.3
+Version:        2.3.4
 Release:        0
 Summary:        Search and download music album covers
 License:        MPL-2.0

++++++ sacad-2.3.3.tar.gz -> sacad-2.3.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sacad-2.3.3/sacad/__init__.py 
new/sacad-2.3.4/sacad/__init__.py
--- old/sacad-2.3.3/sacad/__init__.py   2020-08-16 16:21:13.000000000 +0200
+++ new/sacad-2.3.4/sacad/__init__.py   2020-10-22 23:00:39.000000000 +0200
@@ -2,7 +2,7 @@
 
 """ Smart Automatic Cover Art Downloader : search and download music album 
covers. """
 
-__version__ = "2.3.3"
+__version__ = "2.3.4"
 __author__ = "desbma"
 __license__ = "MPL 2.0"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sacad-2.3.3/sacad/cover.py 
new/sacad-2.3.4/sacad/cover.py
--- old/sacad-2.3.3/sacad/cover.py      2020-08-16 16:21:13.000000000 +0200
+++ new/sacad-2.3.4/sacad/cover.py      2020-10-22 23:00:39.000000000 +0200
@@ -14,6 +14,10 @@
 
 import appdirs
 import bitarray
+try:
+  from bitarray import bitdiff
+except ImportError:
+  from bitarray.util import count_xor as bitdiff
 import PIL.Image
 import PIL.ImageFile
 import PIL.ImageFilter
@@ -664,7 +668,7 @@
   @staticmethod
   def areImageSigsSimilar(sig1, sig2):
     """ Compare 2 image "signatures" and return True if they seem to come from 
a similar image, False otherwise. """
-    return bitarray.bitdiff(sig1, sig2) < 100
+    return bitdiff(sig1, sig2) < 100
 
 
 # silence third party module loggers


Reply via email to