Compare commits

2 Commits

4 changed files with 8 additions and 32 deletions

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

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

View File

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

View File

@@ -1,14 +1,3 @@
-------------------------------------------------------------------
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,20 +16,16 @@
# 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.8.1
Version: 0.7.9
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}
@@ -44,17 +40,13 @@ 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
%endif
BuildArch: noarch
%python_subpackages
@@ -87,16 +79,11 @@ 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