Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1214963

Bug#998151: python-trezor: incorrect binary package name, python3-trezor should be python3-trezorlib

From Soren Stoutner <soren@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.python
Subject Bug#998151: python-trezor: incorrect binary package name, python3-trezor should be python3-trezorlib
Date 2024-10-03 07:20 +0200
Message-ID <JtmpP-gAjx-1@gated-at.bofh.it> (permalink)
References <De88V-1rf-5@gated-at.bofh.it>
Organization Debian

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

-- 
Soren Stoutner
soren@debian.org

Back to linux.debian.bugs.dist | Previous | NextNext in thread | Find similar


Thread

Bug#998151: python-trezor: incorrect binary package name, python3-trezor should be python3-trezorlib Soren Stoutner <soren@debian.org> - 2024-10-03 07:20 +0200
  Bug#998151: python-trezor: incorrect binary package name, python3-trezor should be python3-trezorlib Soren Stoutner <soren@debian.org> - 2024-10-04 18:50 +0200
    Bug#998151: python-trezor: incorrect binary package name, python3-trezor should be python3-trezorlib Simon McVittie <smcv@debian.org> - 2024-10-04 20:40 +0200
  Bug#998151: python-trezor: incorrect binary package name, python3-trezor should be python3-trezorlib Soren Stoutner <soren@debian.org> - 2024-10-04 20:40 +0200

csiph-web