[Python-modules-team] Bug#475017: python-numpy: missing parentheses in /usr/share/pyshared/numpy/f2py/rules.py line 1222 (fixed upstream)

Ludovic Aubry ludovic.aubry at logilab.fr
Tue Apr 8 13:49:43 UTC 2008


Package: python-numpy
Version: 1:1.0.4-7
Severity: normal
Tags: patch

f2py fails while building module without this fix.

the patch below is from the subversion repository (so it's slightly
offset):

Index: rules.py
===================================================================
--- rules.py    (revision 4334)
+++ rules.py    (revision 4335)
@@ -1200,7 +1200,7 @@
         f.write('C     This file is autogenerated with f2py
(version:%s)\n'%(f2py_version))
         f.write('C     It contains Fortran 77 wrappers to fortran
functions.\n')
         lines = []
-        for l in '\n\n'.join(funcwrappers)+'\n'.split('\n'):
+        for l in ('\n\n'.join(funcwrappers)+'\n').split('\n'):
             if l and l[0]==' ':
                 while len(l)>=66:
                     lines.append(l[:66]+'\n     &')



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-numpy depends on:
ii  libblas3gf [libblas.so. 1.2-1.5          Basic Linear Algebra Subroutines 3
ii  libc6                   2.7-8            GNU C Library: Shared libraries
ii  libgcc1                 1:4.3-20080202-1 GCC support library
ii  libgfortran3            4.3-20080202-1   Runtime library for GNU Fortran ap
ii  liblapack3gf [liblapack 3.1.1-0.4        library of linear algebra routines
ii  python                  2.4.4-6          An interactive high-level object-o
ii  python-central          0.6.1            register and build utility for Pyt

python-numpy recommends no packages.

-- no debconf information





More information about the Python-modules-team mailing list