git: 0fb43a4433d6 - main - www/py-google-api-core: Update to 2.9.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 04 Sep 2022 03:53:17 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0fb43a4433d6c43dc69d7f8cd64c1d87e5ddc126

commit 0fb43a4433d6c43dc69d7f8cd64c1d87e5ddc126
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-09-04 03:47:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-09-04 03:47:15 +0000

    www/py-google-api-core: Update to 2.9.0
    
    - Add GRPCGCP option
    
    Changes:        https://github.com/googleapis/python-api-core/releases
---
 www/py-google-api-core/Makefile | 10 ++++++----
 www/py-google-api-core/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/www/py-google-api-core/Makefile b/www/py-google-api-core/Makefile
index 2f5f393771aa..d36c20da16cf 100644
--- a/www/py-google-api-core/Makefile
+++ b/www/py-google-api-core/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	google-api-core
-PORTVERSION=	2.8.2
+PORTVERSION=	2.9.0
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,18 +12,20 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-auth>=1.25.0<3.0:security/py-google-auth@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}googleapis-common-protos>=1.56.2<2.0:devel/py-googleapis-common-protos@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}protobuf>=3.15.0,1<5.0.0,1:devel/py-protobuf@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}protobuf>=3.20.1,1<5.0.0,1:devel/py-protobuf@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.18.0<3.0.0:www/py-requests@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	GRPC
+OPTIONS_DEFINE=	GRPC GRPCGCP
 OPTIONS_DEFAULT=GRPC
+GRPCGCP_DESC=	gRPC support for Google Cloud Platform
 
 GRPC_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}grpcio>=1.33.2<2.0:devel/py-grpcio@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}grpcio-status>=1.33.2<2.0:devel/py-grpcio-status@${PY_FLAVOR}
+GRPCGCP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}grpcio-gcp>=0.2.2<1.0:devel/py-grpcio-gcp@${PY_FLAVOR}
 
 .include <bsd.port.mk>
diff --git a/www/py-google-api-core/distinfo b/www/py-google-api-core/distinfo
index 703636ded52f..23d4a6cc51e7 100644
--- a/www/py-google-api-core/distinfo
+++ b/www/py-google-api-core/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1655398686
-SHA256 (google-api-core-2.8.2.tar.gz) = 06f7244c640322b508b125903bb5701bebabce8832f85aba9335ec00b3d02edc
-SIZE (google-api-core-2.8.2.tar.gz) = 121768
+TIMESTAMP = 1662212192
+SHA256 (google-api-core-2.9.0.tar.gz) = 6ea6c0b2f1c7797249ad8163fd252ece6e54431a9663fae352331b808289def8
+SIZE (google-api-core-2.9.0.tar.gz) = 123135