commit:     8b02e0bf03c2df9dd9c2c5b079e3c76ef0f3407a
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 27 01:03:02 2026 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Feb 27 01:03:02 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b02e0bf

dev-util/ruff: drop 0.14.10-r1, 0.14.11, 0.15.0

Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 dev-util/ruff/Manifest               |   8 ---
 dev-util/ruff/ruff-0.14.10-r1.ebuild | 119 -----------------------------------
 dev-util/ruff/ruff-0.14.11.ebuild    | 119 -----------------------------------
 dev-util/ruff/ruff-0.15.0.ebuild     | 119 -----------------------------------
 4 files changed, 365 deletions(-)

diff --git a/dev-util/ruff/Manifest b/dev-util/ruff/Manifest
index bdaf27b25599..ec7613a196d0 100644
--- a/dev-util/ruff/Manifest
+++ b/dev-util/ruff/Manifest
@@ -1,23 +1,15 @@
 DIST lsp-types-3512a9f33eadc5402cfab1b8f7340824c8ca1439.gh.tar.gz 71124 
BLAKE2B 
b2ea1c8fdd96dcc78ea48be71d1a4870fe1ff7f6a03dfe96479e0cba5f6b13ea68381d0a85fcb79a1ec2345eab7032c76cf567a813885128f94ac0c47c3de7bf
 SHA512 
3362f9db4e78261825ae17b3429f9c54dc1b32a8b6a275ecff7bbe457c610d27ac37e68be3e9e27378f5f54c786dee787fd87b33c102f2507a46cf7290390ab5
 DIST ruff-0.13.1-crates.tar.xz 22289184 BLAKE2B 
c750396641652e538ba34081f62da40338ddcc02bcf2c131f77f759bb45637db2c8824ad5d290cbc55a7a3d04b7b9950caea4a03db6a109f8089ab339c34c375
 SHA512 
42c967ba063fecde8e48d69261c355952095d0ba748695305fb090bc4ea07eeb2c3a7c673438dbd2ba7690808f07cb1fc3438300cf8a15344b3fbdc41dedae89
 DIST ruff-0.13.1.gh.tar.gz 7990401 BLAKE2B 
0c24b65c1212791e06c7ec4d153ca030f20bea75bd55be78314c07237f62060d24544dc45d7928e660f94284f8e45379a7d2f4b30863133b72fcf617ec0a2777
 SHA512 
f6461b23743144d5c21f83dafed89561514f143d5acfbee1c453f445e27b4d6638299123bdd13031741c8cc410376b111e7c25aab9fec30e7f2f190760ffae04
-DIST ruff-0.14.10-crates.tar.xz 23837368 BLAKE2B 
c09dcd6a0b6b55cc08407dae11980784e0f36042ebe33983aed5de82c7ba0e27c52f582c2ba11cce00203180a226a7d88333abd3df215309969b2f554856c336
 SHA512 
be4e7ba3cf489cd8873a030bc17117f7eef7ecd8b8677931794f68f3ca8af1eef2465d8c040230f664b9f7001dd6dde6e5762c847871ad29b5f6acb84c87f7f0
-DIST ruff-0.14.10.gh.tar.gz 10502239 BLAKE2B 
d7e47a0637717d48804679e17290066ecd09afe9cc9a9f5a2bd75763d0129253582a2473eacb7bd9c4e3ba3454174f2393e33dcbad96aa6ed07ef43ad827c1a5
 SHA512 
551fa0b51fa941df1f0f90625c07831899c76db99253a470d52f1dc77b580fe039a68dee56b8c0c9bd23ad36a4295874f80635e69859939844a6c155ea73ae99
-DIST ruff-0.14.11-crates.tar.xz 27155716 BLAKE2B 
821dfb87add5d83ece6e5f0849b25c7146bc13f573c040816dfedfcbfc0992345f34858c846eebf5c8fc00fdbea08ac06ecba5118406c03db025a455c2893480
 SHA512 
5aaa82201c14d982bef1793a070f5b667668b8a533f55707523466d29f2bd5ba59d5c239d12723972a7a8ccd32a73d11954f97776c4faebcf135bab45eba6e05
-DIST ruff-0.14.11.gh.tar.gz 10646599 BLAKE2B 
35911f34fc507f9556fc205be2823555cc56d8c58ac57f153f2e648e87dfc2b17551e8948ffe2071ef49aebd38665cac7d29151e8b3c4a5fa36f9a69f94e0f96
 SHA512 
cee7cc1797442c4505cd92ce91fab566baa926fffca0c4228246655834a0290f278f2d5fb93059a78bbe386fa41c55f1aac486887b09297ca09b2be6102fcbe8
 DIST ruff-0.14.14-crates.tar.xz 27166656 BLAKE2B 
2195359d2c7e2d81d2b529c9758b2648e801471f44b4817905dee9863eb71a546c54bf6b48f438f73dc7de17c71d388dd96b07f30e1c3162000226c9e81a05a5
 SHA512 
1257b788e753c52600f2de8c96d609175ccc6bb6b86f280592af53037f33f10669dd0d264dfeb813ce6f694cbf3dd5c9c3ca7cc7782a6eac730d5769413397d4
 DIST ruff-0.14.14.gh.tar.gz 10790863 BLAKE2B 
a2c528031f7a4d7722d2b3ed2e21e8866f847538275357c66667f98e963e3c37002cd44ef8d57d48a5c68ec9c69c538cc29fa62e65f0cbf7ceb210341488d135
 SHA512 
f0e0350034c745dd8dfad81b7a61ba3895674bbc3aa0ec3c552470fe24363e729c959cd8916cb216ea90cf3c6682bed1bad22e740eff8525b9b27c7bac1da10b
 DIST ruff-0.14.9-crates.tar.xz 23756736 BLAKE2B 
096331190e95db7701bd80ef61d38dbc2f40dd551ed47381376ec7b7ab6cca2660d0bf3991e436643bab8e8c76b21d0b250b3229f6718a5b9ae8cf062167fb88
 SHA512 
69a2784950322b8d99abcfc7a08b6205e26ba58c7c91a7978069fec734e8668c32e59d1142c0921eec0e65b7fd6b7eb25ad5c9f623e547f4ee41045bcad92447
 DIST ruff-0.14.9.gh.tar.gz 10435624 BLAKE2B 
8a11be76ac46750c97efd6f8bfdafd1d2bdeac81302b85f2d04feba59165fe9ed1b24c465a9df0d8d415325af6e9c6e020d21f295ef94c52f24681359c00bb3a
 SHA512 
67c58eff480232871041156ddd8448a856b0e3c9bb68ca82577d34f353a711b85e3b1e032f98ed0abe5d0fff2855a109380e59e8909dd2742c3bb6b96dc972d4
-DIST ruff-0.15.0-crates.tar.xz 27175004 BLAKE2B 
6d6b0b701576b7f26a306211695b40903a2605f0a6cbd19058e2ecb27c82657307adad760fa3a31365dc0589a0a7050862f656583421399de4971b8ccff550b4
 SHA512 
9ba8fd8fe9e199b35a8a4bcadf51eaa20ef0fdf4c3492c1395d0e49340cee5a58dcda93e2c2452993a296b765cbbe6d36f4bacd5f7c15f2ddc4fdfba4a0377b2
-DIST ruff-0.15.0.gh.tar.gz 10873810 BLAKE2B 
721a3895412faf0b456fef0c361ab576800b3b51d2ee03500b62af769680bb9942f5ee8be7aac4a24df409de7b20c9879b4b1e482727edf6d247921c692e8dc5
 SHA512 
b9584eee521718d1d5d27215c1981c38c3ab947bdfb4554ee323c220da6fc69dcb33b2cc7a23d8d730b24bf61a02c986499e037950faa3d500e2172d67e7d926
 DIST ruff-0.15.1-crates.tar.xz 27160512 BLAKE2B 
c59aca33f25cbee3970e1f05a0f4d6fd4411e8b9968eb682f29e2775ae17db10c8acd3e1de69a3aaff162a368e2af1d18c007e0d53cedcf65d2fc78096c6d8b2
 SHA512 
