git: 3f617257c003 - main - www/py-google-api-python-client: Update to 2.142.0

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Tue, 20 Aug 2024 19:58:24 UTC
The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3f617257c00319b9702fb50a6e7eb7d90ceb3b90

commit 3f617257c00319b9702fb50a6e7eb7d90ceb3b90
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2024-08-20 19:53:40 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2024-08-20 19:53:40 +0000

    www/py-google-api-python-client: Update to 2.142.0
    
    - Add another test to ignored tests because it requires an old version
      of security/py-oauth2client (less than 4.0.0)
    
    Release changes:        https://github.com/googleapis/google-api-python-client/releases/tag/v2.142.0
    Reported by:    release-please[bot] <notifications@github.com>
---
 www/py-google-api-python-client/Makefile | 12 +++++++++---
 www/py-google-api-python-client/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/www/py-google-api-python-client/Makefile b/www/py-google-api-python-client/Makefile
index e48d10cef202..a3a66531eef0 100644
--- a/www/py-google-api-python-client/Makefile
+++ b/www/py-google-api-python-client/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	google-api-python-client
-DISTVERSION=	2.141.0
+DISTVERSION=	2.142.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,6 +18,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=1.31.5:www/py-google-api-co
 		${PYTHON_PKGNAMEPREFIX}httplib2>=0.19.0:www/py-httplib2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}oauth2client>=4.1.3:security/py-oauth2client@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}uritemplate>=3.0.1:net/py-uritemplate@${PY_FLAVOR}
+# tests: 318 passed, 3 deselected
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=1.31.5:www/py-google-api-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}google-auth-httplib2>=0.2.0:security/py-google-auth-httplib2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}google-auth>=1.32:security/py-google-auth@${PY_FLAVOR} \
@@ -26,12 +27,17 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=1.31.5:www/py-google-api-c
 		${PYTHON_PKGNAMEPREFIX}parameterized>=0.8.1:devel/py-parameterized@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}uritemplate>=3.0.1:net/py-uritemplate@${PY_FLAVOR}
 
-# 317 passed, 1 skipped, 2 deselected
 USES=		pytest python
 USE_PYTHON=	autoplist distutils unittest
-# Require Application Default Credentials, see https://cloud.google.com/docs/authentication/external/set-up-adc
+# Require Application Default Credentials
+# see https://cloud.google.com/docs/authentication/external/set-up-adc
 PYTEST_IGNORED_TESTS=	test_universe_env_var_configured_with_mtls \
 			test_client_options_universe_configured_with_mtls
+# Requires oauth2client < 4.0.0 to pass
+# tests/test_discovery_cache.py:34: FileCache unavailable.
+# ModuleNotFoundError: No module named oauth2client.contrib.locked_file
+# ImportError: file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth
+PYTEST_IGNORED_TESTS+=	test_discovery_cache.py
 
 NO_ARCH=	yes
 
diff --git a/www/py-google-api-python-client/distinfo b/www/py-google-api-python-client/distinfo
index e4abaa6efef3..17c7cffc2c3c 100644
--- a/www/py-google-api-python-client/distinfo
+++ b/www/py-google-api-python-client/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1723667441
-SHA256 (google_api_python_client-2.141.0.tar.gz) = 0f225b1f45d5a6f8c2a400f48729f5d6da9a81138e81e0478d61fdd8edf6563a
-SIZE (google_api_python_client-2.141.0.tar.gz) = 11652283
+TIMESTAMP = 1724173255
+SHA256 (google_api_python_client-2.142.0.tar.gz) = a1101ac9e24356557ca22f07ff48b7f61fa5d4b4e7feeef3bda16e5dcb86350e
+SIZE (google_api_python_client-2.142.0.tar.gz) = 11680160