On Fri, Sep 16, 2011 at 10:54:42AM +0200, Jakub Wilk wrote: > In a minimal sid chroot: > | $ python -c 'import numexpr' > | Traceback (most recent call last): > | File "<string>", line 1, in <module> > | File "/usr/lib/pymodules/python2.6/numexpr/__init__.py", line 28, in > <module> > | from numexpr.expressions import E > | File "/usr/lib/pymodules/python2.6/numexpr/expressions.py", line 7, in > <module> > | import numpy > | ImportError: No module named numpy > > BTW, since your package uses Numpy via a C extension module, you > should use dh_numpy to generate versioned dependency on it.
The dependency on numpy is fixed in the attached patch editing debian/control because the package is not using dh, together with a a couple of lintian issues. Thanks, Miguel
diff -Nru numexpr-1.4.2/debian/changelog numexpr-1.4.2/debian/changelog --- numexpr-1.4.2/debian/changelog 2011-04-07 04:12:59.000000000 +0200 +++ numexpr-1.4.2/debian/changelog 2011-12-02 22:51:03.000000000 +0100 @@ -1,3 +1,15 @@ +numexpr (1.4.2-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "missing dependency on python-numpy" by adding missing dependency to + control file (Closes: #641794) + * Fix lintian error helper-templates-in-copyright replacing Author(s) by + Authors + * Change Standards-Version to 3.9.2 to fix out-of-date-standards-version + lintian warning + + -- Miguel de Val Borro <miguel.de...@gmail.com> Fri, 02 Dec 2011 22:09:40 +0100 + numexpr (1.4.2-1) unstable; urgency=low * Update to 1.4.2 diff -Nru numexpr-1.4.2/debian/control numexpr-1.4.2/debian/control --- numexpr-1.4.2/debian/control 2011-04-07 04:36:01.000000000 +0200 +++ numexpr-1.4.2/debian/control 2011-12-02 22:46:10.000000000 +0100 @@ -8,14 +8,15 @@ python-support (>= 0.90), python-setuptools (>= 0.6b3), python-numpy (>= 1.3.1) -Standards-Version: 3.9.1 +Standards-Version: 3.9.2 Homepage: http://code.google.com/p/numexpr/ Package: python-numexpr Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, - ${misc:Depends} + ${misc:Depends}, + python-numpy Description: Numexpr package evaluates multiple-operator array expressions many times faster than NumPy can. It accepts the expression as a string, analyzes it, rewrites it more efficiently, and compiles it to faster Python diff -Nru numexpr-1.4.2/debian/copyright numexpr-1.4.2/debian/copyright --- numexpr-1.4.2/debian/copyright 2011-04-07 04:10:59.000000000 +0200 +++ numexpr-1.4.2/debian/copyright 2011-12-02 22:41:59.000000000 +0100 @@ -6,7 +6,7 @@ http://code.google.com/p/numexpr/ -Upstream Author(s): +Upstream Authors: David M. Cooke <david.m.co...@gmail.com> Francesc Alted <fal...@pytables.org>