Date: Saturday, April 18, 2020 @ 13:44:57
  Author: ffy00
Revision: 616070

upgpkg: python-hidapi 0.9.0.2-2 (use hidraw backend)

There are two available backends for hidapi, there's libusb and hidraw.
Libusb is provides a cross-platform USB implementation, this is done in
userspace. Hidraw is the kernel API to interact with HID devices. There's
no reason to prefer libusb over hidraw here, on the opposite. By switching
to the hidraw backend we can now talk to non-USB HID devices. This includes
HID over Bluetooth, HID over I2C, HID over SMBUS, UHID devices (virtual
HID devices), etc. I also trust the kernel to be more stable than libusb.

Modified:
  python-hidapi/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-04-18 13:12:27 UTC (rev 616069)
+++ PKGBUILD    2020-04-18 13:44:57 UTC (rev 616070)
@@ -7,7 +7,7 @@
 _pipname=hidapi
 pkgver=0.9.0.2
 _pkgver=${pkgver%.*}.post${pkgver##*.}
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 pkgdesc="A Cython interface to the hidapi from signal11/hidapi"
 url="https://github.com/trezor/cython-hidapi";
@@ -20,7 +20,7 @@
 build() {
   cd "$_pipname-$_pkgver"
 
-  python setup.py build
+  python setup.py build --without-libusb
 }
 
 package_python-hidapi() {

Reply via email to