15
0
forked from pool/python-PyFxA

Accepting request 1318415 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1318415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyFxA?expand=0&rev=15
This commit is contained in:
2025-11-18 14:40:53 +00:00
committed by Git OBS Bridge
4 changed files with 32 additions and 8 deletions

View File

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

3
pyfxa-0.8.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Nov 17 15:56:25 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 0.8.1
* Fixes issue with BrowserID removal
- from version 0.8.0
* Remove BrowserID Support
- Add support for libalternatives
- Use Python 3.11 on SLE-15 by default
- Update BuildRequires and Requires from pyproject.toml
-------------------------------------------------------------------
Tue Nov 5 12:22:50 UTC 2024 - pgajdos@suse.com

View File

@@ -16,16 +16,20 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-PyFxA
Version: 0.7.9
Version: 0.8.1
Release: 0
Summary: Firefox Accounts client library for Python
License: MPL-2.0
Group: Development/Languages/Python
URL: https://github.com/mozilla/PyFxA
Source: https://files.pythonhosted.org/packages/source/P/PyFxA/pyfxa-%{version}.tar.gz
BuildRequires: %{python_module PyBrowserID}
BuildRequires: %{python_module PyJWT}
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module hatchling}
@@ -40,13 +44,17 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyBrowserID
Requires: python-PyJWT
Requires: python-cryptography
Requires: python-hawkauthlib
Requires: python-requests >= 2.4.2
%if %{with libalternatives}
Requires: alts
BuildRequires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
%endif
BuildArch: noarch
%python_subpackages
@@ -79,11 +87,16 @@ includedTests="\
not test_monkey_patch_for_gevent"
%pytest -k "${includedTests}" fxa/tests/
%if %{with libalternatives}
%pre
%python_libalternatives_reset_alternative fxa-client
%else
%post
%python_install_alternative fxa-client
%postun
%python_uninstall_alternative fxa-client
%endif
%files %{python_files}
%doc CHANGES.txt README.rst