Skip to content
Snippets Groups Projects
Commit 67ed83e0 authored by Rainer Hurling's avatar Rainer Hurling
Browse files

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
parent 09928f1e
No related branches found
No related tags found
No related merge requests found
# 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>
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment