git: 969283316f3e - main - www/py-google-cloud-audit-log: 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:19 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=969283316f3ec4bb25df914cb9ca69c45b0a7d6c
commit 969283316f3ec4bb25df914cb9ca69c45b0a7d6c
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-04 17:09:38 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-04 17:14:14 +0000
www/py-google-cloud-audit-log: Allow build with py-protobuf 5.0.0+
- Bump PORTREVISION for package change
---
www/py-google-cloud-audit-log/Makefile | 4 ++--
www/py-google-cloud-audit-log/files/patch-setup.py | 11 +++++++++++
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/www/py-google-cloud-audit-log/Makefile b/www/py-google-cloud-audit-log/Makefile
index 2c00934e7bee..639b173319ae 100644
--- a/www/py-google-cloud-audit-log/Makefile
+++ b/www/py-google-cloud-audit-log/Makefile
@@ -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
diff --git a/www/py-google-cloud-audit-log/files/patch-setup.py b/www/py-google-cloud-audit-log/files/patch-setup.py
new file mode 100644
index 000000000000..5628d75fd463
--- /dev/null
+++ b/www/py-google-cloud-audit-log/files/patch-setup.py
@@ -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",
+ ]
+