14
0
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:
Tomáš Chvátal
2019-08-28 01:13:39 +00:00
committed by Git OBS Bridge
parent 0c42376004
commit f466d74237
4 changed files with 17 additions and 7 deletions

View File

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

3
pyhibp-4.0.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Aug 27 14:45:31 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- 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.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 1 12:34:45 UTC 2019 - Martin Hauke <mardnh@gmx.de> Mon Jul 1 12:34:45 UTC 2019 - Martin Hauke <mardnh@gmx.de>

View File

@@ -17,22 +17,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pyhibp Name: python-pyhibp
Version: 3.1.0 Version: 4.0.0
Release: 0 Release: 0
Summary: An interface to Troy Hunt's 'Have I Been Pwned' public API Summary: An interface to Troy Hunt's 'Have I Been Pwned' public API
License: AGPL-3.0-or-later License: AGPL-3.0-or-later
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://gitlab.com/kitsunix/pyHIBP/pyHIBP URL: https://gitlab.com/kitsunix/pyHIBP/pyHIBP
Source: https://files.pythonhosted.org/packages/source/p/pyhibp/pyhibp-%{version}.tar.gz 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 requests >= 2.20.0 }
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tox}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-requests >= 2.20.0 Requires: python-requests >= 2.20.0
Requires: python-six >= 1.11.0
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages