From 09d7b3da7df285973ff6054cc6db3c65a8c63814 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Wed, 25 Oct 2023 13:15:57 -0700 Subject: [PATCH 1/4] python3-lsp-server: update to 1.10.0 --- srcpkgs/python3-lsp-server/template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python3-lsp-server/template b/srcpkgs/python3-lsp-server/template index 16cda8e78e356..afdd8ce333ac4 100644 --- a/srcpkgs/python3-lsp-server/template +++ b/srcpkgs/python3-lsp-server/template @@ -1,6 +1,6 @@ # Template file for 'python3-lsp-server' pkgname=python3-lsp-server -version=1.9.0 +version=1.10.0 revision=1 build_style=python3-module hostmakedepends="python3-setuptools python3-setuptools_scm python3-wheel" @@ -8,15 +8,14 @@ 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" homepage="https://github.com/python-lsp/python-lsp-server" changelog="https://raw.githubusercontent.com/python-lsp/python-lsp-server/develop/CHANGELOG.md" distfiles="${PYPI_SITE}/p/python-lsp-server/python-lsp-server-${version}.tar.gz" -checksum=dc0c8298f0222fd66a52aa3170f3a5c8fe3021007a02098bb72f7fd8df353d13 +checksum=0c9a52dcc16cd0562404d529d50a03372db1ea6fb8dfcc3792b3265441c814f4 do_check() { python3 -m pytest \ @@ -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 35eeefe9e1a789866f652c2b6ed9f6d6f1057353 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Wed, 25 Oct 2023 13:20:06 -0700 Subject: [PATCH 2/4] New package: python3-cattrs-23.2.3 --- srcpkgs/python3-cattrs/template | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 srcpkgs/python3-cattrs/template diff --git a/srcpkgs/python3-cattrs/template b/srcpkgs/python3-cattrs/template new file mode 100644 index 0000000000000..152eb42fe91c6 --- /dev/null +++ b/srcpkgs/python3-cattrs/template @@ -0,0 +1,17 @@ +# Template file for 'python3-cattrs' +pkgname=python3-cattrs +version=23.2.3 +revision=1 +build_style=python3-pep517 +hostmakedepends="hatchling hatch-vcs" +depends="python3-attrs" +short_desc="Composable complex class support for attrs and dataclasses" +maintainer="Cameron Nemo " +license="MIT" +homepage="https://github.com/python-attrs/cattrs" +distfiles="${PYPI_SITE}/c/cattrs/cattrs-${version}.tar.gz" +checksum=a934090d95abaa9e911dac357e3a8699e0b4b14f8529bcc7d2b1ad9d51672b9f + +post_install() { + vlicense LICENSE +} From 18f75b569dde8207388b2671d7543ed2318e9c4e Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Wed, 25 Oct 2023 13:20:27 -0700 Subject: [PATCH 3/4] 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 0000000000000..fe5e772fd4e31 --- /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="Python implementation of the 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 e21bc3d8f67cc7957d7d26223dfbf52fa522a60c Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Wed, 25 Oct 2023 13:21:12 -0700 Subject: [PATCH 4/4] 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 0000000000000..e1a47ac675e97 --- /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="Python implementation of the Language Server Protocol" +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 +}