aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-09 23:12:23 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-09 23:16:13 +0000
commit32ceca68d43385105b1df16452eab333676db3d9 (patch)
treec6066d8c337a7f48421ad4a6d3481715bb76598e
parent9e79427230c17b64cc94c6f32d1093fe8ca861f0 (diff)
downloadports-32ceca68d43385105b1df16452eab333676db3d9.tar.gz
ports-32ceca68d43385105b1df16452eab333676db3d9.zip
www/py-google-cloud-storage: Update to 2.4.0
-rw-r--r--www/py-google-cloud-storage/Makefile9
-rw-r--r--www/py-google-cloud-storage/distinfo6
2 files changed, 10 insertions, 5 deletions
diff --git a/www/py-google-cloud-storage/Makefile b/www/py-google-cloud-storage/Makefile
index 9339f91699b0..9a4a4a4812b8 100644
--- a/www/py-google-cloud-storage/Makefile
+++ b/www/py-google-cloud-storage/Makefile
@@ -1,5 +1,5 @@
PORTNAME= google-cloud-storage
-PORTVERSION= 2.3.0
+PORTVERSION= 2.4.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,6 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-api-core>=1.31.5<3.0:www/py-google-ap
${PYTHON_PKGNAMEPREFIX}google-auth>=1.25.0<3.0:security/py-google-auth@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}google-cloud-core>=2.3.0<3.0:www/py-google-cloud-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}google-resumable-media>=2.3.2:www/py-google-resumable-media@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}protobuf>=0,1:devel/py-protobuf@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.18.0<3.0.0:www/py-requests@${PY_FLAVOR}
USES= python:3.7+
@@ -22,4 +21,10 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+OPTIONS_DEFINE= PROTOBUF
+OPTIONS_DEFINE= PROTOBUF
+PROTOBUF_DESC= Protocol buffers support
+
+PROTOBUF_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=0,1<5.0.0,1:devel/py-protobuf@${PY_FLAVOR}
+
.include <bsd.port.mk>
diff --git a/www/py-google-cloud-storage/distinfo b/www/py-google-cloud-storage/distinfo
index c8b5d36056a6..17bc0777b53f 100644
--- a/www/py-google-cloud-storage/distinfo
+++ b/www/py-google-cloud-storage/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650228834
-SHA256 (google-cloud-storage-2.3.0.tar.gz) = f4cbb0de5e17228e9c09cdc897d81eaa70e2c396f58513f79de0e824584c8f5b
-SIZE (google-cloud-storage-2.3.0.tar.gz) = 5483414
+TIMESTAMP = 1654774122
+SHA256 (google-cloud-storage-2.4.0.tar.gz) = 5fe26f1381b30e3cc328f46e13531ca8525458f870c1e303c616bdeb7b7f5c66
+SIZE (google-cloud-storage-2.4.0.tar.gz) = 5487549