[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#582511: lintian: If dh_pysupport is used, require Depends package on python-support



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/25/2010 10:13 AM, Jakub Wilk wrote:
> * Jari Aalto <jari.aalto@cante.net>, 2010-05-21, 15:28:
>> With debian/rules file like this:
>>
>>    %
>>         dh $@
>>
>> The calls flow through "dh_pysupport". Unfortunately that does nothing
>> if debian/control::Depands lists package python-support
>>
>> SUGGESTION
>>
>> If there are any *.py files in the package please add some message about
>> possible missing python-support in Depends.
> 
> The heuristics you propose is not reliable. I can think of many
> situations where a source package contains *.py but build-dependency on
> python-support is not needed.
> 
> It would make more sense to warn if debian/control contains
> ${python:Depends} or ${python:Provides} or ${python:Versions}, but the
> package neither build-depends on python-support nor on python-central.

This sounds reasonable and correct.  Thanks for taking a close look at it.

Regards,
Tony

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkv8p/YACgkQpdwBkPlyvgP7IgCggYbVnSi/XDdzPl2FJ5w544L3
GTQAnjAheNW5B9hsxftY4+KukYoiRshA
=JzM1
-----END PGP SIGNATURE-----



Reply to: