commit: 8ccabadd7112f4f069ea0f19ed762568100fe6e2 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> AuthorDate: Fri Oct 31 17:30:45 2025 +0000 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> CommitDate: Fri Oct 31 17:30:45 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ccabadd
dev-util/ruff: drop 0.12.4, 0.12.12, 0.13.2, 0.14.0 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> dev-util/ruff/Manifest | 10 ---- dev-util/ruff/ruff-0.12.12.ebuild | 117 -------------------------------------- dev-util/ruff/ruff-0.12.4.ebuild | 116 ------------------------------------- dev-util/ruff/ruff-0.13.2.ebuild | 117 -------------------------------------- dev-util/ruff/ruff-0.14.0.ebuild | 117 -------------------------------------- 5 files changed, 477 deletions(-) diff --git a/dev-util/ruff/Manifest b/dev-util/ruff/Manifest index f8fb1f321178..085146f9bdcd 100644 --- a/dev-util/ruff/Manifest +++ b/dev-util/ruff/Manifest @@ -1,23 +1,13 @@ DIST lsp-types-3512a9f33eadc5402cfab1b8f7340824c8ca1439.gh.tar.gz 71124 BLAKE2B b2ea1c8fdd96dcc78ea48be71d1a4870fe1ff7f6a03dfe96479e0cba5f6b13ea68381d0a85fcb79a1ec2345eab7032c76cf567a813885128f94ac0c47c3de7bf SHA512 3362f9db4e78261825ae17b3429f9c54dc1b32a8b6a275ecff7bbe457c610d27ac37e68be3e9e27378f5f54c786dee787fd87b33c102f2507a46cf7290390ab5 -DIST ruff-0.12.12-crates.tar.xz 22154512 BLAKE2B 66737f8b22d10a71cbd62c5817c4c444b762f72b78ae6e1fb1512387ee62832e75726438526981304382659920bcbcdc1779de2592a5e9a7b1b58129c43809eb SHA512 a789175ed6dbe408a0aa7aaabcb3f0d1401aa7d4050c270325d133c941bcfbe6e61e58887e2833199c2207a376625d740a1f572ac122f5c9c3d778605be90bf3 -DIST ruff-0.12.12.gh.tar.gz 7927550 BLAKE2B 91717175fa6712380b703e816c42836d152268d1a2f6d3a4014898c3a38c1d74156d3d24a26426ef502bdf7f8fe734dc81652b964d864d583b84110686cb2f43 SHA512 f559610c424c11c202ea3aa1b9e4726273927d11ecd26d4055253fa2a85f3ccbfe1d8e654d09fac526ab8c7ff9531a74f10fb975dc68036b76dc4ab969c9f7c8 -DIST ruff-0.12.4-crates.tar.xz 25059288 BLAKE2B 8ca959d5db508199a4ca65b6ba5c7610eb4d78d74fc0d3a1b7f5d6a27a26d072b9b84506db02514b2cc176c5263950b6ed2fa11fc4d5c0b1bc03cf308a61e0cd SHA512 34ca78c9d40a92a88638e3bb74ab909044a9806ec7524ab3144bc057f2621ed39e53bbf51ea3994d2f386216f280175393a5cf5f5469bf591fa295b7b4e12cc4 -DIST ruff-0.12.4.gh.tar.gz 7642686 BLAKE2B d4c6b8481fa387371d906be2f08870af61dc21cc773e4bb5578fba92bc19e0e8ebbe745833da20bad23af2413c46bbd73cf583e7b0a4b9b0f938f09b21536840 SHA512 8a41d1d9632f8e90822032881dca066797b781a3f82c898d74859235b6f31a9ad97e342c95d8af8dd7e498a75a769aecbd2dfea706beb836f5d35d657b6e1920 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.13.2-crates.tar.xz 22354868 BLAKE2B df4e5318147e4dac6394047e94cd5e1cd6c3a27e773e82a3df0196dc6f1ff8cf73dc6cf0fb6400dc3779c6be7cf37ed887a56f32a39d25945297f247db153b93 SHA512 1cbbc0b8d7d70cc5fdb05bc47dda0e42f937a24e0df72ba2dfb91656df4ffd58a964eb85993b2bc084c4126333c06c7fe8a192a557f78033f973299679fc513c -DIST ruff-0.13.2.gh.tar.gz 8019386 BLAKE2B db3a8b0b4b2853581416a58506dbd41e8dab807e1dd835362c44b7e5d78e246acf6a239edda49454ab161a16ecbad4b5c1832335a0423195bc8d64a17c8c4ca4 SHA512 53d85bdf0e21835222f7db48d9f90c9d4c770639939b020bf705855739d60058456f0365e866ff3272f759c5310308dad18bcb70df5b143bb5d03fa50cda856b DIST ruff-0.13.3-crates.tar.xz 22354868 BLAKE2B df4e5318147e4dac6394047e94cd5e1cd6c3a27e773e82a3df0196dc6f1ff8cf73dc6cf0fb6400dc3779c6be7cf37ed887a56f32a39d25945297f247db153b93 SHA512 1cbbc0b8d7d70cc5fdb05bc47dda0e42f937a24e0df72ba2dfb91656df4ffd58a964eb85993b2bc084c4126333c06c7fe8a192a557f78033f973299679fc513c DIST ruff-0.13.3.gh.tar.gz 8042833 BLAKE2B 39c5848c954e32cfecf4a7ac9a82d4403a722a770a952c889d2bccc3799c0509492744f028fbe066b531c2157e68eabb92d5270bf7991014df4c862ea5be68a0 SHA512 8239f609814d8e3dd2964e7f9e3a130e588acec6a9aec0e7cce863f3cbb851fe323e6e138aa3f4d549a158164482a9f19993d73b60e3fc11614998d92a80deae -DIST ruff-0.14.0-crates.tar.xz 22354868 BLAKE2B df4e5318147e4dac6394047e94cd5e1cd6c3a27e773e82a3df0196dc6f1ff8cf73dc6cf0fb6400dc3779c6be7cf37ed887a56f32a39d25945297f247db153b93 SHA512 1cbbc0b8d7d70cc5fdb05bc47dda0e42f937a24e0df72ba2dfb91656df4ffd58a964eb85993b2bc084c4126333c06c7fe8a192a557f78033f973299679fc513c -DIST ruff-0.14.0.gh.tar.gz 8067779 BLAKE2B d6f25fe93de29b53f257d93a44ddf25e76973d90c340614857c720d9138ef708aec6bbc7890ada18223c30389d1a463a1a787350b96dc459c3f94605b3b8f4a6 SHA512 75fa4a34bb309044b7853f7c69d9dfbfc32683c076e0045688c369aff988c6ed48153d2e53b262869486dcb50b0b3cd560258361c5a7d4b3ca116d7785f3e632 DIST ruff-0.14.2-crates.tar.xz 23442964 BLAKE2B 08fe3eb5537bd4c7eaa085d28fece4d577721758d9146af245c73085799d0872f2db57421960c764960ebd7350e6e52561f21ce11d4e788c39bd136a8199f2b8 SHA512 0e400b252251402ad06ea62b81b83cab0ba4b32e63bc09a03ffbf510ce1549ad9aebf06640260096e382f8f7f6684e660468878dcaebfe3cc2a32dc97539089f DIST ruff-0.14.2.gh.tar.gz 8203745 BLAKE2B 9a56250b614ff39267aad0af2575a64af8f4ffcab2f77f99e25940aad7fe292f9463a0934b7e310ac05a4819a0b45a0a4e5589b68beb9ab17a7c1a3a29e5dc61 SHA512 d94da568add3f12305d2c9ea4c8f15bb4ec785134417355ee214ca8fd56e831edc98c3e070263f4b4e4cf05ec390b8d1fc9d182ed1a37012c1f8101df86c3ba6 DIST ruff-0.14.3-crates.tar.xz 23444028 BLAKE2B cf64890f6e39e3ec11ad68dbb961740f3151cb635e64a0bebadaca652de63834d59f59b587dbdc574242035fafa57d50db2b1c17b8e34aeca05507b53022802f SHA512 a5a135cf34114997a350b9509db6f85d254c3e984cd571ba768328776c21e3624afc5b497e17131040e4aaf18b0ea83fe990e559b0074f1f96bab958d1e4b60f DIST ruff-0.14.3.gh.tar.gz 8233440 BLAKE2B 4b2b36345284696f02d518aa74239ebc72338a67ce1c5c158a5beaf382e956703dc1242b10dc1f4bfe38b4e9418d64215fce8b94fcdfa114ec8a6a9997c17ad8 SHA512 13f8ca38d6a6c9aff6e96f0f3af22b3d931b636779fad4b6353de348016f0e04153e3780377a36220514fc7172d81ed584870a861bbc3d9456d2902f2871f90d DIST salsa-29ab321b45d00daa4315fa2a06f7207759a8c87e.gh.tar.gz 718322 BLAKE2B 7cd6eb8f7d2c9fc473e516384f83b8217288397cc051c644264de28eec531447c45ca875e3059ed65ebbe578f51bf223ebb4f59ab057cf1930d920b834dec549 SHA512 d8f500352923dcc233c05e25c81008ba94c5529e2e41421d701027f97509281d6ff42c5f0084459a5aa21c817a66f5f9956f3cca24467fec04b1383221778ed5 DIST salsa-3713cd7eb30821c0c086591832dd6f59f2af7fe7.gh.tar.gz 717350 BLAKE2B 3db412c1ce2953fdde9f182e9611d8dfe09b197be36c69ebf77344fbdf1efb542b94ca61c5cbcc39fdb3df8ec1e374d19e1e1116174f63f907e28b51f14f19cf SHA512 49bcdede05f7f681d075739b685e1807e978d8160374b2d6176246b90255d72c202205e7591af76ce362706793ca8c15f1a3854849c63b466313eaf363ad8c61 -DIST salsa-a3ffa22cb26756473d56f867aedec3fd907c4dd9.gh.tar.gz 717383 BLAKE2B 3dbd07dce9ef787cecf13edd0134a320067eb785a7f69d283acbfb4ebd40159a7fb34f21d43a179dc9299887120fc6e5199cb423fa749ec3710f30c22e5a7df5 SHA512 0eed423967740cc86ecf31a2a3b8667ec520965e364faa768d814c2434591c9f7bd3e697697108a3fa9512c8834b2c3b3a1db1a1ec0ab23558cf7395d47c2d51 DIST salsa-cdd0b85516a52c18b8a6d17a2279a96ed6c3e198.gh.tar.gz 730054 BLAKE2B 55d6bf61071490d7d8611ae469605d2c3faf960349a5cdf1f1e7b7cf68c5dc252eec61aa58a5d329748bf68f5a12a5c59be50b09cc75b930c42389d60a537c36 SHA512 ce5344897b5ade4cfcbe3c2edb53c5fe2fd1711f153bdf10d3221124077782a0f4e5872191d2c2b3a1b086118f656a58b97854dccf1d04ddc9e900b5ba8ed647 DIST salsa-d38145c29574758de7ffbe8a13cd4584c3b09161.gh.tar.gz 729199 BLAKE2B facb8bf224a4be3cb9f3584331482fe32e37e9d4b0807903f162a72f65a78f0829c76df6b1c9ebedb4b463ed053709b1fa5e6ab375c8c567e3d89b7ea10abc56 SHA512 c715d96e0236b6c30a97988d3a9f753e6e782b7cc50bb7a5e190a39e1a03f2721126da18e959f6e7111981b3b1fb76d630af9952c494c482502088efa1ed48e6 -DIST salsa-fc00eba89e5dcaa5edba51c41aa5f309b5cb126b.gh.tar.gz 684112 BLAKE2B 624720fd4887982ef6da5b69dcc81a7290f791267d6915e636a8ade13663d670f34ee2a4492e13c7ea8a6f611a61b08ec31c34c9a4accf57a11d135fc17ae2ea SHA512 6f2f3b3d5fb20d863d0c661a1d4f2076591ab97b3c435f3eb4f22d9065a36800fbe617eaf6086682ab3eba38580ef08adb512bd72b40129b3b698ea00430675d diff --git a/dev-util/ruff/ruff-0.12.12.ebuild b/dev-util/ruff/ruff-0.12.12.ebuild deleted file mode 100644 index 75f7043a748d..000000000000 --- a/dev-util/ruff/ruff-0.12.12.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 2024-2025 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;a3ffa22cb26756473d56f867aedec3fd907c4dd9;salsa-%commit%/components/salsa-macro-rules' - [salsa-macros]='https://github.com/salsa-rs/salsa;a3ffa22cb26756473d56f867aedec3fd907c4dd9;salsa-%commit%/components/salsa-macros' - [salsa]='https://github.com/salsa-rs/salsa;a3ffa22cb26756473d56f867aedec3fd907c4dd9;salsa-%commit%' -) - -RUST_MIN_VER="1.87.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}} *_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 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 - newzshcomp ruff-completion.zsh _ruff - - dodoc -r "${DOCS[@]}" -} diff --git a/dev-util/ruff/ruff-0.12.4.ebuild b/dev-util/ruff/ruff-0.12.4.ebuild deleted file mode 100644 index 19952d9ef40d..000000000000 --- a/dev-util/ruff/ruff-0.12.4.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 2024-2025 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;fc00eba89e5dcaa5edba51c41aa5f309b5cb126b;salsa-%commit%/components/salsa-macro-rules' - [salsa-macros]='https://github.com/salsa-rs/salsa;fc00eba89e5dcaa5edba51c41aa5f309b5cb126b;salsa-%commit%/components/salsa-macros' - [salsa]='https://github.com/salsa-rs/salsa;fc00eba89e5dcaa5edba51c41aa5f309b5cb126b;salsa-%commit%' -) - -RUST_MIN_VER="1.86.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}} *_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 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 - newzshcomp ruff-completion.zsh _ruff - - dodoc -r "${DOCS[@]}" -} diff --git a/dev-util/ruff/ruff-0.13.2.ebuild b/dev-util/ruff/ruff-0.13.2.ebuild deleted file mode 100644 index 53daaff0e873..000000000000 --- a/dev-util/ruff/ruff-0.13.2.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 2024-2025 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;29ab321b45d00daa4315fa2a06f7207759a8c87e;salsa-%commit%/components/salsa-macro-rules' - [salsa-macros]='https://github.com/salsa-rs/salsa;29ab321b45d00daa4315fa2a06f7207759a8c87e;salsa-%commit%/components/salsa-macros' - [salsa]='https://github.com/salsa-rs/salsa;29ab321b45d00daa4315fa2a06f7207759a8c87e;salsa-%commit%' -) - -RUST_MIN_VER="1.88.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}} *_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 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 - newzshcomp ruff-completion.zsh _ruff - - dodoc -r "${DOCS[@]}" -} diff --git a/dev-util/ruff/ruff-0.14.0.ebuild b/dev-util/ruff/ruff-0.14.0.ebuild deleted file mode 100644 index 53daaff0e873..000000000000 --- a/dev-util/ruff/ruff-0.14.0.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 2024-2025 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;29ab321b45d00daa4315fa2a06f7207759a8c87e;salsa-%commit%/components/salsa-macro-rules' - [salsa-macros]='https://github.com/salsa-rs/salsa;29ab321b45d00daa4315fa2a06f7207759a8c87e;salsa-%commit%/components/salsa-macros' - [salsa]='https://github.com/salsa-rs/salsa;29ab321b45d00daa4315fa2a06f7207759a8c87e;salsa-%commit%' -) - -RUST_MIN_VER="1.88.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}} *_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 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 - newzshcomp ruff-completion.zsh _ruff - - dodoc -r "${DOCS[@]}" -}
