diff options
Diffstat (limited to 'dev-python/python-lsp-ruff')
| -rw-r--r-- | dev-python/python-lsp-ruff/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/python-lsp-ruff/metadata.xml | 14 | ||||
| -rw-r--r-- | dev-python/python-lsp-ruff/python-lsp-ruff-2.3.1.ebuild | 35 |
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/python-lsp-ruff/Manifest b/dev-python/python-lsp-ruff/Manifest new file mode 100644 index 000000000000..2f111d75469d --- /dev/null +++ b/dev-python/python-lsp-ruff/Manifest @@ -0,0 +1 @@ +DIST python_lsp_ruff-2.3.1.tar.gz 17421 BLAKE2B 304db767fbe03857f85c54257d431146b812ddf1a0186b31eec48a73565cafe998453af19ef7c6919f9a007b5775ac361a619ee762589d00ee7f53e641158235 SHA512 a30e7a40a9962b59b61e9d9501c67e615e7f74da041aa13a68818f2c4746e17f576ea1bce486cf0057442b96e4795c7b4be3a6b22dde8f7f94bff14db920dca1 diff --git a/dev-python/python-lsp-ruff/metadata.xml b/dev-python/python-lsp-ruff/metadata.xml new file mode 100644 index 000000000000..4ce7c8afee1d --- /dev/null +++ b/dev-python/python-lsp-ruff/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <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> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/python-lsp-ruff/python-lsp-ruff-2.3.1.ebuild b/dev-python/python-lsp-ruff/python-lsp-ruff-2.3.1.ebuild new file mode 100644 index 000000000000..1c9e3d5710ab --- /dev/null +++ b/dev-python/python-lsp-ruff/python-lsp-ruff-2.3.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +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 ~arm64" + +RDEPEND=" + >=dev-util/ruff-0.8.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" +) + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest |
