aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Hurling <rhurlin@FreeBSD.org>2023-05-23 18:38:08 +0000
committerRainer Hurling <rhurlin@FreeBSD.org>2023-05-23 18:46:07 +0000
commit789a78c3239b466f19d3d04c7d6dec003d707837 (patch)
tree5634ec7815dca01b0022b3b6ee00a7fd4e886c36
parent10896145b514a0d77bc9f3999d77502b0f5f4c08 (diff)
downloadports-789a78c3239b466f19d3d04c7d6dec003d707837.tar.gz
ports-789a78c3239b466f19d3d04c7d6dec003d707837.zip
textproc/py-python-lsp-server: Loose version of dependency
Allow older version of dependency yapf to make devel/spyder work: pkg_resources.ContextualVersionConflict: (yapf 0.32.0 (/usr/local/lib/python3.9/site-packages), Requirement.parse('yapf>=0.33.0; extra == "all"'), {'python-lsp-server'}) MFH: 2023Q2
-rw-r--r--textproc/py-python-lsp-server/Makefile1
-rw-r--r--textproc/py-python-lsp-server/files/patch-pyproject.toml5
2 files changed, 4 insertions, 2 deletions
diff --git a/textproc/py-python-lsp-server/Makefile b/textproc/py-python-lsp-server/Makefile
index 2936022266e3..1f41ba359e29 100644
--- a/textproc/py-python-lsp-server/Makefile
+++ b/textproc/py-python-lsp-server/Makefile
@@ -1,5 +1,6 @@
PORTNAME= python-lsp-server
PORTVERSION= 1.7.3
+PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/textproc/py-python-lsp-server/files/patch-pyproject.toml b/textproc/py-python-lsp-server/files/patch-pyproject.toml
index 12616c1b0d1a..0167777c29b4 100644
--- a/textproc/py-python-lsp-server/files/patch-pyproject.toml
+++ b/textproc/py-python-lsp-server/files/patch-pyproject.toml
@@ -19,7 +19,8 @@
+ "pyflakes>=2.5.0",
+ "pylint>=2.5.0",
"rope>1.2.0",
- "yapf>=0.33.0",
+- "yapf>=0.33.0",
++ "yapf>=0.32.0",
"whatthepatch>=1.0.2,<2.0.0"
]
-autopep8 = ["autopep8>=1.6.0,<2.1.0"]
@@ -38,7 +39,7 @@
+pylint = ["pylint>=2.5.0"]
rope = ["rope>1.2.0"]
-yapf = ["yapf>=0.33.0", "whatthepatch>=1.0.2,<2.0.0"]
-+yapf = ["yapf>=0.33.0", "whatthepatch>=1.0.2"]
++yapf = ["yapf>=0.32.0", "whatthepatch>=1.0.2"]
websockets = ["websockets>=10.3"]
test = [
- "pylint>=2.5.0,<3",