61e24937d6efce02013b2484c21c3eebe9f74d1bda740dfa9771e93846a8dd1d18039b6d9b905441af35062f5550a3d62342b5d4c63b479152d3de92abea6048
 DIST ruff-0.15.1.gh.tar.gz 10974921 BLAKE2B 
fbae4979a96a443dfb9b9492c4346d89ad6a8412a23934acf068b84972256de7d3a4e857e99064d29157ee2eaae15ac1d4ceec97861be66b59034a79f0adc221
 SHA512 
e8fa0bb254714a5d361a1d49aadd0633a6989d91c098c4dc2689991634960aff369f3e987546f1d9018de2920a4af40233f52fb8091f992a90d34a99be8ad855
 DIST ruff-0.15.4-crates.tar.xz 27914628 BLAKE2B 
2dfdbd4461f7bd1e1536d28e6ef24e3cbb0c02b9d64e77514eb0825528f26e66c861ebe9a4f4d673c93b9979c919cb5629601be794f7008c5a22a30abe8a21ef
 SHA512 
42cb1153400321542e29f3f082e23877ab41672718d9005753910e26b6bb38f54ee483c9b46b0072294bddbdf43e67fd67f0bedbd68e759e00ab2a8c22518a17
 DIST ruff-0.15.4.gh.tar.gz 11086140 BLAKE2B 
ee15559befc4df91ee556c5e6fd4e9af6eed398e0d2f0ca663aedfe5ff476d6fde3536cf93f7fa822a89ac8cf51f1d12d3f7f0e4c6f0aca20af0e9c7128b091f
 SHA512 
7a05f6dae5872fa6446adba2fe6a1cb207a7107f56d479567afb7abca164def43f9bc5c9ea2469204edebef050f3a5b2cf9a7e6b9b95cccc2227293117b35df4
-DIST salsa-309c249088fdeef0129606fa34ec2eefc74736ff.gh.tar.gz 733433 BLAKE2B 
7e624438a1bc329e7874fbd2b2efb159933b4297664567e6e0c367d4fbe9ab98de9ca1ffc09a2e2b3e15efd7b6a855298e8e861560157e6eb50ff0251260ad39
 SHA512 
5e4ee81b8bdb21c98bac9fd8f6e51946a393d5a8e526c8f2f1153234450f25b37618fba26aa1f102439633cc271d8b46769ab86a02d9a51ee1071cc5eed6e876
 DIST salsa-3713cd7eb30821c0c086591832dd6f59f2af7fe7.gh.tar.gz 717350 BLAKE2B 
3db412c1ce2953fdde9f182e9611d8dfe09b197be36c69ebf77344fbdf1efb542b94ca61c5cbcc39fdb3df8ec1e374d19e1e1116174f63f907e28b51f14f19cf
 SHA512 
49bcdede05f7f681d075739b685e1807e978d8160374b2d6176246b90255d72c202205e7591af76ce362706793ca8c15f1a3854849c63b466313eaf363ad8c61
 DIST salsa-53421c2fff87426fa0bb51cab06632b87646de13.gh.tar.gz 742301 BLAKE2B 
90a53f87b823c360fce95c32fa573650892e40d4f7b260b52efa9bd96da903342ba5cd8adfffed34f168e546a9a1c140ecf22c80731d458cd8e06c84bd6c4d24
 SHA512 
4471203f3a2a6db0766ce2d426583f9c55277987200bf863c31b1ef09f9ede77091d47ad3a971ae2653d34a02cb2f79b5fb0e6da7a0860dca6636ebba1651ae6
 DIST salsa-55e5e7d32fa3fc189276f35bb04c9438f9aedbd1.gh.tar.gz 731425 BLAKE2B 
ce720abaa295b46c7e1fa06a73e2ad9a48a6b9da7f2b4a91edba38a28bb9a63a1661886fc7c5d6dbc915f589f2e055731a544cdf18afb4dd7b3f6815c59e543b
 SHA512 
