Date: Sat, 14 Aug 2021 22:34:55 GMT From: =?utf-8?Q?Vin=C3=ADcius Zavam?= <egypcio@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5e37ff47b033 - main - security/py-yubikey-manager: update 4.0.2_1 to 4.0.5 Message-ID: <202108142234.17EMYtw8005606@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by egypcio: URL: https://cgit.FreeBSD.org/ports/commit/?id=5e37ff47b033e2dcd7dbc9308d3a9479b7473aab commit 5e37ff47b033e2dcd7dbc9308d3a9479b7473aab Author: VinÃcius Zavam <egypcio@FreeBSD.org> AuthorDate: 2021-08-14 22:30:12 +0000 Commit: VinÃcius Zavam <egypcio@FreeBSD.org> CommitDate: 2021-08-14 22:30:12 +0000 security/py-yubikey-manager: update 4.0.2_1 to 4.0.5 * patch-ykman_hid_____init____.py now made to upstream (711b13a); * github.com/Yubico/yubikey-manager/releases/tag/4.0.5 --- security/py-yubikey-manager/Makefile | 3 +-- security/py-yubikey-manager/distinfo | 6 +++--- .../files/patch-ykman_hid_____init____.py | 21 --------------------- 3 files changed, 4 insertions(+), 26 deletions(-) diff --git a/security/py-yubikey-manager/Makefile b/security/py-yubikey-manager/Makefile index 89e0911599e4..145b4484c17f 100644 --- a/security/py-yubikey-manager/Makefile +++ b/security/py-yubikey-manager/Makefile @@ -1,6 +1,5 @@ PORTNAME= yubikey-manager -PORTVERSION= 4.0.2 -PORTREVISION= 1 +PORTVERSION= 4.0.5 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/security/py-yubikey-manager/distinfo b/security/py-yubikey-manager/distinfo index 29bb03d482d3..6065e7652782 100644 --- a/security/py-yubikey-manager/distinfo +++ b/security/py-yubikey-manager/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1618327758 -SHA256 (yubikey-manager-4.0.2.tar.gz) = 998f804a66695feeb3a48ba200320850243aa605d6d4edcb30bea4cc349aea21 -SIZE (yubikey-manager-4.0.2.tar.gz) = 139110 +TIMESTAMP = 1628979993 +SHA256 (yubikey-manager-4.0.5.tar.gz) = 20117dbdcbe5bed6c9a172dae8452c44689c283ad1a8434e28f4e05de153f288 +SIZE (yubikey-manager-4.0.5.tar.gz) = 142197 diff --git a/security/py-yubikey-manager/files/patch-ykman_hid_____init____.py b/security/py-yubikey-manager/files/patch-ykman_hid_____init____.py deleted file mode 100644 index 235da25bf84d..000000000000 --- a/security/py-yubikey-manager/files/patch-ykman_hid_____init____.py +++ /dev/null @@ -1,21 +0,0 @@ ---- ykman/hid/__init__.py.orig 2021-04-12 07:23:08 UTC -+++ ykman/hid/__init__.py -@@ -42,12 +42,15 @@ elif sys.platform.startswith("win32"): - from . import windows as backend - elif sys.platform.startswith("darwin"): - from . import macos as backend -+elif sys.platform.startswith("freebsd"): -+ backend = None - else: - raise Exception("Unsupported platform") - -- --list_otp_devices: Callable[[], List[OtpYubiKeyDevice]] = backend.list_devices -- -+if backend is not None: -+ list_otp_devices: Callable[[], List[OtpYubiKeyDevice]] = backend.list_devices -+else: -+ list_otp_devices: Callable[[], List[OtpYubiKeyDevice]] = lambda: [] - - class CtapYubiKeyDevice(YkmanDevice): - """YubiKey FIDO USB HID device"""
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108142234.17EMYtw8005606>