Description of problem: I took the liberty of packaging python-pyusb for the upcoming Mageia release 9. Feel free to adapt the package if needed. Version-Release number of selected component (if applicable): 1.2.1
Created attachment 13682 [details] Proposal spec file
CC: (none) => lovaren
https://svnweb.mageia.org/packages/cauldron/python-pyusb/current/SPECS/python-pyusb.spec?revision=1827081&view=markup
Status: NEW => RESOLVEDCC: (none) => davidwhodginsResolution: (none) => INVALID
A basic research would have shown that we have this package since Mageia 4….
(In reply to sturmvogel from comment #3) > A basic research would have shown that we have this package since Mageia 4…. (In reply to Dave Hodgins from comment #2) > https://svnweb.mageia.org/packages/cauldron/python-pyusb/current/SPECS/ > python-pyusb.spec?revision=1827081&view=markup I had the impression based on the answer from papoteur in the discuss ML conversation that we didn't have it. Here is his reply and I quote: "The problem is that we don't have "usb" python module. What we have: urpmq --provides python3-libusb1 python-libusb1[== 1.9.1-1.mga8] python3-libusb1[== 1.9.1-1.mga8] python3.8-libusb1[== 1.9.1-1.mga8] python3.8dist(libusb1)[== 1.9.1] python3dist(libusb1)[== 1.9.1] urpmq --provides python3-pyusb python3-pyusb[== 1.0.2-6.mga8] python3.8dist(pyusb)[== 1.0.2] python3dist(pyusb)[== 1.0.2] pythonegg(3)(pyusb)[== 1.0.2]"
I see it doesn't exist in Mageia for some reason. Can it be backported?
On Mageia 8 ... $ rpm -q -l python3-pyusb |grep libusb /usr/lib/python3.8/site-packages/usb/backend/__pycache__/libusb0.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/usb/backend/__pycache__/libusb0.cpython-38.pyc /usr/lib/python3.8/site-packages/usb/backend/__pycache__/libusb1.cpython-38.opt-1.pyc /usr/lib/python3.8/site-packages/usb/backend/__pycache__/libusb1.cpython-38.pyc /usr/lib/python3.8/site-packages/usb/backend/libusb0.py /usr/lib/python3.8/site-packages/usb/backend/libusb1.py It doesn't have a provides line in the spec file, but does produce the libusb1.py file.