]> git.pld-linux.org Git - packages/python-fido2.git/commitdiff
up to 0.9.1 auto/th/python-fido2-0.9.1-1
authorJan Palus <atler@pld-linux.org>
Wed, 3 Mar 2021 12:11:28 +0000 (13:11 +0100)
committerJan Palus <atler@pld-linux.org>
Wed, 3 Mar 2021 12:11:28 +0000 (13:11 +0100)
python-fido2-mock.patch
python-fido2.spec

index 330d7ed163d7adec8f91b6cf3d0d269ee87b8d65..31523978218a2d54b46fc7432f9b6a9274c2cf8a 100644 (file)
@@ -16,7 +16,7 @@
 --- fido2-0.3.0/test/test_ctap1.py.orig        2018-04-05 14:24:00.000000000 +0200
 +++ fido2-0.3.0/test/test_ctap1.py     2018-05-20 21:12:03.176881487 +0200
 @@ -31,7 +31,10 @@ from fido2.ctap1 import CTAP1, ApduError
- from fido2.ctap1 import CTAP1, ApduError
+ from fido2.ctap1 import Ctap1, ApduError
  from binascii import a2b_hex
  import unittest
 -import mock
@@ -26,7 +26,7 @@
 +    from unittest import mock
  
  
- class TestCTAP1(unittest.TestCase):
+ class TestCtap1(unittest.TestCase):
 --- fido2-0.3.0/test/test_ctap2.py.orig        2018-04-12 17:10:24.000000000 +0200
 +++ fido2-0.3.0/test/test_ctap2.py     2018-05-20 21:12:17.790214668 +0200
 @@ -37,7 +37,10 @@ from cryptography.hazmat.backends import
  
  _AAGUID = a2b_hex("F8A011F38C0A4D15800617111F9EDC7D")
  _INFO = a2b_hex(
---- fido2-0.3.0/test/test_hid.py.orig  2018-04-05 14:24:00.000000000 +0200
-+++ fido2-0.3.0/test/test_hid.py       2018-05-20 21:12:31.910214473 +0200
-@@ -30,7 +30,10 @@ from __future__ import absolute_import,
- from fido2.ctap import CtapError
- from fido2.hid import CtapHidDevice
- import unittest
--import mock
-+try:
-+    import mock
-+except:
-+    from unittest import mock
- class HidTest(unittest.TestCase):
index 70d807fdc6891263d7b37bf33662b0c6c271cfce..1bfd276100f1f2cdca1d5a3e83964b8f2355ce5a 100644 (file)
@@ -7,8 +7,8 @@
 Summary:       Python 2 based FIDO 2.0 library
 Summary(pl.UTF-8):     Biblioteka FIDO 2.0 dla Pythona 2
 Name:          python-fido2
-Version:       0.8.1
-Release:       2
+Version:       0.9.1
+Release:       1
 # Yubico code is BSD licensed; includes also:
 # pyudf (Apache 2.0)
 # public suffix list (MPL 2.0)
@@ -16,7 +16,7 @@ License:      BSD, Apache v2.0, MPL v2.0
 Group:         Libraries/Python
 #Source0Download: https://github.com/Yubico/python-fido2/releases
 Source0:       https://github.com/Yubico/python-fido2/releases/download/%{version}/fido2-%{version}.tar.gz
-# Source0-md5: f691a99d1223ab00607d56430b27804e
+# Source0-md5: bf661f7949a057440e52aad6595a24fa
 Patch0:                %{name}-mock.patch
 URL:           https://developers.yubico.com/python-fido2/
 BuildRequires: rpm-pythonprov
This page took 0.087304 seconds and 4 git commands to generate.