[dev-python/PyQt4] update Python 2.5 support patch

This commit is contained in:
Fabio Erculiani
2009-06-15 12:21:18 +02:00
parent 2c856730e4
commit 8d21f2338e
2 changed files with 16 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
AUX PyQt4-4.4.4-qgraphicsproxywidget-avoid-event-callback-loop.patch 1004 RMD160 5fa5609d31b53978846999be8045c75b940c3dd1 SHA1 a7122535d44bd8a81984870e98322b14521d2ced SHA256 db539a666d834756013fc48012914dd181116df7f5d1d21485ff947e20441eed
AUX PyQt4-4.4_compile.patch 883 RMD160 016122f1e9cbf8c74da760fd094e280fd5ec0257 SHA1 b745edae97d52882b44a53461b98c96e11dbee20 SHA256 dc95ae5b5f7d07431d563c2035d68c6097b8f20dbb2285d2762066938c69e830
AUX PyQt4-4.5-python2.5-support.patch 1379 RMD160 fc404c114bf20df9527f065a70633714b8b27734 SHA1 8895ac68bf9f8e01b23c04e2ffb1afb9b36996d6 SHA256 c1682e181f4e40f8d417dfe85b155ff661ae2e1cddf01023d806c4597ce875e8
AUX PyQt4-4.5-python2.5-support.patch 1849 RMD160 192e5cc4085132c02393ee8e896891dde9cb3f28 SHA1 8bf9284e6e1929c3b968874cb9610b53700d8caf SHA256 10faf28d625a2308aa18b5aa0f476037712dd551dd764fddbf87443421fa4da1
AUX configure.py.patch 1727 RMD160 31802058d0b0488264cdbcfeebd7ce9aff250957 SHA1 df4fee27f1486422b25d0072cfc388b207814c8f SHA256 06ee44a9fe43615b6bfada4aa7294303c016fd7c378ddf537823e33546306926
AUX fix_license_check.patch 643 RMD160 f8934e527bb8bf4f9edf98e068c07fc7b3380d97 SHA1 41fa9b3962add04c8196695c9d9b82b69d7d3ea8 SHA256 117025432a5db37375554577c66edbe7a6fdef6e120fb865b2f4304961dc2c42
DIST PyQt-x11-gpl-4.5.tar.gz 6941757 RMD160 bf90e4597faa4f117fc217620a706efbf28065b1 SHA1 0c66f55d93c6fbb0c6fe5ae31be57037c1a829e0 SHA256 10ee02736b2020dbf4f23cd782e902ac4e9ded160f18eaa4db99fa9254f17110
@@ -1,6 +1,6 @@
diff -Nurp PyQt-x11-gpl-4.5.orig/pyuic/uic/port_v3/invoke.py PyQt-x11-gpl-4.5/pyuic/uic/port_v3/invoke.py
--- PyQt-x11-gpl-4.5.orig/pyuic/uic/port_v3/invoke.py 2009-06-05 10:50:39.000000000 +0200
+++ PyQt-x11-gpl-4.5/pyuic/uic/port_v3/invoke.py 2009-06-15 11:48:38.669751531 +0200
--- PyQt-x11-gpl-4.5.orig/pyuic/uic/port_v3/invoke.py 2009-06-15 12:14:22.853997598 +0200
+++ PyQt-x11-gpl-4.5/pyuic/uic/port_v3/invoke.py 2009-06-15 12:14:38.671746852 +0200
@@ -11,16 +11,16 @@ def invoke(driver):
try:
exit_status = driver.invoke()
@@ -23,8 +23,8 @@ diff -Nurp PyQt-x11-gpl-4.5.orig/pyuic/uic/port_v3/invoke.py PyQt-x11-gpl-4.5/py
return exit_status
diff -Nurp PyQt-x11-gpl-4.5.orig/pyuic/uic/port_v3/load_plugin.py PyQt-x11-gpl-4.5/pyuic/uic/port_v3/load_plugin.py
--- PyQt-x11-gpl-4.5.orig/pyuic/uic/port_v3/load_plugin.py 2009-06-05 10:50:39.000000000 +0200
+++ PyQt-x11-gpl-4.5/pyuic/uic/port_v3/load_plugin.py 2009-06-15 11:48:52.198928024 +0200
--- PyQt-x11-gpl-4.5.orig/pyuic/uic/port_v3/load_plugin.py 2009-06-15 12:14:22.860042936 +0200
+++ PyQt-x11-gpl-4.5/pyuic/uic/port_v3/load_plugin.py 2009-06-15 12:14:38.694838102 +0200
@@ -11,7 +11,7 @@ def load_plugin(plugin, plugin_globals,
exec(plugin.read(), plugin_globals, plugin_locals)
except ImportError:
@@ -34,3 +34,14 @@ diff -Nurp PyQt-x11-gpl-4.5.orig/pyuic/uic/port_v3/load_plugin.py PyQt-x11-gpl-4
raise WidgetPluginError("%s: %s" % (e.__class__, str(e)))
return True
diff -Nurp PyQt-x11-gpl-4.5.orig/pyuic/uic/port_v3/proxy_base.py PyQt-x11-gpl-4.5/pyuic/uic/port_v3/proxy_base.py
--- PyQt-x11-gpl-4.5.orig/pyuic/uic/port_v3/proxy_base.py 2009-06-05 10:50:39.000000000 +0200
+++ PyQt-x11-gpl-4.5/pyuic/uic/port_v3/proxy_base.py 2009-06-15 12:20:26.991868939 +0200
@@ -1,5 +1,5 @@
from PyQt4.uic.Compiler.proxy_type import ProxyType
-class ProxyBase(metaclass=ProxyType):
- pass
+class ProxyBase():
+ __metaclass__ = ProxyType