Hello community,

here is the log from the commit of package python-kde4 for openSUSE:Factory 
checked in at 2014-02-20 07:55:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-kde4 (Old)
 and      /work/SRC/openSUSE:Factory/.python-kde4.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-kde4"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-kde4/python-kde4.changes  2014-01-27 
11:23:17.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-kde4.new/python-kde4.changes     
2014-02-20 07:55:16.000000000 +0100
@@ -1,0 +2,7 @@
+Sat Feb  1 10:09:55 UTC 2014 - tittiatc...@gmail.com
+
+- Update to 4.12.2
+   * KDE 4.12.2  release
+   * See http://www.kde.org/announcements/announce-4.12.2.php
+
+-------------------------------------------------------------------
python3-kde4.changes: same change

Old:
----
  pykde4-4.12.1.tar.xz

New:
----
  pykde4-4.12.2.tar.xz

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

Other differences:
------------------
++++++ python-kde4.spec ++++++
--- /var/tmp/diff_new_pack.PRrCmZ/_old  2014-02-20 07:55:17.000000000 +0100
+++ /var/tmp/diff_new_pack.PRrCmZ/_new  2014-02-20 07:55:17.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           python-kde4
-Version:        4.12.1
+Version:        4.12.2
 Release:        0
 Summary:        Python bindings for KDE 4
 License:        LGPL-2.1+ and GPL-2.0+

python3-kde4.spec: same change
++++++ pykde4-4.12.1.tar.xz -> pykde4-4.12.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pykde4-4.12.1/tools/pykdeuic4/pykdeuic4.py 
new/pykde4-4.12.2/tools/pykdeuic4/pykdeuic4.py
--- old/pykde4-4.12.1/tools/pykdeuic4/pykdeuic4.py      2013-09-11 
21:35:56.000000000 +0200
+++ new/pykde4-4.12.2/tools/pykdeuic4/pykdeuic4.py      2014-01-18 
20:18:35.000000000 +0100
@@ -23,6 +23,7 @@
 import time
 import optparse
 
+from PyQt4 import QtCore
 from PyQt4.uic.Compiler import indenter, compiler
 from PyQt4.uic.Compiler import qtproxies
 from PyQt4.uic.objcreator import MATCH,NO_MATCH
@@ -101,7 +102,12 @@
     output.write(HEADER % (uifile, time.ctime()))
     indenter.indentwidth = indent
     comp = compiler.UICompiler()
-    winfo = comp.compileUi(uifile, output, None)
+    pyqt_version_tuple = tuple(map(int, QtCore.PYQT_VERSION_STR.split(".")))
+    # the method signature for compileUI changed in 4.10.0
+    if pyqt_version_tuple < (4,10,0):
+        winfo = comp.compileUi(uifile, output, None)
+    else:
+        winfo = comp.compileUi(uifile, output, None, "")
 
     if exe:
         output.write(DISPLAY_CODE % winfo["uiclass"])

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to