diff --git a/textproc/py-python-lsp-server/Makefile b/textproc/py-python-lsp-server/Makefile index 5f5ba3614732..5211514946c3 100644 --- a/textproc/py-python-lsp-server/Makefile +++ b/textproc/py-python-lsp-server/Makefile @@ -1,53 +1,53 @@ PORTNAME= python-lsp-server -PORTVERSION= 1.7.1 +PORTVERSION= 1.7.2 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= rhurlin@FreeBSD.org COMMENT= Python implementation of the Language Server Protocol WWW= https://github.com/python-lsp/python-lsp-server LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}autopep8>0:textproc/py-autopep8@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docstring-to-markdown>0:textproc/py-docstring-to-markdown@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flake8>0:devel/py-flake8@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jedi>0:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mccabe>0:devel/py-mccabe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pluggy>0:devel/py-pluggy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycodestyle>0:devel/py-pycodestyle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pydocstyle>0:devel/py-pydocstyle@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyflakes>0:devel/py-pyflakes@${PY_FLAVOR} \ pylint${PYTHON_PKGNAMESUFFIX}>0:devel/pylint@${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}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} 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}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} -# make test: 6 failed, 161 passed, 8 skipped, 21 warnings -# devel/py-pydocstyle v6.3.0 is too new atm :( +# make test: 3 failed, 168 passed, 8 skipped, 21 warnings +# test/plugins/test_flake8_lint.py:90,219,241: AssertionError USES= python:3.7+ pytest USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes .include diff --git a/textproc/py-python-lsp-server/distinfo b/textproc/py-python-lsp-server/distinfo index 38d2655e7967..0f3ea261c36b 100644 --- a/textproc/py-python-lsp-server/distinfo +++ b/textproc/py-python-lsp-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1679647676 -SHA256 (python-lsp-server-1.7.1.tar.gz) = 67473bb301f35434b5fa8b21fc5ed5fac27dc8a8446ccec8bae456af52a0aef6 -SIZE (python-lsp-server-1.7.1.tar.gz) = 95731 +TIMESTAMP = 1680625275 +SHA256 (python-lsp-server-1.7.2.tar.gz) = b2433467d0fcb8fd45828463ff1cc805837c08731fcea5d7d953d9be776881e1 +SIZE (python-lsp-server-1.7.2.tar.gz) = 97050 diff --git a/textproc/py-python-lsp-server/files/patch-pyproject.toml b/textproc/py-python-lsp-server/files/patch-pyproject.toml index ff7f0f829b98..daa45ceb646a 100644 --- a/textproc/py-python-lsp-server/files/patch-pyproject.toml +++ b/textproc/py-python-lsp-server/files/patch-pyproject.toml @@ -1,42 +1,43 @@ ---- pyproject.toml.orig 2023-01-06 23:50:19 UTC +--- pyproject.toml.orig 2023-03-18 18:10:05 UTC +++ pyproject.toml -@@ -27,26 +27,26 @@ all = [ +@@ -27,27 +27,27 @@ 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", -- "pyflakes>=2.5.0,<3.1.0", +- "pydocstyle>=6.3.0,<6.4.0", + "autopep8>=1.6.0", + "flake8>=5.0.0", + "mccabe>=0.7.0", + "pycodestyle>=2.9.0", -+ "pydocstyle>=6.2.0", -+ "pyflakes>=2.5.0", - "pylint>=2.5.0,<3", ++ "pydocstyle>=6.3.0", + "pyflakes>=2.5.0,<3.1.0", +- "pylint>=2.5.0,<3", ++ "pylint>=2.5.0", "rope>1.2.0", - "yapf", + "yapf<=0.32.0", + "toml", "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"] +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"] rope = ["rope>1.2.0"] --yapf = ["yapf", "whatthepatch>=1.0.2,<2.0.0"] -+yapf = ["yapf", "whatthepatch>=1.0.2"] +-yapf = ["yapf<=0.32.0", "whatthepatch>=1.0.2,<2.0.0", "toml"] ++yapf = ["yapf<=0.32.0", "whatthepatch>=1.0.2", "toml"] websockets = ["websockets>=10.3"] test = [ "pylint>=2.5.0,<3",