Sync from SUSE:SLFO:Main python-google-api-python-client revision 94d5f63359e69969c75dd7fdfa18db91
This commit is contained in:
commit
6f6fcc6ab7
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
google-api-python-client-2.111.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
google-api-python-client-2.111.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
2013
python-google-api-python-client.changes
Normal file
2013
python-google-api-python-client.changes
Normal file
File diff suppressed because it is too large
Load Diff
78
python-google-api-python-client.spec
Normal file
78
python-google-api-python-client.spec
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-google-api-python-client
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
|
Name: python-google-api-python-client
|
||||||
|
Version: 2.111.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Google APIs Python Client
|
||||||
|
License: Apache-2.0
|
||||||
|
URL: https://github.com/google/google-api-python-client
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/g/google-api-python-client/google-api-python-client-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module google-api-core >= 1.31.5}
|
||||||
|
BuildRequires: %{python_module google-auth >= 1.19.0}
|
||||||
|
BuildRequires: %{python_module google-auth-httplib2 >= 0.1.0}
|
||||||
|
BuildRequires: %{python_module httplib2 >= 0.15.0}
|
||||||
|
BuildRequires: %{python_module parameterized}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module uritemplate >= 3.0.1}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-google-api-core >= 1.31.5
|
||||||
|
Requires: python-google-auth >= 1.19.0
|
||||||
|
Requires: python-google-auth-httplib2 >= 0.1.0
|
||||||
|
Requires: python-httplib2 >= 0.15.0
|
||||||
|
Requires: python-uritemplate >= 3.0.1
|
||||||
|
# Package renamed in SLE 12, do not remove Provides, Obsolete directives
|
||||||
|
# until after SLE 12 EOL
|
||||||
|
Provides: google-api-python-client = %{version}
|
||||||
|
Obsoletes: google-api-python-client < %{version}
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Google APIs Client Library for Python
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n google-api-python-client-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
# DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive fails with "socket.gaierror: [Errno -3] Temporary failure in name resolution"
|
||||||
|
donttest="test_credentials_and_credentials_file_mutually_exclusive"
|
||||||
|
# don't test deprecated oaut2client usage
|
||||||
|
donttest="$donttest or TestAuthWithOAuth2Client or test_oauth2client_crendentials"
|
||||||
|
# test_http.py uses mocked Credentials class and API from deprecated oauth2client
|
||||||
|
%pytest --ignore=samples --ignore tests/test_http.py -k "not ($donttest)"
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{python_sitelib}/apiclient
|
||||||
|
%{python_sitelib}/googleapiclient
|
||||||
|
%{python_sitelib}/google_api_python_client-%{version}.dist-info
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user