Build both pycryptodomex and pycrytodome
Before this commit, pycryptodome was building the Cryptodome Python module only.
This commit add the package python3-pycryptodome-crypto containing the Python module Crypto.
In the long term, the new python3-pycryptodome-crypto might replace python3-crypto which is not maintained anymore upstream.
Both packages are built at the same time alternatively by overriding
debian/rules targets and calling them with and without .separate_namespace
.
The file .separate_namespace
control whether setup.py will generate
Crypto or Cryptodome Python modules.
A patch is added to add a static variable as a salt so built binaries are not the same between python3-pycryptodome and python3-pycryptodome-crypto. This way, auto-generated debug packages (-dbgsym) don't have conflicting files. Without this salt, most if not all compiled libraries are exactly the same which cause the generated dbgsym packages to have duplicate files.