forked from pool/python-google-auth
- Update to 1.21.1 * dummy commit to trigger a auto release (#597) - from version 1.21.0 * add GOOGLE_API_USE_CLIENT_CERTIFICATE support (#592) - from version 1.20.1 * reduce refresh clock skew to 10 seconds (#581) * set Content-Type header in the request to signBlob API to avoid Invalid JSON payload error (#439) - from version 1.20.0 * Add debug logging that can help with diagnosing auth lib. path (#473) * Show the transport exception that happened for GCE Metadata (#474) * **packaging:** add support for Python 3.8 (#569), closes (#568) - from version 1.19.2 * Revert "fix: migrate signBlob to iamcredentials.googleapis.com" (#563) - from version 1.19.1 * don't add empty quota project (#560) - from version 1.19.0 * add quota project to base credentials class (#546) * check 'iss' in `verify_oauth2_token` (#500) * migrate signBlob to iamcredentials.googleapis.com (#553) * remove 3.4 from supported versions list (#549) - from version 1.18.0 * make ``load_credentials_from_file`` a public method (#530) * no warning if quota_project_id is given (#537) OBS-URL: https://build.opensuse.org/request/show/833479 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=24
75 lines
2.5 KiB
RPMSpec
75 lines
2.5 KiB
RPMSpec
#
|
||
# spec file for package python-google-auth
|
||
#
|
||
# Copyright (c) 2020 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/
|
||
#
|
||
|
||
|
||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||
Name: python-google-auth
|
||
Version: 1.21.1
|
||
Release: 0
|
||
Summary: Google Authentication Library
|
||
License: Apache-2.0
|
||
URL: https://github.com/GoogleCloudPlatform/google-auth-library-python
|
||
Source: https://files.pythonhosted.org/packages/source/g/google-auth/google-auth-%{version}.tar.gz
|
||
BuildRequires: %{python_module Flask}
|
||
BuildRequires: %{python_module cachetools >= 2.0.0}
|
||
BuildRequires: %{python_module cryptography}
|
||
BuildRequires: %{python_module freezegun}
|
||
BuildRequires: %{python_module mock}
|
||
BuildRequires: %{python_module oauth2client-gce}
|
||
BuildRequires: %{python_module oauth2client}
|
||
BuildRequires: %{python_module pyOpenSSL}
|
||
BuildRequires: %{python_module pyasn1-modules >= 0.2.1}
|
||
BuildRequires: %{python_module pytest-localserver}
|
||
BuildRequires: %{python_module pytest}
|
||
BuildRequires: %{python_module requests}
|
||
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: fdupes
|
||
BuildRequires: python-rpm-macros
|
||
Requires: python-cachetools >= 2.0.0
|
||
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
|
||
BuildArch: noarch
|
||
%python_subpackages
|
||
|
||
%description
|
||
This library simplifies using Google’s various server-to-server authentication mechanisms to access Google APIs.
|
||
|
||
%prep
|
||
%setup -q -n google-auth-%{version}
|
||
|
||
%build
|
||
%python_build
|
||
|
||
%install
|
||
%python_install
|
||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||
|
||
%check
|
||
%pytest
|
||
|
||
%files %{python_files}
|
||
%license LICENSE
|
||
%doc README.rst
|
||
%{python_sitelib}/*
|
||
|
||
%changelog
|