diff options
author | Wen Heping <wen@FreeBSD.org> | 2025-02-13 08:36:20 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2025-02-13 08:36:20 +0000 |
commit | f3dc37b61ee99def8887e1b98bbbc09e2acafc41 (patch) | |
tree | b0d02133525868d5dc604c5d4063246d1b417df6 /comms | |
parent | 806e90ee27da93a3c7093aedd900cad71de2ebe1 (diff) |
comms/py-hid: Update to 1.0.6
Update pkg-descr
Pass maintainership to submitter
PR: 283732
Reported by: nxjoseph@protonmail.com
Diffstat (limited to 'comms')
-rw-r--r-- | comms/py-hid/Makefile | 6 | ||||
-rw-r--r-- | comms/py-hid/distinfo | 6 | ||||
-rw-r--r-- | comms/py-hid/files/patch-hid_____init____.py | 18 | ||||
-rw-r--r-- | comms/py-hid/pkg-descr | 5 |
4 files changed, 19 insertions, 16 deletions
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,15 +1,15 @@ 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 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. |