1
0
python-google-auth/python-google-auth.spec
Tomáš Chvátal 15a9bfa6a7 Accepting request 605113 from home:glaubitz:branches:devel:languages:python
- New upstream release (bsc#1088358)
  + Version 1.4.1
    - Added a check for the cryptography version before attempting to use it.
  + From version 1.4.0
    - Added `cryptography`-based RSA signer and verifier.
    - Added `google.oauth2.service_account.IDTokenCredentials`.
    - Improved documentation around ID Tokens
  + From version 1.3.0
    - Added ``google.oauth2.credentials.Credentials.from_authorized_user_file``.
    - Dropped direct pyasn1 dependency in favor of letting ``pyasn1-modules``
      specify the right version.
    - ``default()`` now checks for the project ID environment var before
      warning about missing project ID.
    - Fixed the docstrings for ``has_scopes()`` and ``with_scopes()``.
    - Fixed example in docstring for ``ReadOnlyScoped``.
    - Made ``transport.requests`` use timeouts and retries
      to improve reliability.

OBS-URL: https://build.opensuse.org/request/show/605113
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=3
2018-05-07 13:52:18 +00:00

66 lines
2.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) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-google-auth
Version: 1.4.1
Release: 0
Summary: Google Authentication Library
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/GoogleCloudPlatform/google-auth-library-python
Source: https://pypi.python.org/packages/83/f2/9dc87be31962a58c84e844c1f47d52a4e2811ba2e15253a036be3ae8acd8/google-auth-%{version}.tar.gz
BuildRequires: %{python_module cachetools}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pyasn1-modules}
BuildRequires: %{python_module pyasn1}
BuildRequires: %{python_module rsa}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cachetools
Requires: python-pyasn1
Requires: python-pyasn1-modules
Requires: python-rsa
Requires: python-setuptools
Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
This library simplifies using Googles various server-to-server authentication mechanisms to access Google APIs.
%prep
%setup -q -n google-auth-%{version}
%build
%python_build
%install
%python_install
%fdupes %{buildroot}%{_prefix}
%files %{python_files}
%defattr(-,root,root,-)
%{python_sitelib}/*
%changelog