1
0
python-google-auth/python-google-auth.spec
Markéta Machová e119883536 Accepting request 1095583 from home:glaubitz:branches:devel:languages:python
- Update to 2.21.0
  * Add framework for BYOID metrics headers (#1332)
  * Pypy unit test build (#1335)
- from version 2.20.0
  * Add public API load_credentials_from_dict (#1326)
  * Expiry in compute_engine.IDTokenCredentials (#1327), closes (#1323)
  * Expiry in impersonated_credentials.IDTokenCredentials (#1330)
  * Invalid `dev` version identifiers in `setup.py` (#1322), closes (#1321)
- from version 2.19.1
  * Check id token error response (#1315)
  * Fix "AttributeError: 'str' object has no attribute 'get'" (dac7cc3)
  * Replacing abc.com with example.com (dac7cc3)
- from version 2.19.0
  * Add metrics (part 1) (#1298)
  * Add metrics (part 2) (#1303)
  * Add metrics (part 3) (#1305)
  * Expose `universe_domain` for external account creds (#1296)
  * Remove python 2.7 from setup.py and nox tests (#1301)
- from version 2.18.1
  * Self signed jwt token should be string type (#1294)
- from version 2.18.0
  * Add smbios check to detect GCE residency (#1276)
  * Universe domain support for service account (#1286)
- Refresh patches for new version
  * python-google-auth-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1095583
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=64
2023-06-27 11:07:04 +00:00

89 lines
3.1 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# spec file for package python-google-auth
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-google-auth
Version: 2.21.0
Release: 0
Summary: Google Authentication Library
License: Apache-2.0
URL: https://github.com/googleapis/google-auth-library-python
Source: https://files.pythonhosted.org/packages/source/g/google-auth/google-auth-%{version}.tar.gz
# https://github.com/googleapis/google-auth-library-python/issues/1055
Patch1: python-google-auth-no-mock.patch
BuildRequires: %{python_module Flask}
# START TESTING SECTION
BuildRequires: %{python_module aiohttp >= 3.6.2}
BuildRequires: %{python_module cachetools >= 2.0.0}
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module pyOpenSSL >= 20.0.0}
BuildRequires: %{python_module pyasn1-modules >= 0.2.1}
BuildRequires: %{python_module pytest-localserver}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pyu2f >= 0.1.5}
BuildRequires: %{python_module requests >= 2.20.0}
BuildRequires: %{python_module responses}
BuildRequires: %{python_module rsa >= 3.1.4}
BuildRequires: %{python_module setuptools >= 40.3.0}
BuildRequires: %{python_module six >= 1.9.0}
BuildRequires: %{python_module urllib3 < 2.0}
# END TESTING SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cachetools >= 2.0.0
Requires: python-cryptography >= 38.0.3
Requires: python-pyasn1-modules >= 0.2.1
Requires: python-rsa >= 3.1.4
Requires: python-setuptools >= 40.3.0
Requires: python-six >= 1.9.0
Recommends: python-aiohttp >= 3.6.2
Recommends: python-pyOpenSSL >= 20.0.0
Recommends: python-pyu2f >= 0.1.5
Recommends: python-requests >= 2.20.0
BuildArch: noarch
%python_subpackages
%description
This library simplifies using Googles various server-to-server authentication mechanisms to access Google APIs.
%prep
%autosetup -p1 -n google-auth-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# don't test deprecated oauth2client utilities if we don't have it anymore
%pytest --ignore tests/test__oauth2client.py
%files %{python_files}
%license LICENSE
%doc README.rst
%dir %{python_sitelib}/google
%{python_sitelib}/google/auth
%{python_sitelib}/google/oauth2
%{python_sitelib}/google_auth-%{version}*-info
%{python_sitelib}/google_auth-%{version}*-nspkg.pth
%changelog