git: 0dfaabb2c32c - main - devel/py-libusb1: Update to 3.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 13:44:00 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=0dfaabb2c32c748a57739621f9c03d1e6e03b5e6 commit 0dfaabb2c32c748a57739621f9c03d1e6e03b5e6 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-03-25 12:59:45 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-03-25 13:36:56 +0000 devel/py-libusb1: Update to 3.0.0 - Update do-test: Changes: https://github.com/vpelletier/python-libusb1/blob/master/README.rst#history --- devel/py-libusb1/Makefile | 6 +++--- devel/py-libusb1/distinfo | 6 +++--- devel/py-libusb1/files/patch-usb1_____init____.py | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/devel/py-libusb1/Makefile b/devel/py-libusb1/Makefile index 18f959980e08..0bc3df9c2812 100644 --- a/devel/py-libusb1/Makefile +++ b/devel/py-libusb1/Makefile @@ -1,5 +1,5 @@ PORTNAME= libusb1 -PORTVERSION= 2.0.1 +PORTVERSION= 3.0.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,12 +11,12 @@ LICENSE= LGPL21+ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyinstaller>=0:devel/py-pyinstaller@${PY_FLAVOR} -USES= python:3.6+ +USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes do-test: - @${PYTHON_CMD} -m unittest discover -vs ${TEST_WRKSRC} + cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v .include <bsd.port.mk> diff --git a/devel/py-libusb1/distinfo b/devel/py-libusb1/distinfo index dd367209993a..dc163b81f2ad 100644 --- a/devel/py-libusb1/distinfo +++ b/devel/py-libusb1/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1643971066 -SHA256 (libusb1-2.0.1.tar.gz) = d3ba82ecf7ab6a48d21dac6697e26504670cc3522b8e5941bd28fb56cf3f6c46 -SIZE (libusb1-2.0.1.tar.gz) = 82619 +TIMESTAMP = 1647264544 +SHA256 (libusb1-3.0.0.tar.gz) = 5792a9defee40f15d330a40d9b1800545c32e47ba7fc66b6f28f133c9fcc8538 +SIZE (libusb1-3.0.0.tar.gz) = 82499 diff --git a/devel/py-libusb1/files/patch-usb1_____init____.py b/devel/py-libusb1/files/patch-usb1_____init____.py index bd827541152e..42a8d9b7e743 100644 --- a/devel/py-libusb1/files/patch-usb1_____init____.py +++ b/devel/py-libusb1/files/patch-usb1_____init____.py @@ -1,8 +1,8 @@ https://lists.freebsd.org/pipermail/freebsd-usb/2015-January/013586.html ---- usb1/__init__.py.orig 2021-09-24 22:30:54 UTC +--- usb1/__init__.py.orig 2022-02-06 04:49:47 UTC +++ usb1/__init__.py -@@ -1885,8 +1885,10 @@ class USBDevice: +@@ -1884,8 +1884,10 @@ class USBDevice: Get the port number of each hub toward device. """ port_list = (c_uint8 * PATH_MAX_DEPTH)()