diff --git a/comms/py-hid/Makefile b/comms/py-hid/Makefile index b7728794a578..b01d00d84d13 100644 --- a/comms/py-hid/Makefile +++ b/comms/py-hid/Makefile @@ -1,21 +1,21 @@ PORTNAME= hid -DISTVERSION= 1.0.4 -PORTREVISION= 1 +DISTVERSION= 1.0.6 CATEGORIES= comms python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= nxjoseph@protonmail.com COMMENT= Ctypes bindings to comms/hidapi WWW= https://github.com/apmorton/pyhidapi LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= hidapi>0:comms/hidapi USES= python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include diff --git a/comms/py-hid/distinfo b/comms/py-hid/distinfo index df9179a3faff..06ef52847d32 100644 --- a/comms/py-hid/distinfo +++ b/comms/py-hid/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1620655811 -SHA256 (hid-1.0.4.tar.gz) = f61b0382f37a334bc8ba8604bc84b94875ee4f594fbbaf82b2c3b3e827883fc1 -SIZE (hid-1.0.4.tar.gz) = 3941 +TIMESTAMP = 1739434809 +SHA256 (hid-1.0.6.tar.gz) = 48d764d7ae9746ba123b96dbf457893ca80268b7791c4b1d2e051310eeb83860 +SIZE (hid-1.0.6.tar.gz) = 4837 diff --git a/comms/py-hid/files/patch-hid_____init____.py b/comms/py-hid/files/patch-hid_____init____.py index 119b2cd4dd9b..0cb8ba9f8f50 100644 --- a/comms/py-hid/files/patch-hid_____init____.py +++ b/comms/py-hid/files/patch-hid_____init____.py @@ -1,10 +1,10 @@ ---- hid/__init__.py.orig 2024-04-11 03:39:41 UTC +--- hid/__init__.py.orig 2025-02-13 08:24:09 UTC +++ hid/__init__.py -@@ -7,6 +7,7 @@ library_paths = ( - - hidapi = None - library_paths = ( -+ 'libhidapi.so', - 'libhidapi-hidraw.so', - 'libhidapi-hidraw.so.0', - 'libhidapi-libusb.so', +@@ -8,6 +8,7 @@ library_paths = ( + + hidapi = None + library_paths = ( ++ 'libhidapi.so', + 'libhidapi-hidraw.so', + 'libhidapi-hidraw.so.0', + 'libhidapi-libusb.so', diff --git a/comms/py-hid/pkg-descr b/comms/py-hid/pkg-descr index 3b9386b61f90..b45aa8515d83 100644 --- a/comms/py-hid/pkg-descr +++ b/comms/py-hid/pkg-descr @@ -1 +1,4 @@ -Ctypes bindings for hidapi. +pyhidapi is a Python library that provides an interface to the hidapi +library, enabling communication with Human Interface Devices (HID) +such as keyboards and mice. It allows users to easily access device +information and send or receive data through a simple API.