git: 168401008d19 - main - textproc/py-python-lsp-server: Remove more limits

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Fri, 14 Oct 2022 18:17:41 UTC
The branch main has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=168401008d19fa51bb41ea9977f73899c2a78e51

commit 168401008d19fa51bb41ea9977f73899c2a78e51
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2022-10-14 18:12:05 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2022-10-14 18:17:10 +0000

    textproc/py-python-lsp-server: Remove more limits
    
    In a follow up, more version limits for dependencies are removed
    to unbreak the port at runtime.
    
    PR:             267058
    MFH:            2022Q4
---
 textproc/py-python-lsp-server/Makefile             |  2 +-
 .../files/patch-pyproject.toml                     | 28 +++++++++++++++++-----
 2 files changed, 23 insertions(+), 7 deletions(-)

diff --git a/textproc/py-python-lsp-server/Makefile b/textproc/py-python-lsp-server/Makefile
index aef3194698f8..f6e6aecf5de6 100644
--- a/textproc/py-python-lsp-server/Makefile
+++ b/textproc/py-python-lsp-server/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	python-lsp-server
 PORTVERSION=	1.5.0
-PORTREVISION=	1
+PORTREVISION=	2
 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 3d23a1842294..009b108ebab6 100644
--- a/textproc/py-python-lsp-server/files/patch-pyproject.toml
+++ b/textproc/py-python-lsp-server/files/patch-pyproject.toml
@@ -1,17 +1,33 @@
 --- pyproject.toml.orig	2022-06-28 16:50:47 UTC
 +++ pyproject.toml
-@@ -31,7 +31,7 @@ all = [
-     "mccabe>=0.6.0,<0.7.0",
-     "pycodestyle>=2.8.0,<2.9.0",
+@@ -26,23 +26,23 @@ all = [
+ 
+ [project.optional-dependencies]
+ all = [
+-    "autopep8>=1.6.0,<1.7.0",
+-    "flake8>=4.0.0,<4.1.0",
+-    "mccabe>=0.6.0,<0.7.0",
+-    "pycodestyle>=2.8.0,<2.9.0",
++    "autopep8>=1.6.0",
++    "flake8>=4.0.0",
++    "mccabe>=0.6.0",
++    "pycodestyle>=2.8.0",
      "pydocstyle>=2.0.0",
 -    "pyflakes>=2.4.0,<2.5.0",
 +    "pyflakes>=2.4.0",
      "pylint>=2.5.0",
      "rope>=0.10.5",
      "yapf",
-@@ -42,7 +42,7 @@ pydocstyle = ["pydocstyle>=2.0.0"]
- mccabe = ["mccabe>=0.6.0,<0.7.0"]
- pycodestyle = ["pycodestyle>=2.8.0,<2.9.0"]
+     "whatthepatch"
+ ]
+-autopep8 = ["autopep8>=1.6.0,<1.7.0"]
+-flake8 = ["flake8>=4.0.0,<4.1.0"]
+-mccabe = ["mccabe>=0.6.0,<0.7.0"]
+-pycodestyle = ["pycodestyle>=2.8.0,<2.9.0"]
++autopep8 = ["autopep8>=1.6.0"]
++flake8 = ["flake8>=4.0.0"]
++mccabe = ["mccabe>=0.6.0"]
++pycodestyle = ["pycodestyle>=2.8.0"]
  pydocstyle = ["pydocstyle>=2.0.0"]
 -pyflakes = ["pyflakes>=2.4.0,<2.5.0"]
 +pyflakes = ["pyflakes>=2.4.0"]