From bfd9c39e4712ebdb442d4ca0673061faed1e70e1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 05:48:38 -0500 Subject: Revert "Adding metadata" This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704. --- dev-python/python-lsp-ruff/Manifest | 1 + dev-python/python-lsp-ruff/metadata.xml | 17 +++++++++++ .../python-lsp-ruff/python-lsp-ruff-2.3.1.ebuild | 35 ++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 dev-python/python-lsp-ruff/Manifest create mode 100644 dev-python/python-lsp-ruff/metadata.xml create mode 100644 dev-python/python-lsp-ruff/python-lsp-ruff-2.3.1.ebuild (limited to 'dev-python/python-lsp-ruff') 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..0e70359b425c --- /dev/null +++ b/dev-python/python-lsp-ruff/metadata.xml @@ -0,0 +1,17 @@ + + + + + python-lsp-ruff + python-lsp/python-lsp-ruff + + + + nowa@gentoo.org + Nowa Ammerlaan + + + python@gentoo.org + Python + + 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 -- cgit v1.3.1