91942cfc6bbfb7f07366cdd3d42e5296bff877ee723b24868ff3c278defd0ef247f03e957332bc0696553f0f1977a41c18d08efe7887f5bda3a1cb98543bddbd
 DIST salsa-9860ff6ca0f1f8f3a8d6b832020002790b501254.gh.tar.gz 738416 BLAKE2B 
a80aea2f5e89bbadd5aecd7bf728355f2ffd84793b2e3581e94ba10e32c68fa7b9eb2663b17e47089ba60f5b6019776f794f91771435a9e8d10876f4e38b4d97
 SHA512 
ed1080daa458a77dc1634381863c671f3facd34e048c952358253be950bc87eb4d11079566be8caa90eb1f704e1dbc3591418a03ed10f1b7147222afcf44fe63
-DIST salsa-e9b9ddd4bec50ac777e9353bbb8f1180e5669d89.gh.tar.gz 741206 BLAKE2B 
627fac673ca5010e430df998484ad0819ec4975c94d46d0fcf740a48ace92ce411e82f50c75b1645f6e1dfd8c4732081aa25e3fe8255c2059406892f5cb4f67f
 SHA512 
285744b75e815249fad001eed2dd790b0e79b0d5a655806ae335b464b959f1ed47777041e3e4c0f3793be5b8920e43eead1ee78a9c4af9865ca76be2b4215104

diff --git a/dev-util/ruff/ruff-0.14.10-r1.ebuild 
b/dev-util/ruff/ruff-0.14.10-r1.ebuild
deleted file mode 100644
index bc884780b76c..000000000000
--- a/dev-util/ruff/ruff-0.14.10-r1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 2024-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Autogenerated by pycargoebuild 0.15.0
-
-EAPI=8
-
-CRATES="
-"
-
-declare -A GIT_CRATES=(
-       
[lsp-types]='https://github.com/astral-sh/lsp-types;3512a9f33eadc5402cfab1b8f7340824c8ca1439;lsp-types-%commit%'
-       
[salsa-macro-rules]='https://github.com/salsa-rs/salsa;55e5e7d32fa3fc189276f35bb04c9438f9aedbd1;salsa-%commit%/components/salsa-macro-rules'
-       
[salsa-macros]='https://github.com/salsa-rs/salsa;55e5e7d32fa3fc189276f35bb04c9438f9aedbd1;salsa-%commit%/components/salsa-macros'
-       
[salsa]='https://github.com/salsa-rs/salsa;55e5e7d32fa3fc189276f35bb04c9438f9aedbd1;salsa-%commit%'
-)
-
-RUST_MIN_VER="1.90.0"
-
-inherit shell-completion cargo
-
-DESCRIPTION="An extremely fast Python linter, written in Rust"
-HOMEPAGE="
-       https://docs.astral.sh/ruff/
-       https://github.com/astral-sh/ruff
-"
-SRC_URI="
-       ${CARGO_CRATE_URIS}
-       https://github.com/astral-sh/ruff/archive/refs/tags/${PV}.tar.gz -> 
${P}.gh.tar.gz
-       
https://github.com/gentoo-crate-dist/${PN}/releases/download/${PV}/${P}-crates.tar.xz
-"
-
-LICENSE="MIT"
-# Dependent crate licenses
-LICENSE+="
-       Apache-2.0 BSD CC0-1.0 ISC MIT MPL-2.0 PSF-2 Unicode-3.0
-       Unicode-DFS-2016 WTFPL-2 ZLIB
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~loong ~riscv"
-
-RDEPEND="
-       !elibc_musl? ( !elibc_Darwin? ( !elibc_bionic? ( dev-libs/jemalloc:= ) 
) )
-       app-arch/zstd
-"
-DEPEND="
-       ${RDEPEND}
-"
-
-QA_FLAGS_IGNORED="usr/bin/.*"
-
-DOCS=(
-       BREAKING_CHANGES.md
-       CODE_OF_CONDUCT.md
-       CONTRIBUTING.md
-       README.md
-       assets
-       docs
-)
-
-src_prepare() {
-       default
-
-       # Experimental cruft cleaner. These crates are not used by the ruff 
binary,
-       # and when they are removed in the git repo, the lockfile is regenerated
-       # and gets quite a bit smaller. Hence pycargoebuild also produces much
-       # smaller CRATES= variables. Less for the user to download, fewer 
distfiles
-       # to mirror.
-       pushd crates >/dev/null || die
-       rm -r ruff_{benchmark,dev} 
ty{,_{ide,project,server,completion_eval,combine}} *_wasm || die
-       popd > /dev/null || die
-
-       # tests that hang in the ebuild environment
-       rm crates/ruff_annotate_snippets/tests/examples.rs || die
-}
-
-src_configure() {
-       export RUSTFLAGS="${RUSTFLAGS}"
-       cargo_src_configure
-}
-
-src_compile() {
-       local -x ZSTD_SYS_USE_PKG_CONFIG=1
-       # Gentoo bug #927338
-       if use !elibc_musl && use !elibc_Darwin && use !elibc_bionic; then
-               local -x 
CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1
-               local -x 
JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)"/libjemalloc.so
-       fi
-       cargo_src_compile --bin ruff
-
-       local releasedir
-       releasedir=$(cargo_target_dir)
-
-       ${releasedir}/ruff generate-shell-completion bash > 
ruff-completion.bash || die
-       ${releasedir}/ruff generate-shell-completion fish > 
ruff-completion.fish || die
-       ${releasedir}/ruff generate-shell-completion zsh > ruff-completion.zsh 
|| die
-}
-
-src_test() {
-       local -x ZSTD_SYS_USE_PKG_CONFIG=1
-       # Gentoo bug #927338
-       if use !elibc_musl && use !elibc_Darwin && use !elibc_bionic; then
-               local -x 
CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1
-               local -x 
JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)"/libjemalloc.so
-       fi
-       cargo_src_test --target-dir "${PWD}"/tested-target/
-}
-
-src_install() {
-       local releasedir=$(cargo_target_dir)
-
-       dobin ${releasedir}/ruff
-
-       newbashcomp ruff-completion.bash ruff
-       newfishcomp ruff-completion.fish ruff.fish
-       newzshcomp ruff-completion.zsh _ruff
-
-       dodoc -r "${DOCS[@]}"
-}

