15
0
forked from pool/python-PyFxA

- update to 0.7.8:

* Add retries to the APIClient session

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyFxA?expand=0&rev=28
This commit is contained in:
2024-03-21 17:13:40 +00:00
committed by Git OBS Bridge
parent a18ca5903e
commit b5aac1b95e
4 changed files with 19 additions and 9 deletions

View File

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

3
PyFxA-0.7.8.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 21 17:09:04 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.7.8:
* Add retries to the APIClient session
-------------------------------------------------------------------
Wed Apr 6 10:23:23 UTC 2022 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-PyFxA
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2017-2018 The openSUSE Project.
#
# All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-PyFxA
Version: 0.7.7
Version: 0.7.8
Release: 0
Summary: Firefox Accounts client library for Python
License: MPL-2.0
@@ -30,20 +30,23 @@ BuildRequires: %{python_module PyBrowserID}
BuildRequires: %{python_module PyJWT}
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module hawkauthlib}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyotp}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.4.2}
BuildRequires: %{python_module responses}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.14}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyBrowserID
Requires: python-PyJWT
Requires: python-cryptography
Requires: python-requests >= 2.4.2
Requires: python-six >= 1.14
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -56,10 +59,10 @@ sed -i -e '/^#!\/usr\/bin\/env python/d' fxa/__main__.py
find ./ -type f -exec chmod -x {} +
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/fxa-client
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -85,6 +88,7 @@ includedTests="\
%files %{python_files}
%doc CHANGES.txt README.rst
%python_alternative %{_bindir}/fxa-client
%{python_sitelib}/*
%{python_sitelib}/fxa
%{python_sitelib}/PyFxA-%{version}.dist-info
%changelog