Fix debian package build on buster
Buster package for latest swh-core
version (0.0.85
) failed to build
(see https://jenkins.softwareheritage.org/view/Debian%20packages/job/debian/job/packages/job/DCORE/job/gbp-buildpackage/93/).
So apply a similar fix as in rDLDBASE8273ffb181bc52bbf02f24081c5b24a27bdc8825 in order to register entry points needed for the module tests.
After that change, a parameter provided to pybuild was required to be removed as the package build was still failing otherwise.
Migrated from D2537 (view on Phabricator)