From f466d74237d80c22449fc6f70c4360d7746d1646492589b2ca0e7be2ecfade77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 28 Aug 2019 01:13:39 +0000 Subject: [PATCH] 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 --- pyhibp-3.1.0.tar.gz | 3 --- pyhibp-4.0.0.tar.gz | 3 +++ python-pyhibp.changes | 12 ++++++++++++ python-pyhibp.spec | 6 ++---- 4 files changed, 17 insertions(+), 7 deletions(-) delete mode 100644 pyhibp-3.1.0.tar.gz create mode 100644 pyhibp-4.0.0.tar.gz diff --git a/pyhibp-3.1.0.tar.gz b/pyhibp-3.1.0.tar.gz deleted file mode 100644 index 40b4b50..0000000 --- a/pyhibp-3.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7873dea2dd309fdd67a7479741d434c29f40ff385018fc9676880ec001cebcf1 -size 27859 diff --git a/pyhibp-4.0.0.tar.gz b/pyhibp-4.0.0.tar.gz new file mode 100644 index 0000000..b3e6499 --- /dev/null +++ b/pyhibp-4.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32f6ce30822b56659ca63f5ccffe2ab57195aedf7c03c20b6effd8e8828d6a26 +size 30707 diff --git a/python-pyhibp.changes b/python-pyhibp.changes index 49dba52..ad50837 100644 --- a/python-pyhibp.changes +++ b/python-pyhibp.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Aug 27 14:45:31 UTC 2019 - Marketa Calabkova + +- 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 diff --git a/python-pyhibp.spec b/python-pyhibp.spec index 32b8f88..46f3ff5 100644 --- a/python-pyhibp.spec +++ b/python-pyhibp.spec @@ -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