git: 9e6d197a4f82 - main - textproc/py-python-lsp-server: Update to 1.6.0

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Sun, 06 Nov 2022 20:27:05 UTC
The branch main has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9e6d197a4f820d58bbc4c599232f804a1bdbe544

commit 9e6d197a4f820d58bbc4c599232f804a1bdbe544
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2022-11-06 20:22:00 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2022-11-06 20:26:42 +0000

    textproc/py-python-lsp-server: Update to 1.6.0
    
    Major release with the following new features and changes:
    - Migrate to MarkupContent and convert docstrings to Markdown by default
    - Add support for flake8 version 5
    - Add function objects to Jedi completions
    - Don't include class / functions objects by default in Jedi completions
    
    Changelog: https://github.com/python-lsp/python-lsp-server/releases/tag/v1.6.0
    
    Reported by:    portscout, Repology
---
 textproc/py-python-lsp-server/Makefile             |  7 ++---
 textproc/py-python-lsp-server/distinfo             |  6 ++--
 .../files/patch-pyproject.toml                     | 34 ++++++----------------
 3 files changed, 15 insertions(+), 32 deletions(-)

diff --git a/textproc/py-python-lsp-server/Makefile b/textproc/py-python-lsp-server/Makefile
index b11e997f3ccf..3ade59d3cb41 100644
--- a/textproc/py-python-lsp-server/Makefile
+++ b/textproc/py-python-lsp-server/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	python-lsp-server
-PORTVERSION=	1.5.0
-PORTREVISION=	3
+PORTVERSION=	1.6.0
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -31,6 +30,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}autopep8>0:textproc/py-autopep8@${PY_FLAVOR}
 		${PYTHON_PKGNAMEPREFIX}whatthepatch>0:textproc/py-whatthepatch@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yapf>0:textproc/py-yapf@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}docstring-to-markdown>0:textproc/py-docstring-to-markdown@${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} \
@@ -42,8 +42,7 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR}
 		${PYTHON_PKGNAMEPREFIX}yapf>0:textproc/py-yapf@${PY_FLAVOR} \
 		${PYNUMPY}
 
-# make test: 4 failed, 133 passed, 9 skipped, 18 warnings
-# mainly because of py-numpy>=1.23.0 ...
+# make test: 2 failed, 136 passed, 8 skipped, 18 warnings
 USES=		python:3.7+ pytest
 USE_PYTHON=	autoplist concurrent distutils
 
diff --git a/textproc/py-python-lsp-server/distinfo b/textproc/py-python-lsp-server/distinfo
index a7e264072d78..5f052bfc78f6 100644
--- a/textproc/py-python-lsp-server/distinfo
+++ b/textproc/py-python-lsp-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1657564683
-SHA256 (python-lsp-server-1.5.0.tar.gz) = e5c094c19925022a27c4068f414b2bb653243f8fb0d768e39735289d7a89380d
-SIZE (python-lsp-server-1.5.0.tar.gz) = 82371
+TIMESTAMP = 1667636520
+SHA256 (python-lsp-server-1.6.0.tar.gz) = d75cdff9027c4212e5b9e861e9a0219219c8e2c69508d9f24949951dabd0dc1b
+SIZE (python-lsp-server-1.6.0.tar.gz) = 85242
diff --git a/textproc/py-python-lsp-server/files/patch-pyproject.toml b/textproc/py-python-lsp-server/files/patch-pyproject.toml
index 009b108ebab6..886cbf02d299 100644
--- a/textproc/py-python-lsp-server/files/patch-pyproject.toml
+++ b/textproc/py-python-lsp-server/files/patch-pyproject.toml
@@ -1,36 +1,20 @@
---- pyproject.toml.orig	2022-06-28 16:50:47 UTC
+--- pyproject.toml.orig	2022-11-02 23:27:35 UTC
 +++ pyproject.toml
-@@ -26,23 +26,23 @@ all = [
+@@ -27,7 +27,7 @@ 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",
+     "flake8>=5.0.0,<5.1.0",
+     "mccabe>=0.7.0,<0.8.0",
+     "pycodestyle>=2.9.0,<2.10.0",
+@@ -38,7 +38,7 @@ all = [
      "yapf",
      "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"]
- pylint = ["pylint>=2.5.0"]
- rope = ["rope>0.10.5"]
- yapf = ["yapf", "whatthepatch>=1.0.2,<2.0.0"]
+ flake8 = ["flake8>=5.0.0,<5.1.0"]
+ mccabe = ["mccabe>=0.7.0,<0.8.0"]
+ pycodestyle = ["pycodestyle>=2.9.0,<2.10.0"]