diff options
Diffstat (limited to 'www/py-google-api-core/Makefile')
-rw-r--r-- | www/py-google-api-core/Makefile | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/www/py-google-api-core/Makefile b/www/py-google-api-core/Makefile index 058fa0019936..9ea8889b61b5 100644 --- a/www/py-google-api-core/Makefile +++ b/www/py-google-api-core/Makefile @@ -1,22 +1,24 @@ PORTNAME= google-api-core -PORTVERSION= 2.19.1 +PORTVERSION= 2.26.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= google_api_core-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Core Google API Client Library -WWW= https://github.com/googleapis/python-api-core +WWW= https://googleapis.dev/python/google-api-core/latest/ \ + https://github.com/googleapis/python-api-core LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-auth>=2.14.1<3.0:security/py-google-auth@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}googleapis-common-protos>=1.56.2<2.0:devel/py-googleapis-common-protos@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}proto-plus>=1.22.3<2.0.0:devel/py-proto-plus@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}protobuf>=4.21.6,1<6.0.0,1:devel/py-protobuf@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-auth>=2.14.1<3.0.0:security/py-google-auth@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}googleapis-common-protos>=1.56.2<2.0.0:devel/py-googleapis-common-protos@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}proto-plus>=1.25.0<2.0.0:devel/py-proto-plus@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}protobuf>=4.21.6,1<7.0.0,1:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.18.0<3.0.0:www/py-requests@${PY_FLAVOR} USES= python @@ -24,12 +26,14 @@ USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -OPTIONS_DEFINE= GRPC GRPCGCP -OPTIONS_DEFAULT=GRPC +OPTIONS_DEFINE= ASYNC_REST GRPC GRPCGCP +OPTIONS_DEFAULT=ASYNC_REST GRPC +ASYNC_REST_DESC=Asynchronous REST support GRPCGCP_DESC= gRPC support for Google Cloud Platform -GRPC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}grpcio>=1.49.1<2.0:devel/py-grpcio@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}grpcio-status>=1.49.1<2.0:devel/py-grpcio-status@${PY_FLAVOR} -GRPCGCP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}grpcio-gcp>=0.2.2<1.0:devel/py-grpcio-gcp@${PY_FLAVOR} +ASYNC_REST_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-auth>=2.35.0<3.0.0:security/py-google-auth@${PY_FLAVOR} +GRPC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}grpcio>=1.75.1<2.0.0:devel/py-grpcio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}grpcio-status>=1.75.1<2.0.0:devel/py-grpcio-status@${PY_FLAVOR} +GRPCGCP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}grpcio-gcp>=0.2.2<1.0.0:devel/py-grpcio-gcp@${PY_FLAVOR} .include <bsd.port.mk> |