On Mon, Feb 19, 2007 at 09:42:59AM +0100, Raphael Hertzog wrote: > On Sun, 18 Feb 2007, A. Christine Spang wrote: > > How exactly does XS-Python-Version: current work? It doesn't seem to add > > the right dependencies under Depends: when I try building using > > ${python:Depends}. I get a Depends: line that looks like this: > > > > Depends: python-central (>= 0.5.8), python-gtk2 (>= 2.4), quilt > > > > Which is why I added the hard dependency in the first place. > > Why should it need to add a stricter dependency ? Bytecompilation of > private modules doesn't break when you upgrade to a newer python version.
I don't really know much about the specifics of bytecompilation, but I -can- reproduce the bug that was reported against the package. If I install it and then try to run it with a different version of python, I get an error that looks like this: [EMAIL PROTECTED]:~/maint$ gquilt RuntimeError: Bad magic number in .pyc file Could this be because upstream executes the program through a shell script wrapper that runs: exec python $GQUILT_LIB_DIR/gquilt.pyc ($GQUILT_LIB_DIR=/usr/share/gquilt) ? > python-central takes care of all .py files from a package... so they > should be auto-bytecompiled as far as I know. For proper dependencies to be > generated you have to indicate /usr/share/gquilt/ as parameter to > dh_pycentral however. Hmm, according to the manpage /usr/share/$PACKAGE is one of the default places to search, and it looks like this is working properly. Regards, Christine -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]