git: 50146c1ace17 - main - www/py-google-cloud-bigtable: Update to 2.5.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 07 Mar 2022 18:19:14 UTC
The branch main has been updated by sunpoet:

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

commit 50146c1ace1730fb58eb35f6f70ec470ac7bcbea
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-07 17:57:52 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-07 18:11:31 +0000

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

diff --git a/www/py-google-cloud-bigtable/Makefile b/www/py-google-cloud-bigtable/Makefile
index 91cd5451c898..eea7825bce0f 100644
--- a/www/py-google-cloud-bigtable/Makefile
+++ b/www/py-google-cloud-bigtable/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	google-cloud-bigtable
-PORTVERSION=	2.4.0
+PORTVERSION=	2.5.2
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +12,9 @@ COMMENT=	Google Cloud Bigtable API client library
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=1.26.0<3.0.0:www/py-google-api-core@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=1.28.0<3.0.0:www/py-google-api-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}google-cloud-core>=1.4.1<3.0.0:www/py-google-cloud-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}grpc-google-iam-v1>=0.12.3<0.13:devel/py-grpc-google-iam-v1@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}libcst>=0.2.5:devel/py-libcst@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}packaging>=14.3:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}proto-plus>=1.13.0:devel/py-proto-plus@${PY_FLAVOR}
 
 USES=		python:3.6+
@@ -24,4 +22,9 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	LIBCST
+LIBCST_DESC=	Fixup scripts
+
+LIBCST_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}libcst>=0.2.5:devel/py-libcst@${PY_FLAVOR}
+
 .include <bsd.port.mk>
diff --git a/www/py-google-cloud-bigtable/distinfo b/www/py-google-cloud-bigtable/distinfo
index 8190d39303f6..06ed8bd0b241 100644
--- a/www/py-google-cloud-bigtable/distinfo
+++ b/www/py-google-cloud-bigtable/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1632773670
-SHA256 (google-cloud-bigtable-2.4.0.tar.gz) = b8472c91b05159f20121fcca6ebdc2a3b5648d68158ec747860914279b6b983b
-SIZE (google-cloud-bigtable-2.4.0.tar.gz) = 267203
+TIMESTAMP = 1646058156
+SHA256 (google-cloud-bigtable-2.5.2.tar.gz) = da8b7c7b7e056c9e75741c88a7edd3ab43a082929b8ea6408f0371519b677f42
+SIZE (google-cloud-bigtable-2.5.2.tar.gz) = 273589