www/py-google-cloud-audit-log: Allow build with py-protobuf 5.0.0+

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2024-08-05 01:09:38 +08:00
parent 81f48d7850
commit 969283316f
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 13 additions and 2 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= google-cloud-audit-log
PORTVERSION= 0.2.5
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -14,7 +14,7 @@ LICENSE= APACHE20
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}googleapis-common-protos>=1.56.2<2.0:devel/py-googleapis-common-protos@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}protobuf>=4.21.6,1<5.0.0,1:devel/py-protobuf@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}protobuf>=4.21.6,1<6.0.0,1:devel/py-protobuf@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517

View File

@ -0,0 +1,11 @@
--- setup.py.orig 2023-01-11 16:06:27 UTC
+++ setup.py
@@ -23,7 +23,7 @@ dependencies = [
version = "0.2.5"
release_status = "Development Status :: 4 - Beta"
dependencies = [
- "protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
+ "protobuf>=3.19.5,<6.0.0dev,!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
"googleapis-common-protos >= 1.56.2, < 2.0dev",
]