Skip to content

Commit

Permalink
devel/py-gapic-generator: Allow build with py-libcst 1.0.0+
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Jun 5, 2023
1 parent f622def commit 878fd0b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devel/py-gapic-generator/Makefile
@@ -1,5 +1,6 @@
PORTNAME= gapic-generator
PORTVERSION= 1.10.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -17,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=6.7:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}grpc-google-iam-v1>=0.12.4<1.0.0:devel/py-grpc-google-iam-v1@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}grpcio>=1.24.3:devel/py-grpcio@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}inflection>=0.5.1<1.0.0:devel/py-inflection@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}libcst>=0.4.9<1.0.0:devel/py-libcst@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}libcst>=0.4.9:devel/py-libcst@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}protobuf>=3.18.0,1<5.0.0,1:devel/py-protobuf@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pypandoc>=1.4:textproc/py-pypandoc@${PY_FLAVOR} \
Expand Down
11 changes: 11 additions & 0 deletions devel/py-gapic-generator/files/patch-setup.py
@@ -0,0 +1,11 @@
--- setup.py.orig 2023-03-28 21:22:14 UTC
+++ setup.py
@@ -34,7 +34,7 @@ dependencies = [
"pypandoc >= 1.4",
"PyYAML >= 5.1.1",
"grpc-google-iam-v1 >= 0.12.4, < 1.0.0dev",
- "libcst >= 0.4.9, < 1.0.0dev",
+ "libcst >= 0.4.9",
"inflection >= 0.5.1, < 1.0.0dev",
]

0 comments on commit 878fd0b

Please sign in to comment.