14
0

Accepting request 1133645 from devel:languages:python

- update to 1.2.0:
  * Add support for Python 3.12 (#318)
  * Use setuptools.find_namespace_packages (#321)

OBS-URL: https://build.opensuse.org/request/show/1133645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-auth-oauthlib?expand=0&rev=17
This commit is contained in:
2023-12-17 20:32:22 +00:00
committed by Git OBS Bridge
4 changed files with 18 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83ea8c3b0881e453790baff4448e8a6112ac8778d1de9da0b68010b843937afb
size 20679

BIN
google-auth-oauthlib-1.2.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Dec 16 20:21:10 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.2.0:
* Add support for Python 3.12 (#318)
* Use setuptools.find_namespace_packages (#321)
-------------------------------------------------------------------
Thu Oct 5 09:03:50 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-google-auth-oauthlib
Version: 1.1.0
Version: 1.2.0
Release: 0
Summary: Google authentication library
License: Apache-2.0
@@ -26,7 +26,8 @@ URL: https://github.com/googleapis/google-auth-library-python-oauthli
Source: https://files.pythonhosted.org/packages/source/g/google-auth-oauthlib/google-auth-oauthlib-%{version}.tar.gz
# https://github.com/googleapis/google-auth-library-python-oauthlib/issues/207
Patch0: python-google-auth-oauthlib-no-mock.patch
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-auth >= 2.14.0
@@ -49,14 +50,15 @@ This library provides oauthlib integration with google-auth.
%prep
%setup -q -n google-auth-oauthlib-%{version}
%patch0 -p1
rm -rf docs
rm -rf tests/__pycache__/
rm -rf tests/*.pyc
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/google-oauthlib-tool
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -73,6 +75,7 @@ rm -rf tests/*.pyc
%doc README.rst
%license LICENSE
%python_alternative %{_bindir}/google-oauthlib-tool
%{python_sitelib}/google_auth_oauthlib*
%{python_sitelib}/google_auth_oauthlib
%{python_sitelib}/google_auth_oauthlib-%{version}.dist-info
%changelog