git: d405c3637224 - main - www/py-google-cloud-storage: Allow build with py-protobuf 5.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Aug 2024 17:23:23 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d405c3637224dcd4dd9e41384858e8bb76b714e6 commit d405c3637224dcd4dd9e41384858e8bb76b714e6 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-08-04 17:09:51 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-08-04 17:14:15 +0000 www/py-google-cloud-storage: Allow build with py-protobuf 5.0.0+ - Bump PORTREVISION for package change --- www/py-google-cloud-storage/Makefile | 3 ++- www/py-google-cloud-storage/files/patch-setup.py | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/www/py-google-cloud-storage/Makefile b/www/py-google-cloud-storage/Makefile index ff6b6db70b9f..a9c1cf1ee573 100644 --- a/www/py-google-cloud-storage/Makefile +++ b/www/py-google-cloud-storage/Makefile @@ -1,5 +1,6 @@ PORTNAME= google-cloud-storage PORTVERSION= 2.17.0 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -29,6 +30,6 @@ 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} +PROTOBUF_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=0,1<6.0.0,1:devel/py-protobuf@${PY_FLAVOR} .include <bsd.port.mk> diff --git a/www/py-google-cloud-storage/files/patch-setup.py b/www/py-google-cloud-storage/files/patch-setup.py new file mode 100644 index 000000000000..5c386bcccea4 --- /dev/null +++ b/www/py-google-cloud-storage/files/patch-setup.py @@ -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.