diff --git a/dev-util/ruff/ruff-0.14.11.ebuild 
b/dev-util/ruff/ruff-0.14.11.ebuild
deleted file mode 100644
index 6168c3b9d3e7..000000000000
--- a/dev-util/ruff/ruff-0.14.11.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 2024-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Autogenerated by pycargoebuild 0.15.0
-
-EAPI=8
-
-CRATES="
-"
-
-declare -A GIT_CRATES=(
-       
[lsp-types]='https://github.com/astral-sh/lsp-types;3512a9f33eadc5402cfab1b8f7340824c8ca1439;lsp-types-%commit%'
-       
[salsa-macro-rules]='https://github.com/salsa-rs/salsa;309c249088fdeef0129606fa34ec2eefc74736ff;salsa-%commit%/components/salsa-macro-rules'
-       
[salsa-macros]='https://github.com/salsa-rs/salsa;309c249088fdeef0129606fa34ec2eefc74736ff;salsa-%commit%/components/salsa-macros'
-       
[salsa]='https://github.com/salsa-rs/salsa;309c249088fdeef0129606fa34ec2eefc74736ff;salsa-%commit%'
-)
-
-RUST_MIN_VER="1.90.0"
-
-inherit shell-completion cargo
-
-DESCRIPTION="An extremely fast Python linter, written in Rust"
-HOMEPAGE="
-       https://docs.astral.sh/ruff/
-       https://github.com/astral-sh/ruff
-"
-SRC_URI="
-       ${CARGO_CRATE_URIS}
-       https://github.com/astral-sh/ruff/archive/refs/tags/${PV}.tar.gz -> 
${P}.gh.tar.gz
-       
https://github.com/gentoo-crate-dist/${PN}/releases/download/${PV}/${P}-crates.tar.xz
-"
-
-LICENSE="MIT"
-# Dependent crate licenses
-LICENSE+="
-       Apache-2.0 BSD CC0-1.0 ISC MIT MPL-2.0 PSF-2 Unicode-3.0
-       Unicode-DFS-2016 WTFPL-2 ZLIB
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~loong ~riscv"
-
-RDEPEND="
-       !elibc_musl? ( !elibc_Darwin? ( !elibc_bionic? ( dev-libs/jemalloc:= ) 
) )
-       app-arch/zstd
-"
-DEPEND="
-       ${RDEPEND}
-"
-
-QA_FLAGS_IGNORED="usr/bin/.*"
-
-DOCS=(
-       BREAKING_CHANGES.md
-       CODE_OF_CONDUCT.md
-       CONTRIBUTING.md
-       README.md
-       assets
-       docs
-)
-
-src_prepare() {
-       default
-
-       # Experimental cruft cleaner. These crates are not used by the ruff 
binary,
-       # and when they are removed in the git repo, the lockfile is regenerated
-       # and gets quite a bit smaller. Hence pycargoebuild also produces much
-       # smaller CRATES= variables. Less for the user to download, fewer 
distfiles
-       # to mirror.
-       pushd crates >/dev/null || die
-       rm -r ruff_{benchmark,dev} ty{,_{ide,project,server,completion_eval}} 
*_wasm || die
-       popd > /dev/null || die
-
-       # tests that hang in the ebuild environment
-       rm crates/ruff_annotate_snippets/tests/examples.rs || die
-}
-
-src_configure() {
-       export RUSTFLAGS="${RUSTFLAGS}"
-       cargo_src_configure
-}
-
-src_compile() {
-       local -x ZSTD_SYS_USE_PKG_CONFIG=1
-       # Gentoo bug #927338
-       if use !elibc_musl && use !elibc_Darwin && use !elibc_bionic; then
-               local -x 
CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1
-               local -x 
JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)"/libjemalloc.so
-       fi
-       cargo_src_compile --bin ruff
-
-       local releasedir
-       releasedir=$(cargo_target_dir)
-
-       ${releasedir}/ruff generate-shell-completion bash > 
ruff-completion.bash || die
-       ${releasedir}/ruff generate-shell-completion fish > 
ruff-completion.fish || die
-       ${releasedir}/ruff generate-shell-completion zsh > ruff-completion.zsh 
|| die
-}
-
-src_test() {
-       local -x ZSTD_SYS_USE_PKG_CONFIG=1
-       # Gentoo bug #927338
-       if use !elibc_musl && use !elibc_Darwin && use !elibc_bionic; then
-               local -x 
CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1
-               local -x 
JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)"/libjemalloc.so
-       fi
-       cargo_src_test --target-dir "${PWD}"/tested-target/
-}
-
-src_install() {
-       local releasedir=$(cargo_target_dir)
-
-       dobin ${releasedir}/ruff
-
-       newbashcomp ruff-completion.bash ruff
-       newfishcomp ruff-completion.fish ruff.fish
-       newzshcomp ruff-completion.zsh _ruff
-
-       dodoc -r "${DOCS[@]}"
-}

