forked from pool/python-pyhibp
Accepting request 726518 from home:mcalabkova:branches:devel:languages:python
- update to version 4.0.0 * Breaking API change: The HIBP API now requires an API key for calls which search by account. * A User Agent must now be manually set. * Python 2.7 Support Dropped * Function modified: suffix_search(hash_prefix=prefix) is now the method to search for hash suffixes. * Read upstream changelog for more info. OBS-URL: https://build.opensuse.org/request/show/726518 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyhibp?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
0c42376004
commit
f466d74237
@@ -17,22 +17,20 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-pyhibp
|
||||
Version: 3.1.0
|
||||
Version: 4.0.0
|
||||
Release: 0
|
||||
Summary: An interface to Troy Hunt's 'Have I Been Pwned' public API
|
||||
License: AGPL-3.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: https://gitlab.com/kitsunix/pyHIBP/pyHIBP
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyhibp/pyhibp-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests >= 2.20.0 }
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module tox}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-requests >= 2.20.0
|
||||
Requires: python-six >= 1.11.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
|
Reference in New Issue
Block a user