This is the patch I applied to the Ubuntu package:

=== added file 'debian/patches/import_design_matrix.patch'
--- debian/patches/import_design_matrix.patch   1970-01-01 00:00:00 +0000
+++ debian/patches/import_design_matrix.patch   2011-09-22 18:15:26 +0000
@@ -0,0 +1,19 @@
+Description: nipype ftbfs due to ImportError.  This patch contains the
+ upstream git pull request fixing the import.
+Origin:
+ https://github.com/nipy/nipype/commit/33db6f6bff3d0b554037e0169d17a14b7ff66f89
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/nipype/+bug/835008
+Forwarded: not-needed
+Author: Barry Warsaw <[email protected]>
+
+--- a/nipype/interfaces/nipy/model.py
++++ b/nipype/interfaces/nipy/model.py
+@@ -6,7 +6,7 @@
+ 
+ from nipype.utils.misc import package_check
+ package_check('nipy')
+-import nipy.labs.utils.design_matrix as dm
++import nipy.modalities.fmri.design_matrix as dm
+ import nipy.labs.glm as GLM
+ 
+ from nipype.interfaces.base import (BaseInterface, TraitedSpec, traits, File,

=== modified file 'debian/patches/series'
--- debian/patches/series       2011-07-16 17:43:23 +0000
+++ debian/patches/series       2011-09-22 18:15:26 +0000
@@ -1,1 +1,2 @@
 deb_tollerate_exceptions_while_docbuilding
+import_design_matrix.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to