aboutsummaryrefslogtreecommitdiff
path: root/www/py-google-cloud-vision
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-04-25 20:16:12 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-04-25 20:35:38 +0000
commit95f9fd2d5ab3504f7af44303d0029376545418e9 (patch)
tree5c0aa3c3f78fe1e0268d973528a2f200294b3e35 /www/py-google-cloud-vision
parentd618869a9975ee6227507e513ca3f07571aa9868 (diff)
downloadports-95f9fd2d5ab3504f7af44303d0029376545418e9.tar.gz
ports-95f9fd2d5ab3504f7af44303d0029376545418e9.zip
www/py-google-cloud-vision: Update to 2.3.1
Diffstat (limited to 'www/py-google-cloud-vision')
-rw-r--r--www/py-google-cloud-vision/Makefile10
-rw-r--r--www/py-google-cloud-vision/distinfo6
2 files changed, 10 insertions, 6 deletions
diff --git a/www/py-google-cloud-vision/Makefile b/www/py-google-cloud-vision/Makefile
index 209e012ca554..21ab7f0b5919 100644
--- a/www/py-google-cloud-vision/Makefile
+++ b/www/py-google-cloud-vision/Makefile
@@ -1,5 +1,5 @@
PORTNAME= google-cloud-vision
-PORTVERSION= 2.2.0
+PORTVERSION= 2.3.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,12 +11,16 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-api-core>=1.22.0<2.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}
+ ${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= Concrete Syntax Tree (CST) support
+
+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-vision/distinfo b/www/py-google-cloud-vision/distinfo
index 188438a34eea..8ea0097764ab 100644
--- a/www/py-google-cloud-vision/distinfo
+++ b/www/py-google-cloud-vision/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1618320306
-SHA256 (google-cloud-vision-2.2.0.tar.gz) = 9a205be275739c141873fa9fbd7c3f9ec6170972c85d5c75e9b4c53b5db839a3
-SIZE (google-cloud-vision-2.2.0.tar.gz) = 706636
+TIMESTAMP = 1619198599
+SHA256 (google-cloud-vision-2.3.1.tar.gz) = 367aa6f9fd8e48a0514cea6e07b3d006f01aba7080f17a289ed0df92e87f7f84
+SIZE (google-cloud-vision-2.3.1.tar.gz) = 708688