Currently, as explained in [1], swh-deposit debian packaging is:
- python3-swh.deposit: public exposed sword api, private api/rpc server (for loaders)
- python3-swh.deposit.loader: checker and loader, they (which use a client to discuss with the private api of the server)
- python3-swh.deposit.client: http client to discuss with the public api sword(sword) or private (rpc like) of the server
The surprise comes from the fact that no one depends on the main package.
Proposal: Rename python3-swh.deposit which is really the server code to python3-swh.deposit.server
Use the right debian keyword (Breaks, replaces) for that as well.
If there is a need for a python3-swh.deposit, that'd be for the common part.
[1] https://forge.softwareheritage.org/D1184#inline-6445