git: ceaf6d299fae - main - www/py-google-cloud-core: Update to 2.3.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 30 Jul 2022 06:02:34 UTC
The branch main has been updated by sunpoet:

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

commit ceaf6d299faef3b70104365d26f2582cd4177927
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-30 05:58:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-30 05:58:26 +0000

    www/py-google-cloud-core: Update to 2.3.2
    
    - Add GRPC option
    
    Changes:        https://github.com/googleapis/python-cloud-core/releases
---
 www/py-google-cloud-core/Makefile | 11 ++++++++---
 www/py-google-cloud-core/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/www/py-google-cloud-core/Makefile b/www/py-google-cloud-core/Makefile
index b0937a0ef602..2a5ac8b7da82 100644
--- a/www/py-google-cloud-core/Makefile
+++ b/www/py-google-cloud-core/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	google-cloud-core
-PORTVERSION=	2.3.1
+PORTVERSION=	2.3.2
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,12 +10,17 @@ COMMENT=	API Client library for Google Cloud: Core Helpers
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=1.31.5<3.0:www/py-google-api-core@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=2.3.1<3.0:www/py-google-api-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}google-auth>=1.25.0<3.0.0:security/py-google-auth@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	GRPC
+OPTIONS_DEFAULT=GRPC
+
+GRPC_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}grpcio>=1.38.0<2.0:devel/py-grpcio@${PY_FLAVOR}
+
 .include <bsd.port.mk>
diff --git a/www/py-google-cloud-core/distinfo b/www/py-google-cloud-core/distinfo
index f6953ca27f4a..7d445295bd85 100644
--- a/www/py-google-cloud-core/distinfo
+++ b/www/py-google-cloud-core/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1655208326
-SHA256 (google-cloud-core-2.3.1.tar.gz) = 34334359cb04187bdc80ddcf613e462dfd7a3aabbc3fe4d118517ab4b9303d53
-SIZE (google-cloud-core-2.3.1.tar.gz) = 35218
+TIMESTAMP = 1658506629
+SHA256 (google-cloud-core-2.3.2.tar.gz) = b9529ee7047fd8d4bf4a2182de619154240df17fbe60ead399078c1ae152af9a
+SIZE (google-cloud-core-2.3.2.tar.gz) = 35224