On Sun, Jul 20, 2008 at 7:39 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote:
> On Sun, Jul 20, 2008 at 7:27 PM, Timothy G Abbott <[EMAIL PROTECTED]> wrote:
>> On Sun, 20 Jul 2008, Ondrej Certik wrote:
>>>
>>> I think this patch needs to be applied:
>>>
>>> Index: debian/control
>>> ===================================================================
>>> --- debian/control      (revision 1584)
>>> +++ debian/control      (working copy)
>>> @@ -3,7 +3,7 @@
>>> Priority: optional
>>> Maintainer: Python Applications Packaging Team
>>> <[EMAIL PROTECTED]>
>>> Uploaders: Ondrej Certik <[EMAIL PROTECTED]>
>>> -Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.38), python (>=
>>> 2.4.4-6)
>>> +Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.38), python (>=
>>> 2.4.4-6), python-dev (>= 2.4.4-6)
>>> Build-Depends-Indep: python-support (>= 0.7.5)
>>> Standards-Version: 3.8.0
>>> Homepage: http://cython.org/
>>> @@ -12,7 +12,7 @@
>>> XS-DM-Upload-Allowed: yes
>>>
>>> Package: cython
>>> -Architecture: all
>>> +Architecture: any
>>> Depends: ${python:Depends}, ${misc:Depends}
>>> Suggests: gcc
>>> XB-Python-Version: ${python:Versions}
>>>
>>>
>>> However, the cython build fails then:
>>>
>>> cd . && python2.4 setup.py build
>>> --build-base="/tmp/buildd/cython-0.9.8/./build"
>>> /bin/sh: python2.4: command not found
>>> make: *** [python-build-stamp-2.4] Error 127
>>>
>>> Now I am investigating why. python2.4 is not called from Cython, so
>>> it's seems some Debian thing. CCing to Tim -- I am quite busy today, I
>>> really need to work on my thesis, so I'd appreciate any help with
>>> this.
>>>
>>> Ondrej
>>
>> I think you want python-all-dev (>= 2.4.4-6), rather than just python-dev
>> (>= 2.4.4-6).  What's going on is that Debian build extensions modules for
>> all current versions of python (python2.4 and python2.5) when you're using
>> python-support; python-all-dev is the right way to include that as a
>> dependency.
>
> You are right. Let me check and if all is ok, upload.

Ok, the package builds now, but it doesn't include the .so file. I
don't have time at the moment to investigate, sorry. I can upload the
package as pure python if you want. BTW, feel free to fix it in PAPT
debian repo and upload, or ping me and I'll upload, that's not a
problem.

Ondrej
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to