diff options
Diffstat (limited to 'dev-python/ruff')
| -rw-r--r-- | dev-python/ruff/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/ruff/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-python/ruff/ruff-0.16.7.ebuild | 29 |
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/ruff/Manifest b/dev-python/ruff/Manifest new file mode 100644 index 000000000000..964e342568c2 --- /dev/null +++ b/dev-python/ruff/Manifest @@ -0,0 +1 @@ +DIST ruff-0.16.7.tar.gz 4924184 BLAKE2B ab6e3e3edd605458d8774c8423fa4844a1a81d25be8f55125488fdd1dbdff0d8ad3ba9fbcbf71b614f5c2a979dc473463a004e94464b41d49e0dfb92684a6d49 SHA512 590f77900a2e68552da63173aa0d50ad0fe363ee26677488a3fd91197413cf87b3d9cd929d29aff17f749f245bd8d7122c918ac445e96fca70bef6f422ff02f9 diff --git a/dev-python/ruff/metadata.xml b/dev-python/ruff/metadata.xml new file mode 100644 index 000000000000..6f45a3abfba2 --- /dev/null +++ b/dev-python/ruff/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://srcux.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>shimontrolles@gmail.com</email> + <name>Shimon Trolles</name> + </maintainer> + <origin>srcux</origin> +</pkgmetadata> diff --git a/dev-python/ruff/ruff-0.16.7.ebuild b/dev-python/ruff/ruff-0.16.7.ebuild new file mode 100644 index 000000000000..e72b8736f51b --- /dev/null +++ b/dev-python/ruff/ruff-0.16.7.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) + +inherit pypi python-r1 + +DESCRIPTION="An extremely fast Python linter and code formatter, written in Rust" +HOMEPAGE="https://github.com/astral-sh/ruff" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="~dev-util/ruff-${PV} + ${PYTHON_DEPS}" + +my_install() { + python_moduleinto ruff + python_domodule python/ruff/__{init,main}__.py + python_domodule python/ruff/_find_ruff.py +} + +src_install() { + python_foreach_impl my_install +} |
