15
0

- update to 0.2.0:

* Add support for Python 3.12 (#126)
  * Remove third-party mock library (#124)
- drop python-google-auth-httplib2-no-mock.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth-httplib2?expand=0&rev=12
This commit is contained in:
2023-12-16 20:17:27 +00:00
committed by Git OBS Bridge
parent d340403385
commit 89e09c4483
5 changed files with 19 additions and 24 deletions

View File

@@ -18,21 +18,20 @@
%{?sle15_python_module_pythons}
Name: python-google-auth-httplib2
Version: 0.1.1
Version: 0.2.0
Release: 0
Summary: Google Authentication Library: httplib2 transport
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2
Source: https://files.pythonhosted.org/packages/source/g/google-auth-httplib2/google-auth-httplib2-%{version}.tar.gz
# https://github.com/googleapis/google-auth-library-python-httplib2/issues/68
Patch0: python-google-auth-httplib2-no-mock.patch
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module google-auth}
BuildRequires: %{python_module httplib2 >= 0.15.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-localserver}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-auth
@@ -47,10 +46,10 @@ This library provides an `httplib2`_ transport for `google-auth`_.
%autosetup -p1 -n google-auth-httplib2-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -59,7 +58,8 @@ This library provides an `httplib2`_ transport for `google-auth`_.
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/__pycache__
%{python_sitelib}/google_auth_httplib2*
%{python_sitelib}/google_auth_httplib2.py
%pycache_only %{python_sitelib}/__pycache__/google_auth_httplib*
%{python_sitelib}/google_auth_httplib2-%{version}.dist-info
%changelog