devel/py-libusb1: Update to 2.0.1

Changes:	https://github.com/vpelletier/python-libusb1/blob/master/README.rst#history
This commit is contained in:
Po-Chuan Hsieh 2022-02-28 17:34:56 +08:00
parent 061707677a
commit cb33235b5d
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
3 changed files with 8 additions and 6 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= libusb1
PORTVERSION?= 1.9.3
PORTVERSION= 2.0.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -9,6 +9,8 @@ COMMENT= Pure-python wrapper for libusb-1.0
LICENSE= LGPL21+
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyinstaller>=0:devel/py-pyinstaller@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1625323581
SHA256 (libusb1-1.9.3.tar.gz) = 60e6ce37be064f6e51d02b25da44230ecc9c0b1fdb6f14568c71457d963c1749
SIZE (libusb1-1.9.3.tar.gz) = 81296
TIMESTAMP = 1643971066
SHA256 (libusb1-2.0.1.tar.gz) = d3ba82ecf7ab6a48d21dac6697e26504670cc3522b8e5941bd28fb56cf3f6c46
SIZE (libusb1-2.0.1.tar.gz) = 82619

View File

@ -1,8 +1,8 @@
https://lists.freebsd.org/pipermail/freebsd-usb/2015-January/013586.html
--- usb1/__init__.py.orig 2021-07-02 12:59:01 UTC
--- usb1/__init__.py.orig 2021-09-24 22:30:54 UTC
+++ usb1/__init__.py
@@ -1864,8 +1864,10 @@ class USBDevice(object):
@@ -1885,8 +1885,10 @@ class USBDevice:
Get the port number of each hub toward device.
"""
port_list = (c_uint8 * PATH_MAX_DEPTH)()