git: e381586c189f - main - www/py-google-cloud-speech: Update to 2.13.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 25 Mar 2022 13:45:56 UTC
The branch main has been updated by sunpoet:

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

commit e381586c189f616ac334e3a1e3b50ac0b9b74521
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:05:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:37:19 +0000

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

diff --git a/www/py-google-cloud-speech/Makefile b/www/py-google-cloud-speech/Makefile
index 7932fa66a640..6c4209ec671f 100644
--- a/www/py-google-cloud-speech/Makefile
+++ b/www/py-google-cloud-speech/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	google-cloud-speech
-PORTVERSION=	2.12.0
+PORTVERSION=	2.13.1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,13 +12,17 @@ COMMENT=	Google Cloud Speech API client library
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=1.28.0<3.0.0:www/py-google-api-core@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}libcst>=0.2.5:devel/py-libcst@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}proto-plus>=1.4.0:devel/py-proto-plus@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=1.31.5<3.0.0:www/py-google-api-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}proto-plus>=1.15.0:devel/py-proto-plus@${PY_FLAVOR}
 
 USES=		python:3.6+
 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-speech/distinfo b/www/py-google-cloud-speech/distinfo
index cf27d4e6554c..611240b2b01f 100644
--- a/www/py-google-cloud-speech/distinfo
+++ b/www/py-google-cloud-speech/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643133809
-SHA256 (google-cloud-speech-2.12.0.tar.gz) = acbf9948ce3870c72b45089356985de9df3cd881830d1127a10cb80ada9786c7
-SIZE (google-cloud-speech-2.12.0.tar.gz) = 106103
+TIMESTAMP = 1647264708
+SHA256 (google-cloud-speech-2.13.1.tar.gz) = 2718480b838cb178dd258343a261219873d40b3bde152d287835ac5ffc1de730
+SIZE (google-cloud-speech-2.13.1.tar.gz) = 116199