commit: 67d4a779ea28a74cc806d16a074b4d18abb4181b Author: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> AuthorDate: Sat Oct 11 14:37:06 2025 +0000 Commit: Nowa Ammerlaan <nowa <AT> gentoo <DOT> org> CommitDate: Sat Oct 11 14:50:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67d4a779
dev-python/python-lsp-ruff: new package, add 2.3.0 Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org> dev-python/python-lsp-ruff/Manifest | 1 + dev-python/python-lsp-ruff/metadata.xml | 17 +++++++++++ .../python-lsp-ruff/python-lsp-ruff-2.3.0.ebuild | 34 ++++++++++++++++++++++ 3 files changed, 52 insertions(+) diff --git a/dev-python/python-lsp-ruff/Manifest b/dev-python/python-lsp-ruff/Manifest new file mode 100644 index 000000000000..854f2008f124 --- /dev/null +++ b/dev-python/python-lsp-ruff/Manifest @@ -0,0 +1 @@ +DIST python_lsp_ruff-2.3.0.tar.gz 17268 BLAKE2B 4856ef31446fcc3d6e6d5c56b3cfe547e2360f97ace27093cf450d44cef54feb8b1587d6752ecf8fe4c8014afe34a6765204311c4533c764cde1fcb4e9e32185 SHA512 d7ea00489407eb9b2ceb864c3efff5e5f5835ab203d2e02bb2d2f41518a158ea39f2c8c36f2f7369e6b56fbfe19cf16f345e85e7707ab9d68be3b2f1459a225a 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 @@ +<?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>[email protected]</email> + <name>Nowa Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Python</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/python-lsp-ruff/python-lsp-ruff-2.3.0.ebuild b/dev-python/python-lsp-ruff/python-lsp-ruff-2.3.0.ebuild new file mode 100644 index 000000000000..0588d82ea084 --- /dev/null +++ b/dev-python/python-lsp-ruff/python-lsp-ruff-2.3.0.ebuild @@ -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
