Files
ports/www/py-google-cloud-storage/Makefile
T
2026-10-04 04:07:15 +00:00

45 lines
2.2 KiB
Makefile

PORTNAME= google-cloud-storage
PORTVERSION= 3.14.1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= google_cloud_storage-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python Client for Google Cloud Storage
WWW= https://docs.cloud.google.com/python/docs/reference/storage/latest \
https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-storage \
https://github.com/googleapis/google-cloud-python
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-api-core>=2.27.0<3.0.0:www/py-google-api-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}google-auth>=2.26.1<3.0.0:security/py-google-auth@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}google-cloud-core>=2.4.2<3.0.0:www/py-google-cloud-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}google-crc32c>=1.6.0<2.0.0:devel/py-google-crc32c@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}google-resumable-media>=2.7.2<3.0.0:www/py-google-resumable-media@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.22.0<3.0.0:www/py-requests@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
OPTIONS_DEFINE= GRPC PROTOBUF TRACING
PROTOBUF_DESC= Protocol buffers support
TRACING_DESC= Generate traces using OpenTelemetry
GRPC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-api-core>=2.27.0<3.0.0:www/py-google-api-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}grpc-google-iam-v1>=0.14.2<1.0.0:devel/py-grpc-google-iam-v1@${PY_FLAVOR} \
${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} \
${PYTHON_PKGNAMEPREFIX}proto-plus>=1.26.1<2.0.0:devel/py-proto-plus@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}protobuf>=6.33.5,1<8.0.0,1:devel/py-protobuf@${PY_FLAVOR}
PROTOBUF_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=6.33.5,1<8.0.0,1:devel/py-protobuf@${PY_FLAVOR}
TRACING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}opentelemetry-api>=1.1.0<2.0.0:devel/py-opentelemetry-api@${PY_FLAVOR}
.include <bsd.port.mk>