Comment 2 for bug 346931

Revision history for this message
Andrew Straw (astraw) wrote :

Just to make what I did clear, here's the debdiff output against 3.1.0-1ubuntu1:

diff -u mayavi2-3.1.0/debian/changelog mayavi2-3.1.0/debian/changelog
--- mayavi2-3.1.0/debian/changelog
+++ mayavi2-3.1.0/debian/changelog
@@ -1,3 +1,9 @@
+mayavi2 (3.1.0-1ubuntu2) jaunty; urgency=low
+
+ * Fix FTBFS.
+
+ -- Andrew Straw <email address hidden> Sun, 22 Mar 2009 12:08:57 -0700
+
 mayavi2 (3.1.0-1ubuntu1) jaunty; urgency=low

   * Don't use reserved keyword in Python 2.6 as variable name.
only in patch2:
unchanged:
--- mayavi2-3.1.0.orig/enthought/tvtk/setup.py
+++ mayavi2-3.1.0/enthought/tvtk/setup.py
@@ -52,6 +52,9 @@
     except:
         pass
     print '-'*70
+ if os.path.exists(target):
+ print "Unlinking possibly old TVTK classes...",
+ os.unlink(target)
     print "Building TVTK classes...",
     sys.stdout.flush()
     cwd = os.getcwd()