git: 7bdd8c29fe93 - main - comms/py-hid: Update to 1.0.8

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 04 Jul 2025 09:06:53 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7bdd8c29fe93e2d5b1ef4cd99700ea04d4ee562a

commit 7bdd8c29fe93e2d5b1ef4cd99700ea04d4ee562a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-07-04 08:59:45 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-07-04 09:05:31 +0000

    comms/py-hid: Update to 1.0.8
    
    - Convert to USE_PYTHON=pep517
    - Take maintainership
    
    Changes:        https://github.com/apmorton/pyhidapi/commits/master
---
 comms/py-hid/Makefile | 13 +++++++------
 comms/py-hid/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/comms/py-hid/Makefile b/comms/py-hid/Makefile
index 6372b26f871d..57dee80cff33 100644
--- a/comms/py-hid/Makefile
+++ b/comms/py-hid/Makefile
@@ -1,21 +1,22 @@
 PORTNAME=	hid
-DISTVERSION=	1.0.7
-PORTREVISION=	1
+DISTVERSION=	1.0.8
 CATEGORIES=	comms python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Ctypes bindings to comms/hidapi
+MAINTAINER=	nxjoseph@protonmail.com
+COMMENT=	ctypes bindings for hidapi
 WWW=		https://github.com/apmorton/pyhidapi
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	hidapi>0:comms/hidapi
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	hidapi>=0:comms/hidapi
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/comms/py-hid/distinfo b/comms/py-hid/distinfo
index ddfe3e917e16..80afeaf2e8d9 100644
--- a/comms/py-hid/distinfo
+++ b/comms/py-hid/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1739656219
-SHA256 (hid-1.0.7.tar.gz) = 3f809e292ab52c4435ad1442c8ef205be4c9ca4eeb80fb47c7d98e0c75527b2a
-SIZE (hid-1.0.7.tar.gz) = 4897
+TIMESTAMP = 1751375043
+SHA256 (hid-1.0.8.tar.gz) = 5ca129a7b9434ace5e3e429c1092a16792feffaf067a46b666e9c586872cdcfe
+SIZE (hid-1.0.8.tar.gz) = 4967