diff --git a/dev-util/ruff/ruff-0.15.0.ebuild b/dev-util/ruff/ruff-0.15.0.ebuild
deleted file mode 100644
index 27c1e2a1ae91..000000000000
--- a/dev-util/ruff/ruff-0.15.0.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 2024-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Autogenerated by pycargoebuild 0.15.1
-
-EAPI=8
-
-CRATES="
-"
-
-declare -A GIT_CRATES=(
-       
[lsp-types]='https://github.com/astral-sh/lsp-types;3512a9f33eadc5402cfab1b8f7340824c8ca1439;lsp-types-%commit%'
-       
[salsa-macro-rules]='https://github.com/salsa-rs/salsa;e9b9ddd4bec50ac777e9353bbb8f1180e5669d89;salsa-%commit%/components/salsa-macro-rules'
-       
[salsa-macros]='https://github.com/salsa-rs/salsa;e9b9ddd4bec50ac777e9353bbb8f1180e5669d89;salsa-%commit%/components/salsa-macros'
-       
[salsa]='https://github.com/salsa-rs/salsa;e9b9ddd4bec50ac777e9353bbb8f1180e5669d89;salsa-%commit%'
-)
-
-RUST_MIN_VER="1.91.0"
-
-inherit shell-completion cargo
-
-DESCRIPTION="An extremely fast Python linter, written in Rust"
-HOMEPAGE="
-       https://docs.astral.sh/ruff/
-       https://github.com/astral-sh/ruff
-"
-SRC_URI="
-       ${CARGO_CRATE_URIS}
-       https://github.com/astral-sh/ruff/archive/refs/tags/${PV}.tar.gz -> 
${P}.gh.tar.gz
-       
https://github.com/gentoo-crate-dist/${PN}/releases/download/${PV}/${P}-crates.tar.xz
-"
-
-LICENSE="MIT"
-# Dependent crate licenses
-LICENSE+="
-       Apache-2.0 BSD CC0-1.0 ISC MIT MPL-2.0 PSF-2 Unicode-3.0
-       Unicode-DFS-2016 WTFPL-2 ZLIB
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~loong ~riscv"
-
-RDEPEND="
-       !elibc_musl? ( !elibc_Darwin? ( !elibc_bionic? ( dev-libs/jemalloc:= ) 
) )
-       app-arch/zstd
-"
-DEPEND="
-       ${RDEPEND}
-"
-
-QA_FLAGS_IGNORED="usr/bin/.*"
-
-DOCS=(
-       BREAKING_CHANGES.md
-       CODE_OF_CONDUCT.md
-       CONTRIBUTING.md
-       README.md
-       assets
-       docs
-)
-
-src_prepare() {
-       default
-
-       # Experimental cruft cleaner. These crates are not used by the ruff 
binary,
-       # and when they are removed in the git repo, the lockfile is regenerated
-       # and gets quite a bit smaller. Hence pycargoebuild also produces much
-       # smaller CRATES= variables. Less for the user to download, fewer 
distfiles
-       # to mirror.
-       pushd crates >/dev/null || die
-       rm -r ruff_{benchmark,dev} ty{,_{server,completion_eval}} *_wasm || die
-       popd > /dev/null || die
-
-       # tests that hang in the ebuild environment
-       rm crates/ruff_annotate_snippets/tests/examples.rs || die
-}
-
-src_configure() {
-       export RUSTFLAGS="${RUSTFLAGS}"
-       cargo_src_configure
-}
-
-src_compile() {
-       local -x ZSTD_SYS_USE_PKG_CONFIG=1
-       # Gentoo bug #927338
-       if use !elibc_musl && use !elibc_Darwin && use !elibc_bionic; then
-               local -x 
CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1
-               local -x 
JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)"/libjemalloc.so
-       fi
-       cargo_src_compile --bin ruff
-
-       local releasedir
-       releasedir=$(cargo_target_dir)
-
-       ${releasedir}/ruff generate-shell-completion bash > 
ruff-completion.bash || die
-       ${releasedir}/ruff generate-shell-completion fish > 
ruff-completion.fish || die
-       ${releasedir}/ruff generate-shell-completion zsh > ruff-completion.zsh 
|| die
-}
-
-src_test() {
-       local -x ZSTD_SYS_USE_PKG_CONFIG=1
-       # Gentoo bug #927338
-       if use !elibc_musl && use !elibc_Darwin && use !elibc_bionic; then
-               local -x 
CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1
-               local -x 
JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)"/libjemalloc.so
-       fi
-       cargo_src_test --target-dir "${PWD}"/tested-target/
-}
-
-src_install() {
-       local releasedir=$(cargo_target_dir)
-
-       dobin ${releasedir}/ruff
-
-       newbashcomp ruff-completion.bash ruff
-       newfishcomp ruff-completion.fish ruff.fish
-       newzshcomp ruff-completion.zsh _ruff
-
-       dodoc -r "${DOCS[@]}"
-}

Reply via email to