www/py-google-cloud-storage: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2024-08-05 09:54:42 +02:00
parent 915b0fcd89
commit e6138b9cbe
2 changed files with 13 additions and 1 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= google-cloud-storage PORTNAME= google-cloud-storage
PORTVERSION= 2.17.0 PORTVERSION= 2.17.0
PORTREVISION= 1
CATEGORIES= www python CATEGORIES= www python
MASTER_SITES= PYPI MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -29,6 +30,6 @@ OPTIONS_DEFINE= PROTOBUF
OPTIONS_DEFINE= PROTOBUF OPTIONS_DEFINE= PROTOBUF
PROTOBUF_DESC= Protocol buffers support PROTOBUF_DESC= Protocol buffers support
PROTOBUF_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=0,1<5.0.0,1:devel/py-protobuf@${PY_FLAVOR} PROTOBUF_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=0,1<6.0.0,1:devel/py-protobuf@${PY_FLAVOR}
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -0,0 +1,11 @@
--- setup.py.orig 2024-06-10 22:46:41 UTC
+++ setup.py
@@ -35,7 +35,7 @@ dependencies = [
"requests >= 2.18.0, < 3.0.0dev",
"google-crc32c >= 1.0, < 2.0dev",
]
-extras = {"protobuf": ["protobuf<5.0.0dev"]}
+extras = {"protobuf": ["protobuf<6.0.0dev"]}
# Setup boilerplate below this line.