pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-trezor



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Mar  1 07:15:25 UTC 2026

Modified Files:
        pkgsrc/security/py-trezor: Makefile

Log Message:
py-trezor: fix tool dependency

add test status.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/py-trezor/Makefile

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

Modified files:

Index: pkgsrc/security/py-trezor/Makefile
diff -u pkgsrc/security/py-trezor/Makefile:1.7 pkgsrc/security/py-trezor/Makefile:1.8
--- pkgsrc/security/py-trezor/Makefile:1.7      Sun Mar  1 00:58:18 2026
+++ pkgsrc/security/py-trezor/Makefile  Sun Mar  1 07:15:25 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2026/03/01 00:58:18 js Exp $
+# $NetBSD: Makefile,v 1.8 2026/03/01 07:15:25 wiz Exp $
 
 DISTNAME=      trezor-0.20.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,7 +10,7 @@ HOMEPAGE=     https://github.com/trezor/trez
 COMMENT=       Python library for communicating with Trezor hardware wallets
 LICENSE=       gnu-lgpl-v3
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
 DEPENDS+=      ${PYPKGPREFIX}-ecdsa>=0.9:../../security/py-ecdsa
 DEPENDS+=      ${PYPKGPREFIX}-mnemonic>=0.20:../../devel/py-mnemonic
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.4.0:../../devel/py-requests
@@ -34,5 +34,11 @@ SUBST_SED.python=    -e 's,/usr/bin/env pyt
 
 PYTHON_SELF_CONFLICT=  yes
 
+# as of 0.20.0
+# 1 failed, 113 passed, 1 skipped, 1 warning
+.if make(test)
+ALLOW_NETWORK_ACCESS=  yes
+.endif
+
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index