Hi,

On 2022-09-25 10:17, Sam Morris wrote:
> Package: usbutils
> Version: 1:014-1
> Severity: wishlist
> 
> usbutils includes a lsusbs.py command which gives much more readable
> output than lsusb.
> 
> Looks like only 'usr/bin/lsusb.py' has to be added to debian/install to
> get it included in the binary package.

This is not so easy as it looks like, there are reasons for lsusb.py to
not be provided in the usbutils package:
- The debian policy forbids to install a script in /usr/bin with the .py
  extension. It can not be called lsusb given the existing binary already
  provided by usbutils.
- lsusb.py needs python3 and the usb.ids database, so it increases the
  disk footprint from ~0.5MB to ~22.3MB which has a big impact for
  embedded systems.
- lsusb.py lacks a manpage.

If lsusb.py is really way more useful than lsusb, an option might be to
ship it in a separate package (usbutils-py? lsusb-py?) and change the
binary name (lsusb-py? lsusb-python?).

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                 http://www.aurel32.net

Reply via email to