From 630e75170e0695c77b9d6ffed2b1ea09b9e9f8a8 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Wed, 25 Oct 2023 13:15:57 -0700 Subject: [PATCH 1/3] python3-lsp-server: update to 1.10.0 --- srcpkgs/python3-lsp-server/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-lsp-server/template b/srcpkgs/python3-lsp-server/template index 41e3d69f897bee..afdd8ce333ac48 100644 --- a/srcpkgs/python3-lsp-server/template +++ b/srcpkgs/python3-lsp-server/template @@ -8,8 +8,7 @@ depends="python3-jedi python3-pluggy python3-lsp-jsonrpc python3-ultrajson python3-setuptools python3-docstring-to-markdown python3-yapf python3-toml" checkdepends="${depends} autopep8 python3-coverage python3-flaky python3-matplotlib python3-mccabe python3-mock python3-numpy python3-pandas python3-pycodestyle - python3-PyQt5 python3-pyflakes python3-pylint python3-pytest python3-pytest-cov - flake8" + python3-PyQt5 python3-pyflakes python3-pytest python3-pytest-cov flake8" short_desc="Python implementation of the Language Server Protocol" maintainer="Cameron Nemo " license="MIT" @@ -24,7 +23,8 @@ do_check() { --ignore=test/plugins/test_pydocstyle_lint.py \ --ignore=test/plugins/test_rope_rename.py \ --ignore=test/plugins/test_yapf_format.py \ - --ignore=test/plugins/test_autoimport.py + --ignore=test/plugins/test_autoimport.py \ + --ignore=test/plugins/test_pylint_lint.py } post_install() { From 3a5afd78a0826f6e4f181c7d49ccb4abb5e5a035 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Wed, 25 Oct 2023 13:20:27 -0700 Subject: [PATCH 2/3] New package: python3-lsprotocol-2023.0.1 --- srcpkgs/python3-lsprotocol/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/python3-lsprotocol/template diff --git a/srcpkgs/python3-lsprotocol/template b/srcpkgs/python3-lsprotocol/template new file mode 100644 index 00000000000000..55ff810d87bb81 --- /dev/null +++ b/srcpkgs/python3-lsprotocol/template @@ -0,0 +1,16 @@ +# Template file for 'python3-lsprotocol' +pkgname=python3-lsprotocol +version=2023.0.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel python3-flit_core" +short_desc="Code generator and generated types for Language Server Protocol" +maintainer="Cameron Nemo " +license="MIT" +homepage="https://github.com/microsoft/lsprotocol" +distfiles="${PYPI_SITE}/l/lsprotocol/lsprotocol-${version}.tar.gz" +checksum=cc5c15130d2403c18b734304339e51242d3018a05c4f7d0f198ad6e0cd21861d + +post_install() { + vlicense LICENSE +} From 3cbf04efaf1b3543871c5eb4345e586beb11f218 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Wed, 25 Oct 2023 13:21:12 -0700 Subject: [PATCH 3/3] New package: python3-lsp-ruff-2.1.0 Closes #46560 --- srcpkgs/python3-lsp-ruff/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/python3-lsp-ruff/template diff --git a/srcpkgs/python3-lsp-ruff/template b/srcpkgs/python3-lsp-ruff/template new file mode 100644 index 00000000000000..683681a15bf974 --- /dev/null +++ b/srcpkgs/python3-lsp-ruff/template @@ -0,0 +1,22 @@ +# Template file for 'python3-lsp-ruff' +pkgname=python3-lsp-ruff +version=2.1.0 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools python3-setuptools_scm python3-wheel" +depends="python3-lsp-server python3-lsprotocol python3-cattrs ruff" +checkdepends="${depends} python3-pytest" +short_desc="Linter plugin for pylsp based on ruff" +maintainer="Cameron Nemo " +license="MIT" +homepage="https://github.com/python-lsp/python-lsp-ruff" +distfiles="${PYPI_SITE}/p/python-lsp-ruff/python-lsp-ruff-${version}.tar.gz" +checksum=baf4d29a863dad5184aeec58db4c0e3d5811d894c10f36e7e52edc703cf7cc15 + +do_check() { + python3 -m pytest +} + +post_install() { + vlicense LICENSE +}