forked from pool/python-PyFxA
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 0efdf3ce2d | |||
| d2bc835467 | |||
| 13773cd241 | |||
| 3e6652469b |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0cc15997585b60d69270e4d69006cada72ad8bac03e524b9037d2aed35b9bcee
|
|
||||||
size 39052
|
|
||||||
3
pyfxa-0.8.1.tar.gz
Normal file
3
pyfxa-0.8.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:df3c575b314e8d67275fc8404294731a5cd39a75e36639fd8c5f8c76c1ee1a4c
|
||||||
|
size 39903
|
||||||
@@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- version update to 0.7.9
|
||||||
|
* Python3 support
|
||||||
|
* Add support for v2 password hashes
|
||||||
|
* Updated to pyproject.toml
|
||||||
|
* Updated libraries
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 21 17:09:04 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Thu Mar 21 17:09:04 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -16,37 +16,45 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-PyFxA
|
Name: python-PyFxA
|
||||||
Version: 0.7.8
|
Version: 0.8.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Firefox Accounts client library for Python
|
Summary: Firefox Accounts client library for Python
|
||||||
License: MPL-2.0
|
License: MPL-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/mozilla/PyFxA
|
URL: https://github.com/mozilla/PyFxA
|
||||||
Source: https://files.pythonhosted.org/packages/source/P/PyFxA/PyFxA-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/P/PyFxA/pyfxa-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module PyBrowserID}
|
|
||||||
BuildRequires: %{python_module PyJWT}
|
BuildRequires: %{python_module PyJWT}
|
||||||
BuildRequires: %{python_module cryptography}
|
BuildRequires: %{python_module cryptography}
|
||||||
|
BuildRequires: %{python_module hatchling}
|
||||||
BuildRequires: %{python_module hawkauthlib}
|
BuildRequires: %{python_module hawkauthlib}
|
||||||
|
BuildRequires: %{python_module parameterized}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pyotp}
|
BuildRequires: %{python_module pyotp}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module requests >= 2.4.2}
|
BuildRequires: %{python_module requests >= 2.4.2}
|
||||||
BuildRequires: %{python_module responses}
|
BuildRequires: %{python_module responses}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six >= 1.14}
|
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-PyBrowserID
|
|
||||||
Requires: python-PyJWT
|
Requires: python-PyJWT
|
||||||
Requires: python-cryptography
|
Requires: python-cryptography
|
||||||
|
Requires: python-hawkauthlib
|
||||||
Requires: python-requests >= 2.4.2
|
Requires: python-requests >= 2.4.2
|
||||||
Requires: python-six >= 1.14
|
%if %{with libalternatives}
|
||||||
|
Requires: alts
|
||||||
|
BuildRequires: alts
|
||||||
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -54,7 +62,7 @@ BuildArch: noarch
|
|||||||
This is python library for interacting with the Firefox Accounts ecosystem.
|
This is python library for interacting with the Firefox Accounts ecosystem.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n PyFxA-%{version}
|
%autosetup -p1 -n pyfxa-%{version}
|
||||||
sed -i -e '/^#!\/usr\/bin\/env python/d' fxa/__main__.py
|
sed -i -e '/^#!\/usr\/bin\/env python/d' fxa/__main__.py
|
||||||
find ./ -type f -exec chmod -x {} +
|
find ./ -type f -exec chmod -x {} +
|
||||||
|
|
||||||
@@ -79,16 +87,21 @@ includedTests="\
|
|||||||
not test_monkey_patch_for_gevent"
|
not test_monkey_patch_for_gevent"
|
||||||
%pytest -k "${includedTests}" fxa/tests/
|
%pytest -k "${includedTests}" fxa/tests/
|
||||||
|
|
||||||
|
%if %{with libalternatives}
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative fxa-client
|
||||||
|
%else
|
||||||
%post
|
%post
|
||||||
%python_install_alternative fxa-client
|
%python_install_alternative fxa-client
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative fxa-client
|
%python_uninstall_alternative fxa-client
|
||||||
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGES.txt README.rst
|
%doc CHANGES.txt README.rst
|
||||||
%python_alternative %{_bindir}/fxa-client
|
%python_alternative %{_bindir}/fxa-client
|
||||||
%{python_sitelib}/fxa
|
%{python_sitelib}/fxa
|
||||||
%{python_sitelib}/PyFxA-%{version}.dist-info
|
%{python_sitelib}/pyfxa-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user