aboutsummaryrefslogtreecommitdiff
path: root/www/py-google-cloud-vision/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-google-cloud-vision/Makefile')
-rw-r--r--www/py-google-cloud-vision/Makefile10
1 files changed, 7 insertions, 3 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>