git: 789a78c3239b - main - textproc/py-python-lsp-server: Loose version of dependency

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Tue, 23 May 2023 18:46:52 UTC
The branch main has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=789a78c3239b466f19d3d04c7d6dec003d707837

commit 789a78c3239b466f19d3d04c7d6dec003d707837
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2023-05-23 18:38:08 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2023-05-23 18:46:07 +0000

    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
---
 textproc/py-python-lsp-server/Makefile                   | 1 +
 textproc/py-python-lsp-server/files/patch-pyproject.toml | 5 +++--
 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",