'Debian Packaging: declare a dependency only for a specific distribution

I want to create a debian control file that force installation of teh package python-is-python3 only for bullseye.

The line in control file is:

Depends: perl, zabbix-agent, smartmontools, ${misc:Depends}, python-is-python3

But of I install athe package on buster, python-is-python3 is missing.

I know that you can limit a dependency based on arch, like

Depends: perl, zabbix-agent, smartmontools, ${misc:Depends}, python-is-python3 [i386]

How do I limit the dependency on distribution ?

Thank you



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source