[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63139] [PATCH python 18/20] gnu: python-fido2: Update to 1.1.1 and
From: |
John Kehayias |
Subject: |
[bug#63139] [PATCH python 18/20] gnu: python-fido2: Update to 1.1.1 and enable tests. |
Date: |
Fri, 28 Apr 2023 05:51:58 +0000 |
* gnu/packages/security-token.scm (python-fido2): Update to 1.1.1.
[build-system]: Switch to pyproject-build-system.
[arguments]: Enable tests.
[native-inputs]: Add python-poetry-core and python-pytest.
---
gnu/packages/security-token.scm | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index 5dfd3ea35d..ad772ef292 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -48,6 +48,7 @@ (define-module (gnu packages security-token)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system glib-or-gtk)
+ #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
@@ -73,6 +74,7 @@ (define-module (gnu packages security-token)
#:use-module (gnu packages networking)
#:use-module (gnu packages cyrus-sasl)
#:use-module (gnu packages popt)
+ #:use-module (gnu packages python-build)
#:use-module (gnu packages readline)
#:use-module (gnu packages qt)
#:use-module (gnu packages tls)
@@ -684,7 +686,7 @@ (define-public pam-u2f
(define-public python-fido2
(package
(name "python-fido2")
- (version "0.9.3")
+ (version "1.1.1")
(source (origin
(method url-fetch)
(uri
@@ -693,17 +695,13 @@ (define-public python-fido2
version "/fido2-" version ".tar.gz"))
(sha256
(base32
- "1v366h449f8q74jkmy1291ffj2345nm7cdsipgqvgz4w22k8jpml"))
+ "1hwz0xagkmy6hhcyfl66dxf2vfa69lqqqjrv70vw7harik59bi2x"))
(snippet
;; Remove bundled dependency.
'(delete-file "fido2/public_suffix_list.dat"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- `(;; This attempts to access
- ;; /System/Library/Frameworks/IOKit.framework/IOKit
- ;; The recommendation is to use tox for testing.
- #:tests? #false
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'install-public-suffix-list
(lambda* (#:key inputs #:allow-other-keys)
@@ -717,7 +715,11 @@ (define-public python-fido2
(propagated-inputs
(list python-cryptography python-six))
(native-inputs
- (list python-mock python-pyfakefs public-suffix-list))
+ (list python-poetry-core
+ python-mock
+ python-pyfakefs
+ python-pytest
+ public-suffix-list))
(home-page "https://github.com/Yubico/python-fido2")
(synopsis "Python library for communicating with FIDO devices over USB")
(description
--
2.39.2
- [bug#63139] [PATCH python 04/20] gnu: python-crashtest: Update to 0.4.1., (continued)
- [bug#63139] [PATCH python 04/20] gnu: python-crashtest: Update to 0.4.1., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 08/20] gnu: python-filelock: Update to 3.12.0., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 01/20] gnu: Add python-installer., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 09/20] gnu: python-distlib: Update to 0.3.6., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 10/20] gnu: python-virtualenv: Update to 20.22.0., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 13/20] gnu: python-dulwich: Update to 0.21.3., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 11/20] gnu: python-pkginfo: Update to 1.9.6., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 12/20] gnu: python-jsonschema: Update to 4.17.3., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 15/20] gnu: poetry: Fix build., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 14/20] gnu: Update python-pypa-build to 1.0.0., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 18/20] gnu: python-fido2: Update to 1.1.1 and enable tests.,
John Kehayias <=
- [bug#63139] [PATCH python 16/20] gnu: Add python-poetry-plugin-export., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 17/20] gnu: python-pyscard: Update to 2.0.7., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 20/20] gnu: python-yubikey-manager: Update to 5.1.0 and enable tests., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 19/20] gnu: Add python-makefun., John Kehayias, 2023/04/28