[med-svn] r6984 - in trunk/packages/mgltools/viewerframework/trunk/debian: . patches
Andreas Tille
tille at alioth.debian.org
Fri Jun 10 08:22:02 UTC 2011
Author: tille
Date: 2011-06-10 08:22:01 +0000 (Fri, 10 Jun 2011)
New Revision: 6984
Added:
trunk/packages/mgltools/viewerframework/trunk/debian/patches/
trunk/packages/mgltools/viewerframework/trunk/debian/patches/fix-python2.7.patch
trunk/packages/mgltools/viewerframework/trunk/debian/patches/series
Modified:
trunk/packages/mgltools/viewerframework/trunk/debian/changelog
Log:
There is a fix for the observed problem in BTS ...
Modified: trunk/packages/mgltools/viewerframework/trunk/debian/changelog
===================================================================
--- trunk/packages/mgltools/viewerframework/trunk/debian/changelog 2011-06-10 08:06:48 UTC (rev 6983)
+++ trunk/packages/mgltools/viewerframework/trunk/debian/changelog 2011-06-10 08:22:01 UTC (rev 6984)
@@ -1,10 +1,5 @@
-mgltools-viewerframework (1.5.4.cvs.20100912-2) UNRELEASED; urgency=low
+mgltools-viewerframework (1.5.4.cvs.20100912-2) unstable; urgency=low
- * package not released because installation ends in
- Compiling /usr/lib/python2.7/dist-packages/ViewerFramework/VF.py ...
- SyntaxError: ('cannot assign to __debug__', ('/usr/lib/python2.7/dist-packages/ViewerFramework/VF.py', 263, None, 'self.__debug__ = 0\n'))
- needs to be fixed
-
[ Thorsten Alteholz ]
* Build-Depends: debhelper (>= 8)
* debian/source/format: 3.0 (quilt)
@@ -19,6 +14,9 @@
* Added myself to Uploaders
* debian/compat: 8
* debian/rules: No need for overriding dh_clean
+ * Apply patch by Barry Warsaw <barry at ubuntu.com> to fix byte compilation
+ issue with Python 2.7 (Thanks to Barry)
+ Closes: #590821 (LP: #685476)
-- Andreas Tille <tille at debian.org> Fri, 10 Jun 2011 09:58:41 +0200
Added: trunk/packages/mgltools/viewerframework/trunk/debian/patches/fix-python2.7.patch
===================================================================
--- trunk/packages/mgltools/viewerframework/trunk/debian/patches/fix-python2.7.patch (rev 0)
+++ trunk/packages/mgltools/viewerframework/trunk/debian/patches/fix-python2.7.patch 2011-06-10 08:22:01 UTC (rev 6984)
@@ -0,0 +1,20 @@
+Author: Barry Warsaw <barry at python.org>
+Fixes: #590821
+Date: Mon, 24 Jan 2011 10:57:21 -0500
+Description: Assignment to __debug__, even as an attribute, is not allowed in
+ Python 2.7. See upstream tracker issue
+ <http://bugs.python.org/issue9438>. (LP: #685476)
+
+--- mgltools-viewerframework-1.5.4.cvs.20100912.orig/ViewerFramework/VF.py
++++ mgltools-viewerframework-1.5.4.cvs.20100912/ViewerFramework/VF.py
+@@ -257,10 +257,8 @@
+
+ self.hasGui = gui
+
+- global __debug__
+ self.withShell = withShell
+ self.trapExceptions = trapExceptions
+- self.__debug__ = 0
+ # create a socket communication object
+ try:
+ self.socketComm = Comm()
Added: trunk/packages/mgltools/viewerframework/trunk/debian/patches/series
===================================================================
--- trunk/packages/mgltools/viewerframework/trunk/debian/patches/series (rev 0)
+++ trunk/packages/mgltools/viewerframework/trunk/debian/patches/series 2011-06-10 08:22:01 UTC (rev 6984)
@@ -0,0 +1 @@
+fix-python2.7.patch
More information about the debian-med-commit
mailing list