From a2bed9959de0361455e8bd22a15464885f6c12f6ff109d5f6bff60a9ff272e73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 7 Aug 2020 17:10:32 +0000 Subject: [PATCH] Accepting request 824890 from home:mcalabkova:branches:devel:languages:python - 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 OBS-URL: https://build.opensuse.org/request/show/824890 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyotp?expand=0&rev=5 --- pyotp-2.3.0.tar.gz | 3 --- pyotp-2.4.0.tar.gz | 3 +++ python-pyotp.changes | 11 +++++++++++ python-pyotp.spec | 9 +++++---- 4 files changed, 19 insertions(+), 7 deletions(-) delete mode 100644 pyotp-2.3.0.tar.gz create mode 100644 pyotp-2.4.0.tar.gz diff --git a/pyotp-2.3.0.tar.gz b/pyotp-2.3.0.tar.gz deleted file mode 100644 index 7cb0b97..0000000 --- a/pyotp-2.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fc537e8acd985c5cbf51e11b7d53c42276fee017a73aec7c07380695671ca1a1 -size 11672 diff --git a/pyotp-2.4.0.tar.gz b/pyotp-2.4.0.tar.gz new file mode 100644 index 0000000..c74225d --- /dev/null +++ b/pyotp-2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01eceab573181188fe038d001e42777884a7f5367203080ef5bda0e30fe82d28 +size 14789 diff --git a/python-pyotp.changes b/python-pyotp.changes index d517383..ea7c9be 100644 --- a/python-pyotp.changes +++ b/python-pyotp.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Aug 7 13:13:17 UTC 2020 - Marketa Calabkova + +- 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 diff --git a/python-pyotp.spec b/python-pyotp.spec index 73b1b04..e80f3c9 100644 --- a/python-pyotp.spec +++ b/python-pyotp.spec @@ -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