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

Bug#949715: lintian: add check that ${python3:Versions} should not be used in Depends



On Thu, Jan 23, 2020 at 05:55:04PM -0500, Daniel Kahn Gillmor wrote:
>     dpkg-gencontrol: warning: package python3-gpg: substitution variable ${python3:Versions} unused, but is defined
> 
> Thinking i knew what i was doing, i added ${python3:Versions} to the
> Depends: line of python3-gpg in debian/control.
> 
> It turns out i actually have no idea where the ${python3:Versions}
> substvar *should* be used in debian/control, but it should certainly
> never be used in Depends:.

That's the historical remains of a previous implementation of something
I don't even recall anymore.  It's meant to contain the list of python
versions the package is built for.
If you notice, some package have a `XB-Python-Version` field, and that's
the field ${Python3:Versions} is supposed to go into.

> I'm assuming that this substvar came from dh_python3 from the dh-python
> package, so i'm marking this bug as affecting dh-python.

I'm not sure how the "affect" is meaningful or indeed useful here, but
whatever :)

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: