[Python-modules-team] Numpy 1.5 and python 3
Ben Gamari
bgamari.foss at gmail.com
Sun Jan 30 14:31:38 UTC 2011
On Sun, 30 Jan 2011 13:43:28 +0100, Sandro Tosi <morph at debian.org> wrote:
> Hi,
>
> On Sat, Jan 29, 2011 at 16:00, Ben Gamari <bgamari.foss at gmail.com> wrote:
> > On Sat, 29 Jan 2011 15:19:18 +0100, Sandro Tosi <morph at debian.org> wrote:
> >> Propose patches, and I'll see if they can be accepted.
> >>
> > As you've probably noticed, I'm not exactly an expert in debian
> > packaging. I did do some research[1], however, and it looks like the
> > cdbs (0.4.83) currently shipped in ubuntu maverick doesn't support have
> > support.
>
> numpy doesn't use cdbs since 1:1.4.1-1
>
Ahh, I suppose you are right. Alright, I guess I'll take another
look. Unfortunately, I'm having difficulty just getting the unmodified
packaging (from debian experimental) to build,
numpy-1.5.1 $ dpkg-buildpackage
...
running install_egg_info
Removing /opt/exp/numpy/numpy-1.5.1/debian/tmp/usr/lib/python2.6/dist-packages/numpy-1.5.1.egg-info
Writing /opt/exp/numpy/numpy-1.5.1/debian/tmp/usr/lib/python2.6/dist-packages/numpy-1.5.1.egg-info
running install_clib
copying build/temp.linux-x86_64-2.6/libnpymath.a -> /opt/exp/numpy/numpy-1.5.1/debian/tmp/usr/lib/python2.6/dist-packages/numpy/core/lib
debian/rules override_dh_install
make[1]: Entering directory `/opt/exp/numpy/numpy-1.5.1'
# add shebang information to f2py script
for v in 2.6; do \
sed -i "1s,#!.*python[^ ]*\(.*\),#!/usr/bin/python$v," debian/tmp/usr/bin/f2py$v; \
cp -a debian/tmp/usr/bin/f2py$v debian/tmp/usr/bin/f2py$v-dbg ; \
sed -i "1s,#!.*python[^ ]*\(.*\),#!/usr/bin/python$v-dbg," debian/tmp/usr/bin/f2py$v-dbg; \
done
sed: can't read debian/tmp/usr/bin/f2py2.6: No such file or directory
cp: cannot stat `debian/tmp/usr/bin/f2py2.6': No such file or directory
sed: can't read debian/tmp/usr/bin/f2py2.6-dbg: No such file or directory
make[1]: *** [override_dh_install] Error 2
make[1]: Leaving directory `/opt/exp/numpy/numpy-1.5.1'
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
numpy-1.5.1 $ ls debian/tmp/usr/bin
f2py f2py-dbg
Strange. I'm assuming the numpy build itself is supposed to generate these?
> > Otherwise, it seems that the changes ought to be rather
> > straightforward. I'll try putting up a PPA with my work.
>
> please post your debdiff on #601593 (i.e. don't expect me to monitor
> your ppa);
>
Of course. Thanks for all of your assistance.
- Ben
More information about the Python-modules-team
mailing list