Opened 13 years ago

Last modified 5 years ago

#27336 new request

py26-pyusb to compile with libusb-legacy

Reported by: davidharrington@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: petrrr, chrstphrchvz (Christopher Chavez)
Port: py26-pyusb-legacy

Description

I am working on a project that needs py26-pyusb, but does not support libusb or libusb-compat. I need to get py26-pyusb to use the libusb-legacy instead of the libusb-compat, but I am new to OSX/MacPorts and hoping to get some help.

I am trying to get the Triathlon python app for a NIA to function in Snow Leopard, but it only supports the libusb-legacy version.

Change History (5)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Port: py26-pyusb-legacy added; py26-pyusb removed
Version: 1.9.2

Trac is not an appropriate venue for asking for help, it's strictly for bug reports and enhancement requests. Try the mailing lists or IRC.

Leaving this open under the assumption that using libusb-legacy would require an older version of pyusb, which would need to be a separate port. If that's not the case, then the ticket type should be enhancement rather than request.

comment:2 Changed 13 years ago by davidharrington@…

py26-pyusb is version 0.4.2, and according to the main pyusb development site (and my experience on linux) it's only fully compatible with libusb 0.1.x (aka libusb-legacy on macports). I don't this it needs to be a separate port, but maybe I am reading something wrong. I was under the impression that using py26-pyusb with libusb-compat was a bug, and it should be using the libusb-legacy.

comment:3 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:4 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Is this still desired? py26-* ports are obsolete, so it would have to be py27-libusb-legacy. PyUSB (1.0.x) has supported libusb 1.0 for some time.

comment:5 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added
Note: See TracTickets for help on using tickets.