aboutsummaryrefslogblamecommitdiff
path: root/www/py-google-cloud-vision/Makefile
blob: 59fcf03027249a3645a828ab2047ef062c5a49f5 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                   
                     



                                       
                                   
                                                   
                                                           



                                 
                                                                                                         

                                                                                                  
 
                           
                                              


                   
                      
                             


                                                                                         
                      
PORTNAME=	google-cloud-vision
PORTVERSION=	3.1.1
CATEGORIES=	www python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Cloud Vision API API client library
WWW=		https://github.com/googleapis/python-vision

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-api-core>=2.8.0<3.0.0:www/py-google-api-core@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}proto-plus>=1.22.0<2.0.0:devel/py-proto-plus@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}protobuf>=3.19.0,1<5.0.0,1:devel/py-protobuf@${PY_FLAVOR}

USES=		python:3.7+
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>