git: 7a110eb5d164 - main - security/py-nitrokey: Update hidapi version range and add BR_DEPENDS

From: Yusuf Yaman <nxjoseph_at_FreeBSD.org>
Date: Mon, 14 Sep 2026 13:58:11 UTC
The branch main has been updated by nxjoseph:

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

commit 7a110eb5d16439dd7689e91c1fd884619d082038
Author:     Thibault Payet <monwarez@mailoo.org>
AuthorDate: 2026-09-14 13:53:12 +0000
Commit:     Yusuf Yaman <nxjoseph@FreeBSD.org>
CommitDate: 2026-09-14 13:58:02 +0000

    security/py-nitrokey: Update hidapi version range and add BR_DEPENDS
    
    PR:             297992
    Approved by:    osa, vvd (Mentors, implicit)
    Co-authored-by: Yusuf Yaman <nxjoseph@FreeBSD.org>
---
 security/py-nitrokey/Makefile | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/security/py-nitrokey/Makefile b/security/py-nitrokey/Makefile
index 7ad68c7e163b..fb881c6de8ce 100644
--- a/security/py-nitrokey/Makefile
+++ b/security/py-nitrokey/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	nitrokey
 DISTVERSION=	0.4.2
+PORTREVISION=	1
 CATEGORIES=	security devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,23 +11,17 @@ WWW=		https://pypi.org/project/nitrokey/
 
 LICENSE=	MIT
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fido2>=1.1.2,<3:security/py-fido2@${PY_FLAVOR} \
+_BR_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fido2>=1.1.2,<3:security/py-fido2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}semver>=0:devel/py-semver@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tlv8>=0:converters/py-tlv8@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}crcmod>=1.7,<2:devel/py-crcmod@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}hidapi>=0.14,<0.15:comms/py-hidapi@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}protobuf>=5.26:devel/py-protobuf@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyserial>=3.5,<4:comms/py-pyserial@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}poetry>=0:devel/py-poetry@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fido2>=1.1.2,<3:security/py-fido2@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}semver>=0:devel/py-semver@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tlv8>=0:converters/py-tlv8@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}crcmod>=1.7,<2:devel/py-crcmod@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}hidapi>=0.14,<0.15:comms/py-hidapi@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hidapi>=0.14,<0.16:comms/py-hidapi@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}protobuf>=5.26:devel/py-protobuf@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyserial>=3.5,<4:comms/py-pyserial@${PY_FLAVOR}
+BUILD_DEPENDS=	${_BR_DEPENDS} \
+		${PYTHON_PKGNAMEPREFIX}poetry>=0:devel/py-poetry@${PY_FLAVOR}
+RUN_DEPENDS=	${_BR_DEPENDS}
 
 USES=		python shebangfix
 USE_PYTHON=	autoplist concurrent cryptography pep517