[Bug 53568] Re: [Bug 53568] Re: [Edgy] python-distutils class assumes pycentral if DEB_PYTHON_SYSTEM not defined

2006-07-21 Thread Sami Haahtinen
Jérémie Corbier wrote: Therefore if you try to build a package following the new python policy (e.g. if there's a debian/pycompat file) and without defining DEB_PYTHON_SYSTEM the build will fail. If cdbs can't find a clue about whether the package follows the new or the old policy and if

[Bug 53568] Re: [Edgy] python-distutils class assumes pycentral if DEB_PYTHON_SYSTEM not defined

2006-07-21 Thread Jérémie Corbier
Nope. It doesn't work like that. Your patch modifies the new policy part of python-distutils.mk: --- 8 --- ifndef DEB_PYTHON_SYSTEM old policy method (...) else new policy methods (... patch applies here ...) endif --- 8 --- And this part can only be reached if either

[Bug 53568] Re: [Bug 53568] Re: [Edgy] python-distutils class assumes pycentral if DEB_PYTHON_SYSTEM not defined

2006-07-21 Thread Sami Haahtinen
Jérémie Corbier wrote: And this part can only be reached if either pysupport or pycentral is used. Hmm.. I must be loosing it here. For some reason i can't reproduce this anymore either. Or it might be that it was a bug in my packaging that i hit without realizing it. Oh well. Sorry for

[Bug 53568] Re: [Edgy] python-distutils class assumes pycentral if DEB_PYTHON_SYSTEM not defined

2006-07-20 Thread Sami Haahtinen
Adding a patch to wrap 2 cases of incomplete tests inside ifdef DEB_PYTHON_SYSTEM clauses. -- [Edgy] python-distutils class assumes pycentral if DEB_PYTHON_SYSTEM not defined https://launchpad.net/bugs/53568 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com

[Bug 53568] Re: [Edgy] python-distutils class assumes pycentral if DEB_PYTHON_SYSTEM not defined

2006-07-20 Thread Jérémie Corbier
Thanks for your bug report. Please take a closer look at python- distutils.mk.in and especially at the beginning of the file (starting from line 51): --- 8 --- ifeq (pysupport, $(DEB_PYTHON_SYSTEM)) (...) else ifeq (pycentral, $(DEB_PYTHON_SYSTEM)) (...) else ifneq (,