mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
dev-python/ruff: new package, add 0.16.7
Signed-off-by: Shimon Trolles <shimontrolles@gmail.com>
This commit is contained in:
3 files changed
+41
No files matched your search
@@ -0,0 +1 @@
|
||||
DIST ruff-0.16.7.tar.gz 4924184 BLAKE2B ab6e3e3edd605458d8774c8423fa4844a1a81d25be8f55125488fdd1dbdff0d8ad3ba9fbcbf71b614f5c2a979dc473463a004e94464b41d49e0dfb92684a6d49 SHA512 590f77900a2e68552da63173aa0d50ad0fe363ee26677488a3fd91197413cf87b3d9cd929d29aff17f749f245bd8d7122c918ac445e96fca70bef6f422ff02f9
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>shimontrolles@gmail.com</email>
|
||||
<name>Shimon Trolles</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">astral-sh/ruff</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -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_{12..15} )
|
||||
|
||||
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
|
||||
}
|
||||
Reference in new issue
Block a user