git: 6e8e2c720c60 - main - www/py-google-resumable-media: Update to 2.6.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 11 Sep 2023 03:14:49 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6e8e2c720c60f8d9c4c771eb465f2247307c9e98

commit 6e8e2c720c60f8d9c4c771eb465f2247307c9e98
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-11 03:09:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-11 03:11:33 +0000

    www/py-google-resumable-media: Update to 2.6.0
    
    Changes:        https://github.com/googleapis/google-resumable-media-python/releases
---
 www/py-google-resumable-media/Makefile             |  5 +++--
 www/py-google-resumable-media/distinfo             |  6 +++---
 www/py-google-resumable-media/files/patch-setup.py | 11 +++++++++++
 3 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/www/py-google-resumable-media/Makefile b/www/py-google-resumable-media/Makefile
index 653e6926860c..83bc3f33a028 100644
--- a/www/py-google-resumable-media/Makefile
+++ b/www/py-google-resumable-media/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	google-resumable-media
-PORTVERSION=	2.5.0
+PORTVERSION=	2.6.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -23,7 +23,8 @@ OPTIONS_DEFAULT=AIOHTTP REQUESTS
 AIOHTTP_DESC=	Use aiohttp
 REQUESTS_DESC=	Use requests
 
-AIOHTTP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>=3.6.2<4.0.0:www/py-aiohttp@${PY_FLAVOR}
+AIOHTTP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>=3.6.2<4.0.0:www/py-aiohttp@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}google-auth>=1.22.0<3.0:security/py-google-auth@${PY_FLAVOR}
 REQUESTS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=2.18.0:www/py-requests@${PY_FLAVOR}
 
 .include <bsd.port.mk>
diff --git a/www/py-google-resumable-media/distinfo b/www/py-google-resumable-media/distinfo
index 49ff400e7263..5ef4b076b0f0 100644
--- a/www/py-google-resumable-media/distinfo
+++ b/www/py-google-resumable-media/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1682616706
-SHA256 (google-resumable-media-2.5.0.tar.gz) = 218931e8e2b2a73a58eb354a288e03a0fd5fb1c4583261ac6e4c078666468c93
-SIZE (google-resumable-media-2.5.0.tar.gz) = 2154543
+TIMESTAMP = 1694348316
+SHA256 (google-resumable-media-2.6.0.tar.gz) = 972852f6c65f933e15a4a210c2b96930763b47197cdf4aa5f5bea435efb626e7
+SIZE (google-resumable-media-2.6.0.tar.gz) = 2161310
diff --git a/www/py-google-resumable-media/files/patch-setup.py b/www/py-google-resumable-media/files/patch-setup.py
new file mode 100644
index 000000000000..234e46d2373d
--- /dev/null
+++ b/www/py-google-resumable-media/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2023-09-06 18:09:24 UTC
++++ setup.py
+@@ -30,7 +30,7 @@ EXTRAS_REQUIRE = {
+     'requests': [
+         'requests >= 2.18.0, < 3.0.0dev',
+     ],
+-    'aiohttp': ['aiohttp >= 3.6.2, < 4.0.0dev', 'google-auth >= 1.22.0, < 2.0dev']
++    'aiohttp': ['aiohttp >= 3.6.2, < 4.0.0dev', 'google-auth >= 1.22.0, < 3.0dev']
+ }
+ 
+ setuptools.setup(