Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: python3-lsp-ruff #48776

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions srcpkgs/python3-lsp-jsonrpc/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'python3-lsp-jsonrpc'
pkgname=python3-lsp-jsonrpc
version=1.1.1
revision=2
version=1.1.2
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-ultrajson"
Expand All @@ -12,7 +12,7 @@ license="MIT"
homepage="https://github.com/python-lsp/python-lsp-jsonrpc"
changelog="https://raw.githubusercontent.com/python-lsp/python-lsp-jsonrpc/develop/CHANGELOG.md"
distfiles="${PYPI_SITE}/p/${pkgname/3}/${pkgname/3}-${version}.tar.gz"
checksum=05cc914aa5ee2e7f52eb762014ba4996a8cc52459bfddb81fb96c56ace927908
checksum=4688e453eef55cd952bff762c705cedefa12055c0aec17a06f595bcc002cc912

post_install() {
vlicense LICENSE
Expand Down
22 changes: 22 additions & 0 deletions srcpkgs/python3-lsp-ruff/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Template file for 'python3-lsp-ruff'
pkgname=python3-lsp-ruff
version=2.2.1
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 <cam@nohom.org>"
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=0bb3a227bc136e8ab8c66e91733f2673dc15df6f7fc9eb99d4267d0991b327a5

do_check() {
python3 -m pytest
}

post_install() {
vlicense LICENSE
}
10 changes: 5 additions & 5 deletions srcpkgs/python3-lsp-server/template
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
# Template file for 'python3-lsp-server'
pkgname=python3-lsp-server
version=1.10.0
version=1.11.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-setuptools_scm python3-wheel"
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 <cam@nohom.org>"
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=0c9a52dcc16cd0562404d529d50a03372db1ea6fb8dfcc3792b3265441c814f4
checksum=89edd6fb3f7852e4bf5a3d1d95ea41484d1a28fa94b6e3cbff12b9db123b8e86

do_check() {
python3 -m pytest \
--ignore=test/plugins/test_completion.py \
--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() {
Expand Down
16 changes: 16 additions & 0 deletions srcpkgs/python3-lsprotocol/template
Original file line number Diff line number Diff line change
@@ -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 <cam@nohom.org>"
license="MIT"
homepage="https://github.com/microsoft/lsprotocol"
distfiles="${PYPI_SITE}/l/lsprotocol/lsprotocol-${version}.tar.gz"
checksum=cc5c15130d2403c18b734304339e51242d3018a05c4f7d0f198ad6e0cd21861d

post_install() {
vlicense LICENSE
}