git: 84bd6af9127e - main - www/py-google-api-python-client: Update to 2.165.0

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Thu, 20 Mar 2025 09:08:04 UTC
The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=84bd6af9127e796997e77571b195f0e5458a2b6b

commit 84bd6af9127e796997e77571b195f0e5458a2b6b
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2025-03-20 08:46:50 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2025-03-20 09:07:57 +0000

    www/py-google-api-python-client: Update to 2.165.0
    
    - Replace unitest with pytest
    - Disable autoloading of Pytest plugins, in particular devel/py-ruff
      (linter) if available in the system
    
    Release changes:        https://github.com/googleapis/google-api-python-client/releases/tag/v2.165.0
    Reported by:    "release-please[bot]" <notifications@github.com>
---
 www/py-google-api-python-client/Makefile | 6 ++++--
 www/py-google-api-python-client/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/www/py-google-api-python-client/Makefile b/www/py-google-api-python-client/Makefile
index d4f52b68e2c8..cc7a78eef967 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.164.0
+DISTVERSION=	2.165.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -25,9 +25,11 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=1.31.5:www/py-google-api-c
 		${PYTHON_PKGNAMEPREFIX}oauth2client>=4.1.3:security/py-oauth2client@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}parameterized>=0.8.1:devel/py-parameterized@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}uritemplate>=3.0.1:net/py-uritemplate@${PY_FLAVOR}
+# We don't want to use Pytest plugins, for example devel/py-ruff, if available in the system
+TEST_ENV=	PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
 
 USES=		pytest python
-USE_PYTHON=	autoplist distutils unittest
+USE_PYTHON=	autoplist distutils pytest
 # 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 \
diff --git a/www/py-google-api-python-client/distinfo b/www/py-google-api-python-client/distinfo
index ef44a97d2a6e..8480a7657fc4 100644
--- a/www/py-google-api-python-client/distinfo
+++ b/www/py-google-api-python-client/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1741855347
-SHA256 (google_api_python_client-2.164.0.tar.gz) = 116f5a05dfb95ed7f7ea0d0f561fc5464146709c583226cc814690f9bb221492
-SIZE (google_api_python_client-2.164.0.tar.gz) = 12595711
+TIMESTAMP = 1742458432
+SHA256 (google_api_python_client-2.165.0.tar.gz) = 0d2aee76727a104705630bebbc43669c864b766924e9329051ef7b7e2468eb72
+SIZE (google_api_python_client-2.165.0.tar.gz) = 12636391