[82602] trunk/dports/python/py-spyder
eborisch at macports.org
eborisch at macports.org
Tue Aug 16 08:31:27 PDT 2011
Revision: 82602
http://trac.macports.org/changeset/82602
Author: eborisch at macports.org
Date: 2011-08-16 08:31:26 -0700 (Tue, 16 Aug 2011)
Log Message:
-----------
py-spyder: Fix for crash when detaching console/editor. See http://code.google.com/p/spyderlib/issues/detail?id=561#c20
Modified Paths:
--------------
trunk/dports/python/py-spyder/Portfile
Added Paths:
-----------
trunk/dports/python/py-spyder/Files/spyderlib_plugins_externalconsole.py.diff
trunk/dports/python/py-spyder/Files/spyderlib_widgets_editor.py.diff
Added: trunk/dports/python/py-spyder/Files/spyderlib_plugins_externalconsole.py.diff
===================================================================
--- trunk/dports/python/py-spyder/Files/spyderlib_plugins_externalconsole.py.diff (rev 0)
+++ trunk/dports/python/py-spyder/Files/spyderlib_plugins_externalconsole.py.diff 2011-08-16 15:31:26 UTC (rev 82602)
@@ -0,0 +1,13 @@
+--- spyderlib/plugins/externalconsole.py.orig 2011-08-16 10:18:36.000000000 -0500
++++ spyderlib/plugins/externalconsole.py 2011-08-16 10:18:56.000000000 -0500
+@@ -326,8 +326,8 @@
+
+ layout = QVBoxLayout()
+ self.tabwidget = Tabs(self, self.menu_actions)
+- if hasattr(self.tabwidget, 'setDocumentMode'):
+- self.tabwidget.setDocumentMode(True)
++ #if hasattr(self.tabwidget, 'setDocumentMode'):
++ # self.tabwidget.setDocumentMode(True)
+ self.connect(self.tabwidget, SIGNAL('currentChanged(int)'),
+ self.refresh_plugin)
+ self.connect(self.tabwidget, SIGNAL('move_data(int,int)'),
Added: trunk/dports/python/py-spyder/Files/spyderlib_widgets_editor.py.diff
===================================================================
--- trunk/dports/python/py-spyder/Files/spyderlib_widgets_editor.py.diff (rev 0)
+++ trunk/dports/python/py-spyder/Files/spyderlib_widgets_editor.py.diff 2011-08-16 15:31:26 UTC (rev 82602)
@@ -0,0 +1,13 @@
+--- spyderlib/widgets/editor.py.orig 2011-08-16 10:19:49.000000000 -0500
++++ spyderlib/widgets/editor.py 2011-08-16 10:20:03.000000000 -0500
+@@ -562,8 +562,8 @@
+ self.tabs = BaseTabs(self, menu=self.menu, menu_use_tooltips=True,
+ corner_widgets=corner_widgets)
+ self.tabs.set_close_function(self.close_file)
+- if hasattr(self.tabs, 'setDocumentMode'):
+- self.tabs.setDocumentMode(True)
++ #if hasattr(self.tabs, 'setDocumentMode'):
++ # self.tabs.setDocumentMode(True)
+ self.connect(self.tabs, SIGNAL('currentChanged(int)'),
+ self.current_changed)
+ layout.addWidget(self.tabs)
Modified: trunk/dports/python/py-spyder/Portfile
===================================================================
--- trunk/dports/python/py-spyder/Portfile 2011-08-16 15:16:48 UTC (rev 82601)
+++ trunk/dports/python/py-spyder/Portfile 2011-08-16 15:31:26 UTC (rev 82602)
@@ -4,7 +4,7 @@
PortSystem 1.0
name py-spyder
version 2.0.12
-revision 5
+revision 6
PortGroup python 1.0
@@ -41,7 +41,9 @@
patchfiles patch-widgets-pylintgui.py.diff \
spyderlib_spyder.py.diff \
spyderlib_utils_programs.py.diff \
- spyderlib_widgets_sourcecode_codeeditor.py.diff
+ spyderlib_widgets_sourcecode_codeeditor.py.diff \
+ spyderlib_plugins_externalconsole.py.diff \
+ spyderlib_widgets_editor.py.diff
post-patch {
reinplace "s|@@LINT_BIN_NAME@@|${LINT_BIN_NAME}|g" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110816/23598dc1/attachment-0001.html>
More information about the macports-changes
mailing list