On 11-04-10 at 07:48pm, Tanguy Ortolo wrote: > Yes, it looks like CDBS is using python, not python3, every time it > runs setup.py. > > If it may help, here is a patch that works around that, though I doubt > it is very useful since it is really a dirty hack: it duplicates rules > (since these are :: rules, they cannot be overwritten but only > duplicated), removes a hardcoded file, etc. Yuck! > > I think we can consider this as a CDBS bug, but I shall let Jonas > reassign the bug. For a Make hacker, I guess it would not be hard to > solve, given that at the point where it strikes, there is enough > information to determine the python interpreter to use: > python setup.py install […] \ > --install-purelib=/usr/lib/python3.2/site-packages/ > ^^^ > > I had a look at /usr/share/cdbs/1/class/python-distutils.mk, it is at > line 108, and it looks like cdbs_curpythonindepbinary is not as > refined as cdbs_expand_python_distutils_installdir. Now, I have to > admit that all this Make stuff is far beyond my knowledge…
Yes, it was a CDBS bug, now fixed in 0.4.93 (you guys credited!): > Fix support arch-independent python3 modules: Resolve > $cdbs_curpythonindepbinary properly, used for the Python binary to > invoke for default builds. > Closes: bug#621749. Thanks to Tanguy Ortolo and Jakub Wilk. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: Digital signature