summaryrefslogtreecommitdiff
path: root/textproc/py-python-lsp-server
diff options
context:
space:
mode:
authorRainer Hurling <rhurlin@FreeBSD.org>2024-09-01 19:08:16 +0200
committerRainer Hurling <rhurlin@FreeBSD.org>2024-09-01 19:11:21 +0200
commitb3fa243900494bfc0c463769d6a9f245970d0bf4 (patch)
treecafdaec7153e234727ca1b86bc7e8317ebd520b1 /textproc/py-python-lsp-server
parentsecurity/seal: Update to 4.1.2 (diff)
textproc/py-python-lsp-server: Update to 1.12.0
Major release with the following new features and changes: - Add support for window/logMessage. - Add version support to workspace/publishDiagnostics. - Add extendSelect option to flake8 plugin. - Allow Jedi's extra_paths to be placed in front of sys.path. - Bump flake8 to 7.1 Changelog: https://github.com/python-lsp/python-lsp-server/blob/develop/CHANGELOG.md#version-1120-20240825 Reported by: portscout, Repology
Diffstat (limited to 'textproc/py-python-lsp-server')
-rw-r--r--textproc/py-python-lsp-server/Makefile15
-rw-r--r--textproc/py-python-lsp-server/distinfo6
-rw-r--r--textproc/py-python-lsp-server/files/patch-MANIFEST.in10
-rw-r--r--textproc/py-python-lsp-server/files/patch-pyproject.toml18
4 files changed, 36 insertions, 13 deletions
diff --git a/textproc/py-python-lsp-server/Makefile b/textproc/py-python-lsp-server/Makefile
index fb7a35189cef..9806f45b8a21 100644
--- a/textproc/py-python-lsp-server/Makefile
+++ b/textproc/py-python-lsp-server/Makefile
@@ -1,8 +1,9 @@
PORTNAME= python-lsp-server
-PORTVERSION= 1.11.0
+PORTVERSION= 1.12.0
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTFILES= ${PORTNAME:S/-/_/g}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= rhurlin@FreeBSD.org
COMMENT= Python implementation of the Language Server Protocol
@@ -29,6 +30,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}autopep8>0:textproc/py-autopep8@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}pyls-black>0:devel/py-pyls-black@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-lsp-jsonrpc>0:textproc/py-python-lsp-jsonrpc@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rope>0:devel/py-rope@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ruff>0:devel/py-ruff@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ujson>0:devel/py-ujson@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}whatthepatch>0:textproc/py-whatthepatch@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yapf>0:textproc/py-yapf@${PY_FLAVOR}
@@ -42,15 +44,26 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-isort>0:devel/py-pytest-isort@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}qt5-pyqt>0:devel/py-qt5-pyqt@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rope>0:devel/py-rope@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}whatthepatch>0:textproc/py-whatthepatch@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yapf>0:textproc/py-yapf@${PY_FLAVOR} \
${PYNUMPY}
+### Test core dumps at
+# python_lsp_server-1.12.0/test/plugins/test_autoimport.py:l277ff
+# if math/openblas is built with option INTERFACE64=ON (nondefault)!
+#
# make test: 4 failed, 186 passed, 8 skipped, 10 warnings
USES= python
USE_PYTHON= autoplist concurrent pep517 pytest
+TEST_USES= qt:5
+TEST_USE_PYQT= pyqt5:test
+TEST_USE_QT= testlib
+
NO_ARCH= yes
+WRKSRC= ${WRKDIR}/${DISTFILES:R:R}
+
.include <bsd.port.mk>
diff --git a/textproc/py-python-lsp-server/distinfo b/textproc/py-python-lsp-server/distinfo
index 55a54e2c0409..a07944a71e3e 100644
--- a/textproc/py-python-lsp-server/distinfo
+++ b/textproc/py-python-lsp-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1711954019
-SHA256 (python-lsp-server-1.11.0.tar.gz) = 89edd6fb3f7852e4bf5a3d1d95ea41484d1a28fa94b6e3cbff12b9db123b8e86
-SIZE (python-lsp-server-1.11.0.tar.gz) = 113347
+TIMESTAMP = 1724832263
+SHA256 (python_lsp_server-1.12.0.tar.gz) = b6a336f128da03bd9bac1e61c3acca6e84242b8b31055a1ccf49d83df9dc053b
+SIZE (python_lsp_server-1.12.0.tar.gz) = 114328
diff --git a/textproc/py-python-lsp-server/files/patch-MANIFEST.in b/textproc/py-python-lsp-server/files/patch-MANIFEST.in
new file mode 100644
index 000000000000..e0a36ef5bdc9
--- /dev/null
+++ b/textproc/py-python-lsp-server/files/patch-MANIFEST.in
@@ -0,0 +1,10 @@
+--- MANIFEST.in.orig 2024-01-21 15:55:09 UTC
++++ MANIFEST.in
+@@ -1,7 +1,5 @@ include README.md
+ include README.md
+-include versioneer.py
+ include pylsp/_version.py
+ include LICENSE
+-include ruff.toml
+ include .pylintrc
+ recursive-include test *.py
diff --git a/textproc/py-python-lsp-server/files/patch-pyproject.toml b/textproc/py-python-lsp-server/files/patch-pyproject.toml
index ee45b822c398..0796b66f8b96 100644
--- a/textproc/py-python-lsp-server/files/patch-pyproject.toml
+++ b/textproc/py-python-lsp-server/files/patch-pyproject.toml
@@ -1,13 +1,13 @@
---- pyproject.toml.orig 2024-03-29 15:39:29 UTC
+--- pyproject.toml.orig 2024-07-24 16:43:03 UTC
+++ pyproject.toml
@@ -27,29 +27,29 @@ all = [
[project.optional-dependencies]
all = [
- "autopep8>=2.0.4,<2.1.0",
-- "flake8>=7,<8",
+- "flake8>=7.1,<8",
- "mccabe>=0.7.0,<0.8.0",
-- "pycodestyle>=2.11.0,<2.12.0",
+- "pycodestyle>=2.12.0,<2.13.0",
- "pydocstyle>=6.3.0,<6.4.0",
- "pyflakes>=3.2.0,<3.3.0",
- "pylint>=3.1,<4",
@@ -15,9 +15,9 @@
- "yapf>=0.33.0",
- "whatthepatch>=1.0.2,<2.0.0"
+ "autopep8>=2.0.4",
-+ "flake8>=7",
++ "flake8>=7.1",
+ "mccabe>=0.7.0",
-+ "pycodestyle>=2.11.0",
++ "pycodestyle>=2.12.0",
+ "pydocstyle>=6.3.0",
+ "pyflakes>=3.2.0",
+ "pylint>=3.1",
@@ -26,18 +26,18 @@
+ "whatthepatch>=1.0.2"
]
-autopep8 = ["autopep8>=2.0.4,<2.1.0"]
--flake8 = ["flake8>=7,<8"]
+-flake8 = ["flake8>=7.1,<8"]
-mccabe = ["mccabe>=0.7.0,<0.8.0"]
--pycodestyle = ["pycodestyle>=2.11.0,<2.12.0"]
+-pycodestyle = ["pycodestyle>=2.12.0,<2.13.0"]
-pydocstyle = ["pydocstyle>=6.3.0,<6.4.0"]
-pyflakes = ["pyflakes>=3.2.0,<3.3.0"]
-pylint = ["pylint>=3.1,<4"]
-rope = ["rope>=1.11.0"]
-yapf = ["yapf>=0.33.0", "whatthepatch>=1.0.2,<2.0.0"]
+autopep8 = ["autopep8>=2.0.4"]
-+flake8 = ["flake8>=7"]
++flake8 = ["flake8>=7.1"]
+mccabe = ["mccabe>=0.7.0"]
-+pycodestyle = ["pycodestyle>=2.11.0"]
++pycodestyle = ["pycodestyle>=2.12.0"]
+pydocstyle = ["pydocstyle>=6.3.0"]
+pyflakes = ["pyflakes>=3.2.0"]
+pylint = ["pylint>=3.1"]