The ‘dput.source_check’ function currently uses a custom regex pattern for
parsing a package version string. This pattern differs in some ways from
the official Debian Policy definition of a version string.
Instead of custom parsing, re-write the check to use the functionality
provided by the ‘python3-debian’ package. In ‘debian.debian_support’ is a
‘Version’ class whose constructor parses a package version string into the
defined structure of a Debian package version.
This will introduce a “Depends: python3-debian” relationship to this
package.