dev-python/python-lsp-ruff: new package, add 2.3.0

Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
This commit is contained in:
Nowa Ammerlaan 2025-10-11 16:37:06 +02:00
parent 289cbba5d1
commit 67d4a779ea
No known key found for this signature in database
GPG Key ID: A2E2304370447E8E
3 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST python_lsp_ruff-2.3.0.tar.gz 17268 BLAKE2B 4856ef31446fcc3d6e6d5c56b3cfe547e2360f97ace27093cf450d44cef54feb8b1587d6752ecf8fe4c8014afe34a6765204311c4533c764cde1fcb4e9e32185 SHA512 d7ea00489407eb9b2ceb864c3efff5e5f5835ab203d2e02bb2d2f41518a158ea39f2c8c36f2f7369e6b56fbfe19cf16f345e85e7707ab9d68be3b2f1459a225a

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="pypi">python-lsp-ruff</remote-id>
<remote-id type="github">python-lsp/python-lsp-ruff</remote-id>
</upstream>
<stabilize-allarches/>
<maintainer type="person">
<email>nowa@gentoo.org</email>
<name>Nowa Ammerlaan</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,34 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 pypi
DESCRIPTION="Ruff linting plugin for the Python LSP Server"
HOMEPAGE="
https://github.com/python-lsp/python-lsp-ruff/
https://pypi.org/project/python-lsp-ruff/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-util/ruff-0.2.0
dev-python/cattrs[${PYTHON_USEDEP}]
dev-python/python-lsp-server[${PYTHON_USEDEP}]
>=dev-python/lsprotocol-2023.0.1[${PYTHON_USEDEP}]
"
EPYTEST_DESELECT=(
# Fails due to Gentoofied calling of ruff
"tests/test_ruff_lint.py::test_ruff_config_param"
"tests/test_ruff_lint.py::test_ruff_settings"
)
distutils_enable_tests pytest