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. > > I felt the severity was justified, as dh_python is now deprecated in > debhelper, so for users of python-support this is the only way to specify > the python dependencies. If I've made a mistake somewhere, please let me > know, as my package's latest version being included in Etch may be at stake.
I'm not sure, IMHO that's important, but as python-support depends upon python himself, the correct chain of depends exists. so that's not a major problem, merely an important one. attached is the patch that should solve that problem. -- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
--- debhelper/dh_pysupport.old 2006-10-09 09:15:36.000000000 +0200 +++ debhelper/dh_pysupport 2006-10-09 09:15:40.000000000 +0200 @@ -309,7 +309,7 @@ } } # If nothing has added a python dependency yet, add it - if ($need_pydep and not $have_pydep) { + if (not $have_pydep) { addsubstvar($package, "python:Depends", "python"); } }
signature.asc
Description: Digital signature