It still seems to me like a breach of the python policy not to depend directly on python, for the very reasons that were suggested in the second link to the list thread I posted. But, I guess it can be argued that it will work for now, so I will leave it be until it is fixed.
BTW, thanks for the explanation, it is all clear to me now why it works sometimes and doesn't others. Cheers, Cameron On 10/9/06, Pierre HABOUZIT <[EMAIL PROTECTED]> wrote:
severity 391689 important thanks On Sun, Oct 08, 2006 at 12:29:09AM -0700, Cameron Dale wrote: > Package: python-support > Version: 0.5.3 > Severity: serious > Justification: Policy 2.4 of the Python Policy > > > I filed a bug about this before (#383958), and it was fixed in 0.4.2. However, > some time between 0.4.3 (which worked) and 0.5.2 (which doesn't) this change > was removed (I just checked, and 0.5 worked fine, but 0.5.1 didn't). Using the > recommended implementation of python-support again generates no python > dependencies to be included in the Depends line. > > Even though the changelog for 0.5.3 says: > * dh_pysupport: always generate dependencies. > it also doesn't generate the correct dependencies > Interestingly, the control file for my package (bittornado) is for 2 binary > packages, bittornado and bittornado-gui. The ${python:Depends} for the first > gets replaced with "python-support (>= 0.2)" which leads to the error, while > the second gets "python". This seems strange too, as I think both should be > getting "python, python-support (>= 0.2)", but maybe because the second > depends on the first it doens't include the python-support depend for that > one. I'll try to attach my control file to see if that helps explain it. oh and for that part: bittornado-gui only provides scripts, and has no modules, so python-support does nothing with that, you only need to add 'python' to the depends, because those binaries uses #! /usr/bin/python. (and here you *have* $need_python set to 1, see other mail with the patch) bittornado comes with modules, and needs python-support. Though it does not get python yet because of a regression. So again, there is nothing serions, depends are correct, just a bit weak. I suppose josselin will fix that soon -- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFKfi/vGr7W6HudhwRAl60AJ94gWxUYb20mLOiJ3a0qpS19KtOFwCfRoTJ WTk/Yd9DRPJ9vyN+QYKk1IE= =m0Nd -----END PGP SIGNATURE-----