git: 67ed83e01472 - main - textproc/py-python-lsp-server: Update to 1.5.0

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Tue, 12 Jul 2022 17:18:54 UTC
The branch main has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=67ed83e01472335884fa317a817cfbed9f8cf0e7

commit 67ed83e01472335884fa317a817cfbed9f8cf0e7
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2022-07-12 17:12:23 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2022-07-12 17:18:44 +0000

    textproc/py-python-lsp-server: Update to 1.5.0
    
    Major release with new features and changes:
    
    - Add DiagnosticTag tags for Pylint, Pycodestyle, and Flake8 plugins
    - Add support to connect to the server through websockets
    - Allow multiple per-file-ignores for the same pattern in Flake8 plugin
    - Parse YAPF diffs into TextEdits
    - Add support for LSP formatting options parameter
    
    Changelog: https://github.com/python-lsp/python-lsp-server/compare/v1.4.1...v1.5.0
    
    The port adds some more test dependencies and the new port textproc/py-whatthepatch.
    Use USES=pytest instead of target test. First time, that most tests do work now :)
    
    Reported by:    portscout, Repology
---
 textproc/py-python-lsp-server/Makefile | 16 +++++++---------
 textproc/py-python-lsp-server/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/textproc/py-python-lsp-server/Makefile b/textproc/py-python-lsp-server/Makefile
index 34b3e88e4897..b2219d1863f1 100644
--- a/textproc/py-python-lsp-server/Makefile
+++ b/textproc/py-python-lsp-server/Makefile
@@ -1,7 +1,7 @@
 # Created by: Rainer Hurling <rhurlin@gwdg.de>
 
 PORTNAME=	python-lsp-server
-PORTVERSION=	1.4.1
+PORTVERSION=	1.5.0
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -31,23 +31,21 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}autopep8>0:textproc/py-autopep8@${PY_FLAVOR}
 		${PYTHON_PKGNAMEPREFIX}yapf>0:textproc/py-yapf@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}flaky>=3.4.0:devel/py-flaky@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jedi>0:devel/py-jedi@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \
 		pylint${PYTHON_PKGNAMESUFFIX}>0:devel/pylint@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}whatthepatch>0:textproc/py-whatthepatch@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yapf>0:textproc/py-yapf@${PY_FLAVOR} \
 		${PYNUMPY}
 
-USES=		python:3.7+
+# make test: 3 failed, 134 passed, 9 skipped, 18 warnings 
+# mainly because of py-numpy>=1.23.0 ...
+USES=		python:3.7+ pytest
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-# Does not work: No module named 'pluggy._hooks'
-# Needs pyqt5
-test:
-	cd ${WRKSRC} && \
-	    ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} \
-	    ${LOCALBASE}/bin/pytest
-
 .include <bsd.port.mk>
diff --git a/textproc/py-python-lsp-server/distinfo b/textproc/py-python-lsp-server/distinfo
index c905a061e634..a7e264072d78 100644
--- a/textproc/py-python-lsp-server/distinfo
+++ b/textproc/py-python-lsp-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1648396933
-SHA256 (python-lsp-server-1.4.1.tar.gz) = be7f83298af9f0951a93972cafc9db04fd7cf5c05f20812515275f0ba70e342f
-SIZE (python-lsp-server-1.4.1.tar.gz) = 76416
+TIMESTAMP = 1657564683
+SHA256 (python-lsp-server-1.5.0.tar.gz) = e5c094c19925022a27c4068f414b2bb653243f8fb0d768e39735289d7a89380d
+SIZE (python-lsp-server-1.5.0.tar.gz) = 82371