mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
www/py-google-cloud-datastore: Allow build with py-protobuf 5.0.0+
- Bump PORTREVISION for package change
This commit is contained in:
parent
5443569bf8
commit
1350001892
@ -1,6 +1,6 @@
|
||||
PORTNAME= google-cloud-datastore
|
||||
PORTVERSION= 2.19.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-api-core>=2.10.0<3.0.0:www/py-google-api-core@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}google-cloud-core>=1.4.0<3.0:www/py-google-cloud-core@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}proto-plus>=1.22.2<2.0.0:devel/py-proto-plus@${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
|
||||
|
11
www/py-google-cloud-datastore/files/patch-setup.py
Normal file
11
www/py-google-cloud-datastore/files/patch-setup.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- setup.py.orig 2023-12-12 20:35:35 UTC
|
||||
+++ setup.py
|
||||
@@ -33,7 +33,7 @@ dependencies = [
|
||||
"google-cloud-core >= 1.4.0, <3.0.0dev",
|
||||
"proto-plus >= 1.22.0, <2.0.0dev",
|
||||
"proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
|
||||
- "protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=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.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
|
||||
]
|
||||
extras = {"libcst": "libcst >= 0.2.5"}
|
||||
|
Loading…
Reference in New Issue
Block a user