14
0
forked from pool/python-pyotp

Accepting request 824895 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/824895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyotp?expand=0&rev=3
This commit is contained in:
2020-08-17 12:39:45 +00:00
committed by Git OBS Bridge
4 changed files with 19 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc537e8acd985c5cbf51e11b7d53c42276fee017a73aec7c07380695671ca1a1
size 11672

3
pyotp-2.4.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:01eceab573181188fe038d001e42777884a7f5367203080ef5bda0e30fe82d28
size 14789

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Aug 7 13:13:17 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 2.4.0
* Fix data type for at(for_time) (#85)
* Add support for parsing provisioning URIs (#84)
* Raise error when trying to generate secret that is too short (The
secret must be at least 128 bits)
* Add random_hex function (#82)
* Drop Python 2.7
-------------------------------------------------------------------
Tue Jul 30 12:00:33 UTC 2019 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyotp
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pyotp
Version: 2.3.0
Version: 2.4.0
Release: 0
Summary: Python One Time Password Library
License: MIT
Group: Development/Languages/Python
Url: https://github.com/pyotp/pyotp
URL: https://github.com/pyotp/pyotp
Source: https://files.pythonhosted.org/packages/source/p/pyotp/pyotp-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
@@ -48,7 +49,7 @@ or multi-factor (MFA) authentication methods in web applications and in other sy
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%pyunittest
%files %{python_files}
%license LICENSE