Re: Numpy & dh_python2

2012-03-15 Thread Thomas Kluyver
After some trial and error, I've got it building python3-numpy (leaving python-support in place for Python 2) - a patch is attached. I've checked that I can install and import the built package. Changes and suggestions are welcome, and I expect there are better ways to do bits of it. I'm away for

Re: Bug#664019: ITP: lintian4python -- Debian package checker (for Python packages)

2012-03-15 Thread Jakub Wilk
* Luca Falavigna , 2012-03-15, 10:41: This package provides an experimental flavor of lintian designed to check packages implemented in Python. How likely this package will be eventually merged in lintian itself in the future? The good news is: some parts of lintian4python has been already mer

Possible misbuilt python3 module packages

2012-03-15 Thread Scott Kitterman
Last night I uploaded an updated python3-defaults package to fix a problem where dh_python3 was not honoring version requirements set the -V option in debian/rules or X-Python3-Version in debian/control. If you have a python3 module package that set a minumum version of python3 to 3.2 using o

Re: Numpy & dh_python2

2012-03-15 Thread Barry Warsaw
On Mar 15, 2012, at 10:11 AM, Scott Kitterman wrote: >Thomas Kluyver wrote: >>Sandro: >>> I won't migrate to dh_python2, so it would be a waste of your time. >> >>Why not? I thought python-support was deprecated, and everything was >>supposed to move to dh_python2? >> >>So, is it practical to use

Re: Numpy & dh_python2

2012-03-15 Thread Scott Kitterman
Thomas Kluyver wrote: >Sandro: >> I won't migrate to dh_python2, so it would be a waste of your time. > >Why not? I thought python-support was deprecated, and everything was >supposed to move to dh_python2? > >So, is it practical to usek dh_python3 for python 3 while keeping >python-support for

Re: Numpy & dh_python2

2012-03-15 Thread Thomas Kluyver
On 15 March 2012 12:45, Yaroslav Halchenko wrote: > So, my blunt guess would be that with dh_python2 you would not need this > and just would need to place the .a appropriately. Thanks, I'll give it a shot. When the comments talk about adding files *back*, is it pysupport that removes them? How

Re: Numpy & dh_python2

2012-03-15 Thread Sandro Tosi
On Thu, Mar 15, 2012 at 13:12, Thomas Kluyver wrote: > I was looking at packaging numpy for Python 3 (bug #601593, LP thanks for your work, but... > #795605). As a step towards this, I was trying to convert it from > pysupport to dh_python2, following the 'transition to dh_python2' I won't migr

Re: Numpy & dh_python2

2012-03-15 Thread Yaroslav Halchenko
preceeding comment kinda describes it all: # GIGANTIC HACK - add back libnpymath.a # get the file names, generate the new location, create the dir if missing, copy # the file and then add it to the public list so it just adds those few trailing lines with libnpymath.a . I am really

Numpy & dh_python2

2012-03-15 Thread Thomas Kluyver
I was looking at packaging numpy for Python 3 (bug #601593, LP #795605). As a step towards this, I was trying to convert it from pysupport to dh_python2, following the 'transition to dh_python2' guide. But I hit a section that I don't really understand, in override_dh_pysupport: # add to public mo