pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-usb



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jan  3 10:13:58 UTC 2025

Modified Files:
        pkgsrc/devel/py-usb: Makefile PLIST distinfo

Log Message:
py-usb: updated to 1.3.0

1.3.0

Changed:

meta: bump the minimum required Python version to 3.9

Fixed:

core: reset cached endpoints on alternate setting changes
core: only search for endpoints on the correct alternate settings
tree: guard finalizers against aborted initialization
version: handle when patch component is missing
core: fix bMaxPower conversion for SuperSpeed devices
openusb: fix missing commas in __all__ list
libusb1: fix trailing comma in LIBUSB_TRANSFER_TYPE_CONTROL
legacy: Fix DeviceHandle finalizer checking for the wrong attribute
libloader: search in default homebrew prefix on apple silicon


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/py-usb/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-usb/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-usb/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-usb/Makefile
diff -u pkgsrc/devel/py-usb/Makefile:1.24 pkgsrc/devel/py-usb/Makefile:1.25
--- pkgsrc/devel/py-usb/Makefile:1.24   Tue Jun  6 12:41:15 2023
+++ pkgsrc/devel/py-usb/Makefile        Fri Jan  3 10:13:58 2025
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.24 2023/06/06 12:41:15 riastradh Exp $
+# $NetBSD: Makefile,v 1.25 2025/01/03 10:13:58 adam Exp $
 
-DISTNAME=      pyusb-1.2.1
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/pyusb/usb/}
-CATEGORIES=    devel
+DISTNAME=      pyusb-1.3.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyusb/}
 
 MAINTAINER=    wiml%hhhh.org@localhost
@@ -10,12 +10,11 @@ HOMEPAGE=   https://pyusb.github.io/pyusb/
 COMMENT=       Python interface to USB via libusb
 LICENSE=       modified-bsd
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=30.3.0:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=1.15.0:../../devel/py-setuptools_scm
 
 CFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 .include "../../mk/libusb.buildlink3.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-usb/PLIST
diff -u pkgsrc/devel/py-usb/PLIST:1.6 pkgsrc/devel/py-usb/PLIST:1.7
--- pkgsrc/devel/py-usb/PLIST:1.6       Tue Jan  4 19:49:17 2022
+++ pkgsrc/devel/py-usb/PLIST   Fri Jan  3 10:13:58 2025
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.6 2022/01/04 19:49:17 wiz Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.7 2025/01/03 10:13:58 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/usb/__init__.py
 ${PYSITELIB}/usb/__init__.pyc
 ${PYSITELIB}/usb/__init__.pyo

Index: pkgsrc/devel/py-usb/distinfo
diff -u pkgsrc/devel/py-usb/distinfo:1.8 pkgsrc/devel/py-usb/distinfo:1.9
--- pkgsrc/devel/py-usb/distinfo:1.8    Tue Jan  4 19:49:17 2022
+++ pkgsrc/devel/py-usb/distinfo        Fri Jan  3 10:13:58 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2022/01/04 19:49:17 wiz Exp $
+$NetBSD: distinfo,v 1.9 2025/01/03 10:13:58 adam Exp $
 
-BLAKE2s (pyusb-1.2.1.tar.gz) = 4c7dd0341dc434001ad842f8885497f59ac31944a3fb7cad2aafecf3dd53de5f
-SHA512 (pyusb-1.2.1.tar.gz) = 51d0c1165540afa21d6d0ab7315ac77b08083d1cb8e502173dfb1766bc542173f9d7b0070fd14bc71d147e31c3f0780b277093791a7c82485962a04ec62bf0f1
-Size (pyusb-1.2.1.tar.gz) = 75292 bytes
+BLAKE2s (pyusb-1.3.0.tar.gz) = 2755307654926b322f2c30eefc664275b1b8c2fd76e635ed386b505ba622f40d
+SHA512 (pyusb-1.3.0.tar.gz) = 05bef80aad0cee8145333fca0ae0312d9bd9198a25fc6afa4aca2a7cebe5ff2ffb82c85e7265026dc7b6f5c7b5864f0c99f12d2d1ec9d15157aca9287859cf0d
+Size (pyusb-1.3.0.tar.gz) = 78852 bytes



Home | Main Index | Thread Index | Old Index