git: 0f96feffb27c - 2023Q2 - textproc/py-python-lsp-server: Update to 1.7.3

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Tue, 16 May 2023 19:35:29 UTC
The branch 2023Q2 has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0f96feffb27c9378d00fe4fff18f827ed3e4af5b

commit 0f96feffb27c9378d00fe4fff18f827ed3e4af5b
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2023-05-16 19:16:49 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2023-05-16 19:34:25 +0000

    textproc/py-python-lsp-server: Update to 1.7.3
    
    - Adds support for Yapf 0.33
    - Fix an empty current working directory value for Pylint
    
    Changelog: https://github.com/python-lsp/python-lsp-server/blob/develop/CHANGELOG.md#version-173-20230515
    
    Reported by:    portscout, Repology
    MFH:            2023Q2
    
    (cherry picked from commit 304524388125bd1c0f9b788d8e3633c8261b070e)
---
 textproc/py-python-lsp-server/Makefile             | 10 +++----
 textproc/py-python-lsp-server/distinfo             |  7 +++--
 .../files/patch-pyproject.toml                     | 34 +++++++++++++---------
 3 files changed, 29 insertions(+), 22 deletions(-)

diff --git a/textproc/py-python-lsp-server/Makefile b/textproc/py-python-lsp-server/Makefile
index 5f5ba3614732..2936022266e3 100644
--- a/textproc/py-python-lsp-server/Makefile
+++ b/textproc/py-python-lsp-server/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	python-lsp-server
-PORTVERSION=	1.7.1
+PORTVERSION=	1.7.3
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -43,10 +43,10 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR}
 		${PYTHON_PKGNAMEPREFIX}yapf>0:textproc/py-yapf@${PY_FLAVOR} \
 		${PYNUMPY}
 
-# make test: 6 failed, 161 passed, 8 skipped, 21 warnings
-# devel/py-pydocstyle v6.3.0 is too new atm :(
-USES=		python:3.7+ pytest
-USE_PYTHON=	autoplist concurrent pep517
+# make test: 3 failed, 168 passed, 8 skipped, 11 warnings
+# test/plugins/test_flake8_lint.py:90,219,241: AssertionError
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 
diff --git a/textproc/py-python-lsp-server/distinfo b/textproc/py-python-lsp-server/distinfo
index 38d2655e7967..d6eb58d4821c 100644
--- a/textproc/py-python-lsp-server/distinfo
+++ b/textproc/py-python-lsp-server/distinfo
@@ -1,3 +1,4 @@
-TIMESTAMP = 1679647676
-SHA256 (python-lsp-server-1.7.1.tar.gz) = 67473bb301f35434b5fa8b21fc5ed5fac27dc8a8446ccec8bae456af52a0aef6
-SIZE (python-lsp-server-1.7.1.tar.gz) = 95731
+TIMESTAMP = 1684261746
+SHA256 (python-lsp-server-1.7.3.tar.gz) = a31b0525be6ec831c7d2b476b744e5aa5074633e1d1b77ee97f332cde15983ea
+SIZE (python-lsp-server-1.7.3.tar.gz) = 97336
+
diff --git a/textproc/py-python-lsp-server/files/patch-pyproject.toml b/textproc/py-python-lsp-server/files/patch-pyproject.toml
index ff7f0f829b98..12616c1b0d1a 100644
--- a/textproc/py-python-lsp-server/files/patch-pyproject.toml
+++ b/textproc/py-python-lsp-server/files/patch-pyproject.toml
@@ -1,42 +1,48 @@
---- pyproject.toml.orig	2023-01-06 23:50:19 UTC
+--- pyproject.toml.orig	2023-05-15 11:24:53 UTC
 +++ pyproject.toml
-@@ -27,26 +27,26 @@ all = [
+@@ -27,29 +27,29 @@ all = [
  
  [project.optional-dependencies]
  all = [
--    "autopep8>=1.6.0,<1.7.0",
+-    "autopep8>=1.6.0,<2.1.0",
 -    "flake8>=5.0.0,<7",
 -    "mccabe>=0.7.0,<0.8.0",
 -    "pycodestyle>=2.9.0,<2.11.0",
--    "pydocstyle>=6.2.0,<6.3.0",
+-    "pydocstyle>=6.3.0,<6.4.0",
 -    "pyflakes>=2.5.0,<3.1.0",
+-    "pylint>=2.5.0,<3",
 +    "autopep8>=1.6.0",
 +    "flake8>=5.0.0",
 +    "mccabe>=0.7.0",
 +    "pycodestyle>=2.9.0",
-+    "pydocstyle>=6.2.0",
++    "pydocstyle>=6.3.0",
 +    "pyflakes>=2.5.0",
-     "pylint>=2.5.0,<3",
++    "pylint>=2.5.0",
      "rope>1.2.0",
-     "yapf",
+     "yapf>=0.33.0",
      "whatthepatch>=1.0.2,<2.0.0"
  ]
--autopep8 = ["autopep8>=1.6.0,<1.7.0"]
+-autopep8 = ["autopep8>=1.6.0,<2.1.0"]
 -flake8 = ["flake8>=5.0.0,<7"]
 -mccabe = ["mccabe>=0.7.0,<0.8.0"]
 -pycodestyle = ["pycodestyle>=2.9.0,<2.11.0"]
--pydocstyle = ["pydocstyle>=6.2.0,<6.3.0"]
+-pydocstyle = ["pydocstyle>=6.3.0,<6.4.0"]
 -pyflakes = ["pyflakes>=2.5.0,<3.1.0"]
+-pylint = ["pylint>=2.5.0,<3"]
 +autopep8 = ["autopep8>=1.6.0"]
 +flake8 = ["flake8>=5.0.0"]
 +mccabe = ["mccabe>=0.7.0"]
 +pycodestyle = ["pycodestyle>=2.9.0"]
-+pydocstyle = ["pydocstyle>=6.2.0"]
++pydocstyle = ["pydocstyle>=6.3.0"]
 +pyflakes = ["pyflakes>=2.5.0"]
- pylint = ["pylint>=2.5.0,<3"]
++pylint = ["pylint>=2.5.0"]
  rope = ["rope>1.2.0"]
--yapf = ["yapf", "whatthepatch>=1.0.2,<2.0.0"]
-+yapf = ["yapf", "whatthepatch>=1.0.2"]
+-yapf = ["yapf>=0.33.0", "whatthepatch>=1.0.2,<2.0.0"]
++yapf = ["yapf>=0.33.0", "whatthepatch>=1.0.2"]
  websockets = ["websockets>=10.3"]
  test = [
-     "pylint>=2.5.0,<3",
+-    "pylint>=2.5.0,<3",
++    "pylint>=2.5.0",
+     "pytest",
+     "pytest-cov",
+     "coverage",