commit: 4017831678a06adc3ab33ab91ab160ad34c6d204 Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Mon Aug 11 05:40:17 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Thu Aug 14 05:01:56 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40178316
dev-util/ruff: drop old Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> dev-util/ruff/Manifest | 5 -- dev-util/ruff/ruff-0.11.13.ebuild | 116 -------------------------------------- dev-util/ruff/ruff-0.12.2.ebuild | 116 -------------------------------------- 3 files changed, 237 deletions(-) diff --git a/dev-util/ruff/Manifest b/dev-util/ruff/Manifest index b538aa6bee0d..4369f1c3e49d 100644 --- a/dev-util/ruff/Manifest +++ b/dev-util/ruff/Manifest @@ -1,8 +1,4 @@ DIST lsp-types-3512a9f33eadc5402cfab1b8f7340824c8ca1439.gh.tar.gz 71124 BLAKE2B b2ea1c8fdd96dcc78ea48be71d1a4870fe1ff7f6a03dfe96479e0cba5f6b13ea68381d0a85fcb79a1ec2345eab7032c76cf567a813885128f94ac0c47c3de7bf SHA512 3362f9db4e78261825ae17b3429f9c54dc1b32a8b6a275ecff7bbe457c610d27ac37e68be3e9e27378f5f54c786dee787fd87b33c102f2507a46cf7290390ab5 -DIST ruff-0.11.13-crates.tar.xz 22946420 BLAKE2B 0f110e6421b1db3bfd43c73b50f926793e04142861099391889a9edbcf90e16ef8b805c124237a86bf7427dd3c4d055782195deabfc43d05cf55e37b0ae34286 SHA512 bd40bc065bc7934636b7282d11cfec77cc8e074ee3150732a9abac6b0cf1c16698d9083736bea65e30851a37caf50493b2c2721c9cfed99a42526de37b05573f -DIST ruff-0.11.13.gh.tar.gz 6667204 BLAKE2B 71f23c2f52c1cd150814a5ffdddbe98b19d8f99ada826149cc35020f1537a8c1f1e8be608db2aacdcfdd8be022856e12daea6afb2c2ecd4b930fdda561e062e8 SHA512 59f898c58e97477eb806a5f7bd5652f75d6d579b8d1daf10a68cadd690ce87c3b3e26adad24d357c4340effbd1ce9e366ff5c616f02909958e942c3a80697664 -DIST ruff-0.12.2-crates.tar.xz 23374644 BLAKE2B a9c83cb54c6c39620c2fdc0d89b6c9b0654ee418be0f952adab01e34f820ffa211cc87faeedd2f6533f1543ae2be7af12e40dcdf9bb763c552d47f98ef8a748a SHA512 6db5c2bc026eef9d5bb36cedbd3652152808d6f8036b6bd3fa29a8091ab34a2bed3c542a668b64edddca180f338281b3a952195ccfa7b0791d5d2baa665f1150 -DIST ruff-0.12.2.gh.tar.gz 6868694 BLAKE2B 351ea14c22d3a23fcf6fa243007c7c1ff4dedcaf3c13384096c479ded343c14ddfb060f31226a32834538cbf9a866a56cbefebb40ee1b59fecda2f4ea48b6aa0 SHA512 5012c1403f3937d0a3aca600e843f8f9c422fdd1892c9997b5f2195ff7c061a6b76b7056aef736e443e7e8761f0a830edc45f78eab6df73028e812c84b5ab92e DIST ruff-0.12.3-crates.tar.xz 25032036 BLAKE2B 95ed0b9cadab1df7d218a118f52378150379036f8fa27019ddde25b9b182cd2279dd926658087306f93e11334b561ca05a612e5faf47083576739d5b04dc6bde SHA512 5235b6fc9eb5d45180da4cb1c19283396a15e32bd39d5bb4933550fcea5505479bb4ae3dff203dccb900632937b96355d4371ba117f2a3d0235bfd6e4125e959 DIST ruff-0.12.3.gh.tar.gz 6944457 BLAKE2B a3521dcc72d162dc25be352dcb40935260f65580dcb3a107cdfef91ad95e950cc603a0bc2e5f228bb522174364ad615cdaac3a02a60ec02d1157ed06ac9cd43d SHA512 f9a9f84f96a4af49fcab8555057f5ed5ea1925a367ad2511681826392d0b8b0e0119df0d59c68f3dfffa4d1499c6c94c2bd98b6cc8ff645ff8af17ef4d48d13a DIST ruff-0.12.4-crates.tar.xz 25059288 BLAKE2B 8ca959d5db508199a4ca65b6ba5c7610eb4d78d74fc0d3a1b7f5d6a27a26d072b9b84506db02514b2cc176c5263950b6ed2fa11fc4d5c0b1bc03cf308a61e0cd SHA512 34ca78c9d40a92a88638e3bb74ab909044a9806ec7524ab3144bc057f2621ed39e53bbf51ea3994d2f386216f280175393a5cf5f5469bf591fa295b7b4e12cc4 @@ -11,6 +7,5 @@ DIST ruff-0.12.7-crates.tar.xz 25207576 BLAKE2B 9492638ccec4a7db07e06fa96cebecde DIST ruff-0.12.7.gh.tar.gz 7760229 BLAKE2B 608f2559b9292a8e204e0cdcb19266a98044e45d76d2ad531f4a73f4ec2284216adc2895006577b4f42ee1fee965e91f1460b9cfc43f8623311207ef8b138369 SHA512 86ad98d27f3ccf39b2a66d01b4ac523806ead5e92c2701ca07cdfdf8c352c6d7216e6ace1480639385abf8bfc6d168f07a49a72e5c0b64d22dfe138974cc9e1f DIST ruff-0.12.8-crates.tar.xz 24601864 BLAKE2B 8bca9bd65b7bbfdd66ec8bef5aef9b5b8d4aab09a41bdde97cd05080ca44db53fa055583f1ce30f81a9c9782c278baca1f5cad628b7d299bc736f254e4d2bcbf SHA512 238a39abeab7afede8b2b8260b8166ac9dcd4026a44ed495bb793b238ad3e8b203c8bfeded52bcfe1aac957bcfdf31163b410d00122ca2188732de16e2873e98 DIST ruff-0.12.8.gh.tar.gz 7838556 BLAKE2B 74addbf33eb8658b68a87808c4df5807f197e4d94a7a593c6f1a4f1b81fc065d311c008fa682980dba4926d2235c4b66c92e9ecb9fcdf4decd7d3b58b556217d SHA512 050f215d529dc92a00e4df24ba2cceb0a07108275fb80be9b12e26b89951ab4c6a58661ce86184b839756164fda2bd037cddb6523df2f79ece9d010538975b78 -DIST salsa-0f6d406f6c309964279baef71588746b8c67b4a3.gh.tar.gz 666836 BLAKE2B 48cd0ce679dad8132b2e5b9c249c4c3e2f4da6204497694d4885b0ccc9f2efac96e5b753f6913b021827e7d8c5b00d79986c10d90a5d16b23a8f16ed7cb37350 SHA512 079d70deaf6f34994740067962c064087427f926f80d5e3fa1e8749b5747a9e9544169a748b5de1b9b7308cbbc19ce360fbedad1cead83bc015dd7e9a0a1f229 DIST salsa-dba66f1a37acca014c2402f231ed5b361bd7d8fe.gh.tar.gz 685209 BLAKE2B 6aaea2c8d800e2950fbbfeb2cc30dce5c0aa098e98f88e7cf896af1888c35b2cf1ac6e25d3f7cc6f493effdc7ab007c7e827ba1ffb85cb1ef3575b7815b7178f SHA512 7b77e59d33db8e47b6c72fe7bb94e3cc6ff9e00ab92f786924046a7b7d62386b6806eb5dd3f1f5b34d7326aef661518734fb4e691f18b8ed5aaa738ef9a493c2 DIST salsa-fc00eba89e5dcaa5edba51c41aa5f309b5cb126b.gh.tar.gz 684112 BLAKE2B 624720fd4887982ef6da5b69dcc81a7290f791267d6915e636a8ade13663d670f34ee2a4492e13c7ea8a6f611a61b08ec31c34c9a4accf57a11d135fc17ae2ea SHA512 6f2f3b3d5fb20d863d0c661a1d4f2076591ab97b3c435f3eb4f22d9065a36800fbe617eaf6086682ab3eba38580ef08adb512bd72b40129b3b698ea00430675d diff --git a/dev-util/ruff/ruff-0.11.13.ebuild b/dev-util/ruff/ruff-0.11.13.ebuild deleted file mode 100644 index 411e608b28dc..000000000000 --- a/dev-util/ruff/ruff-0.11.13.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/carljm/salsa;0f6d406f6c309964279baef71588746b8c67b4a3;salsa-%commit%/components/salsa-macro-rules' - [salsa-macros]='https://github.com/carljm/salsa;0f6d406f6c309964279baef71588746b8c67b4a3;salsa-%commit%/components/salsa-macros' - [salsa]='https://github.com/carljm/salsa;0f6d406f6c309964279baef71588746b8c67b4a3;salsa-%commit%' -) - -RUST_MIN_VER="1.85.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} *_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.2.ebuild b/dev-util/ruff/ruff-0.12.2.ebuild deleted file mode 100644 index 7dc607f99f65..000000000000 --- a/dev-util/ruff/ruff-0.12.2.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.85.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} *_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[@]}" -}
