git: 355b4ed8076f - main - devel/py-python-gitlab: Allow build with py-argcomplete 3.*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Sep 2023 09:10:12 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=355b4ed8076f0c439d1b008e44459fe54067be2c
commit 355b4ed8076f0c439d1b008e44459fe54067be2c
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-04 09:06:12 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-04 09:06:12 +0000
devel/py-python-gitlab: Allow build with py-argcomplete 3.*
---
devel/py-python-gitlab/Makefile | 2 +-
devel/py-python-gitlab/files/patch-setup.py | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/devel/py-python-gitlab/Makefile b/devel/py-python-gitlab/Makefile
index dd5c21a74f91..cc24b1f59393 100644
--- a/devel/py-python-gitlab/Makefile
+++ b/devel/py-python-gitlab/Makefile
@@ -29,7 +29,7 @@ OPTIONS_DEFAULT= AUTOCOMPLETE YAML
AUTOCOMPLETE_DESC= Autocompletion via argcomplete
YAML_DESC= YAML output
-AUTOCOMPLETE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argcomplete>=1.10.0<3:devel/py-argcomplete@${PY_FLAVOR}
+AUTOCOMPLETE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argcomplete>=1.10.0<4:devel/py-argcomplete@${PY_FLAVOR}
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>0:textproc/py-furo@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
diff --git a/devel/py-python-gitlab/files/patch-setup.py b/devel/py-python-gitlab/files/patch-setup.py
new file mode 100644
index 000000000000..fd7cf8c9345e
--- /dev/null
+++ b/devel/py-python-gitlab/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2023-06-09 09:51:25 UTC
++++ setup.py
+@@ -55,7 +55,7 @@ setup(
+ "Programming Language :: Python :: 3.11",
+ ],
+ extras_require={
+- "autocompletion": ["argcomplete>=1.10.0,<3"],
++ "autocompletion": ["argcomplete>=1.10.0,<4"],
+ "yaml": ["PyYaml>=5.2"],
+ },
+ )