git: 2a929d082d18 - main - textproc/py-python-lsp-server: Relax restrictions

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Mon, 05 Dec 2022 17:29:48 UTC
The branch main has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2a929d082d18841fec71e5d5a9471bc563a2ae38

commit 2a929d082d18841fec71e5d5a9471bc563a2ae38
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2022-12-05 17:22:34 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2022-12-05 17:29:35 +0000

    textproc/py-python-lsp-server: Relax restrictions
    
    Lower restrictions for version numbers of dependents. Hopefully without
    restrictions, even during operation.
    
    PR:             268161
    Reported by:    p5B2EA84B3@t-online.de
---
 textproc/py-python-lsp-server/Makefile             |  1 +
 .../files/patch-pyproject.toml                     | 22 ++++++++++++++++------
 2 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/textproc/py-python-lsp-server/Makefile b/textproc/py-python-lsp-server/Makefile
index 3ade59d3cb41..be6dc8d42199 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.6.0
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 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 886cbf02d299..cf78fdf65305 100644
--- a/textproc/py-python-lsp-server/files/patch-pyproject.toml
+++ b/textproc/py-python-lsp-server/files/patch-pyproject.toml
@@ -1,20 +1,30 @@
 --- pyproject.toml.orig	2022-11-02 23:27:35 UTC
 +++ pyproject.toml
-@@ -27,7 +27,7 @@ all = [
+@@ -27,10 +27,10 @@ all = [
  
  [project.optional-dependencies]
  all = [
 -    "autopep8>=1.6.0,<1.7.0",
+-    "flake8>=5.0.0,<5.1.0",
 +    "autopep8>=1.6.0",
-     "flake8>=5.0.0,<5.1.0",
++    "flake8>=5.0.0",
      "mccabe>=0.7.0,<0.8.0",
-     "pycodestyle>=2.9.0,<2.10.0",
-@@ -38,7 +38,7 @@ all = [
+-    "pycodestyle>=2.9.0,<2.10.0",
++    "pycodestyle>=2.9.0",
+     "pydocstyle>=2.0.0",
+     "pyflakes>=2.5.0,<2.6.0",
+     "pylint>=2.5.0",
+@@ -38,10 +38,10 @@ all = [
      "yapf",
      "whatthepatch"
  ]
 -autopep8 = ["autopep8>=1.6.0,<1.7.0"]
+-flake8 = ["flake8>=5.0.0,<5.1.0"]
 +autopep8 = ["autopep8>=1.6.0"]
- flake8 = ["flake8>=5.0.0,<5.1.0"]
++flake8 = ["flake8>=5.0.0"]
  mccabe = ["mccabe>=0.7.0,<0.8.0"]
- pycodestyle = ["pycodestyle>=2.9.0,<2.10.0"]
+-pycodestyle = ["pycodestyle>=2.9.0,<2.10.0"]
++pycodestyle = ["pycodestyle>=2.9.0"]
+ pydocstyle = ["pydocstyle>=2.0.0"]
+ pyflakes = ["pyflakes>=2.5.0,<2.6.0"]
+ pylint = ["pylint>=2.5.0"]