Soren Stoutner
2024-10-03 05:20:01 UTC
Sandro,
I have just taken over maintenance of python-trezor and would like to rectify
this problem. As I have never renamed a python binary package, I would like
to make sure I handle it correctly.
I can see the package is indeed installed into /usr/lib/python3/dist-packages/
trezorlib, which appears to be inline with the upstream source code (/src/
trezorlib).
I assume that fixing this involves changing the name of the binary package from
âpython3-trezorâ to âpython3-trezorlibâ.
Should the other binary package be renamed from âtrezorâ to âtrezorlibâ?
Should the source package be renamed from âpython-trezorâ to âpython-
trezorlibâ? On PyPI it is named âtrezorâ and says it contains âtrezorlibâ.
https://pypi.org/project/trezor/
I assume that I need to declare a breaks/replaces on python3-trezor. Do I
need to do anything else to make the transition go smoothly?
Do I need to change any of the instances of âtrezorâ in debian/rules?
https://salsa.debian.org/python-team/packages/python-trezor/-/blob/debian/
master/debian/rules?ref_type=heads
Do I need to change the name of any of the files in debian/ that begin with
trezor?
https://salsa.debian.org/python-team/packages/python-trezor/-/tree/debian/
master/debian?ref_type=heads
Thanks for your help,
Soren
I have just taken over maintenance of python-trezor and would like to rectify
this problem. As I have never renamed a python binary package, I would like
to make sure I handle it correctly.
I can see the package is indeed installed into /usr/lib/python3/dist-packages/
trezorlib, which appears to be inline with the upstream source code (/src/
trezorlib).
I assume that fixing this involves changing the name of the binary package from
âpython3-trezorâ to âpython3-trezorlibâ.
Should the other binary package be renamed from âtrezorâ to âtrezorlibâ?
Should the source package be renamed from âpython-trezorâ to âpython-
trezorlibâ? On PyPI it is named âtrezorâ and says it contains âtrezorlibâ.
https://pypi.org/project/trezor/
I assume that I need to declare a breaks/replaces on python3-trezor. Do I
need to do anything else to make the transition go smoothly?
Do I need to change any of the instances of âtrezorâ in debian/rules?
https://salsa.debian.org/python-team/packages/python-trezor/-/blob/debian/
master/debian/rules?ref_type=heads
Do I need to change the name of any of the files in debian/ that begin with
trezor?
https://salsa.debian.org/python-team/packages/python-trezor/-/tree/debian/
master/debian?ref_type=heads
Thanks for your help,
Soren
--
Soren Stoutner
***@debian.org
Soren Stoutner
***@debian.org