commit: a64b3fff37640288fff44e49a24709f90074ff01 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> AuthorDate: Thu May 15 18:38:45 2025 +0000 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> CommitDate: Thu May 15 18:38:55 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a64b3fff
dev-util/ruff: drop 0.9.9, 0.9.10, 0.11.0, 0.11.1, 0.11.2, 0.11.6 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> dev-util/ruff/Manifest | 15 ----- dev-util/ruff/ruff-0.11.0.ebuild | 117 --------------------------------------- dev-util/ruff/ruff-0.11.1.ebuild | 117 --------------------------------------- dev-util/ruff/ruff-0.11.2.ebuild | 117 --------------------------------------- dev-util/ruff/ruff-0.11.6.ebuild | 117 --------------------------------------- dev-util/ruff/ruff-0.9.10.ebuild | 117 --------------------------------------- dev-util/ruff/ruff-0.9.9.ebuild | 117 --------------------------------------- 7 files changed, 717 deletions(-) diff --git a/dev-util/ruff/Manifest b/dev-util/ruff/Manifest index e0fa0d3f78cf..ea525ac5112c 100644 --- a/dev-util/ruff/Manifest +++ b/dev-util/ruff/Manifest @@ -1,22 +1,7 @@ DIST lsp-types-3512a9f33eadc5402cfab1b8f7340824c8ca1439.gh.tar.gz 71124 BLAKE2B b2ea1c8fdd96dcc78ea48be71d1a4870fe1ff7f6a03dfe96479e0cba5f6b13ea68381d0a85fcb79a1ec2345eab7032c76cf567a813885128f94ac0c47c3de7bf SHA512 3362f9db4e78261825ae17b3429f9c54dc1b32a8b6a275ecff7bbe457c610d27ac37e68be3e9e27378f5f54c786dee787fd87b33c102f2507a46cf7290390ab5 -DIST ruff-0.11.0-crates.tar.xz 30398396 BLAKE2B 1aae76f5b2efeb8725ab938efa5000d9a4c592416bfa7fab119d343db55e45fd149208f05147d7e5c79b2a5709a5a1eea3f365910989f4d043c6d80a3c38fadf SHA512 61eaf83a4ca4b6090b91935e4592d16a6f2c233ab06bf59061490b8a8f720b53a5693bf25aa92588d0d4dc8ea7db2ccf049f60c95994d2564064253e3c5ac153 -DIST ruff-0.11.0.gh.tar.gz 6021690 BLAKE2B 5e510b5c43356149b2e5f2ba3e209b60afbc233ae98296bf26cfeb24f798a9f27583842070a658673ac13a27098af06ca23877099ba340f6c1d11ea597f54e75 SHA512 17e0c8976cc4e55f95450a3a56ec7629071255b9259e9ba127e48464b8e7d3b2e3d5d1f65d4591522246fccca202a24e50c0a1f7508ddc00d1681be9b752039c -DIST ruff-0.11.1-crates.tar.xz 31005660 BLAKE2B a889c88f196f7fb306a171ef6970aa4282f612842e6c8cf3c6e439924993ef074ad0258b5284f7cc8f1642b3ca85f944f39dd4eed73a12bbebd1da0f56b5ffbd SHA512 a43744e11b7ddbeca340639ac07ae1384b1932abe8f70fe9e8243088df4c1958da52f60d94496763d1b260ef67f2ae30622aa9c10aa54aa472834ec507164fed -DIST ruff-0.11.1.gh.tar.gz 6104672 BLAKE2B ee2e85f88645ebd089e35053cacc4ebf8698382c2d69200fa45fed407d4ad66bda7cff48e05cd25429366e5474cea9e89229e56b4029955a63c8512691332d4f SHA512 7ccb4535738fbe3e3f199783aaae6cbd6b2710a1eaeddcb7685648632fa89d3a2163055ab174e3855e566c31eb34834e44a7805053d108fffd0cbee3154132a2 DIST ruff-0.11.10-crates.tar.xz 31346424 BLAKE2B b8cdbe8d208c47c95905e78aa427fc5d6f91e558408248ea38302c60f41b60fed21ca4c29771b1cd132d29ba20253d81427ca62c0adc642432478fa8e99153c4 SHA512 0301a12faec221a44719815c407cfb4b2943e7cf21f2174bc06d970abbd47588a9b3a91c5e5dc54e1a03668b63a9920b25d3011b05019d079087742769d33146 DIST ruff-0.11.10.gh.tar.gz 6510508 BLAKE2B dc664bce0460e087ef9ca73802b1f369216532541b0e2fa9fa4ff36e13b20e8ab217af702fa32c9687ab0c6a0a221161ba57e280573eb9cc824ee55ce149773d SHA512 7f2e2fbdb3dd15fe7e690755c446ea9872368525910e798388aa847e1261c5ee9865a1876e5a8076b941eac08e0539153ee5b42f8df0a483a9d585b64d8c0988 -DIST ruff-0.11.2-crates.tar.xz 31005660 BLAKE2B a889c88f196f7fb306a171ef6970aa4282f612842e6c8cf3c6e439924993ef074ad0258b5284f7cc8f1642b3ca85f944f39dd4eed73a12bbebd1da0f56b5ffbd SHA512 a43744e11b7ddbeca340639ac07ae1384b1932abe8f70fe9e8243088df4c1958da52f60d94496763d1b260ef67f2ae30622aa9c10aa54aa472834ec507164fed -DIST ruff-0.11.2.gh.tar.gz 6112972 BLAKE2B 7c28b53b8877c95ad4a36ad9c7e672f5ab65b8774b1406f1582f337fdfd2255896929a4ed75911b0f1f9a730cc5f8ab39ec2756487944570787be133db47177a SHA512 42a15110d74f51d706459760dc57f1363629b689cd21427d7c65c1541cb1df2cd5467fec6941ef3cd9f8818fc6d0d57d3300abec4cbb39d4cfe37031fd5fecee -DIST ruff-0.11.6-crates.tar.xz 31148052 BLAKE2B 72166185a639c5fafb2a88fef610cd5e6056f8461c2fa2a872b1e45687d03a060b41e2cd180e765be6ae48dac10484da1d8f0dae435c10e686eccfebb0e06c62 SHA512 4be9d175501d66c4f0be71cb63294b42f3e241ab324b5167bdf2f6a25a4b9e9583ae8ea371f268ad29f6b80d1656ba75df53e9f45c199f19dd389b95084cd57f -DIST ruff-0.11.6.gh.tar.gz 6304747 BLAKE2B 433128df099513471e1ec17493eb7d8fd379acc142d884751c67c01d4b97fba8a269b8d607378d0de05e027ebb52749297f792c61618f682295d99e5594cc49f SHA512 ce7d4016d663d9a71cc68c2b39c5bdbdd3f73354f8a9f69c4734494c5e4a024bcf4d7f7b5f6eadf9ecd280ef59193cb85e5507f0e1560554db31d76146366927 DIST ruff-0.11.7-crates.tar.xz 31153356 BLAKE2B b0c828ba0025ed2f6fb1bb4ae7371aaeec2d70bcff3622a5db7f14bb93df67ea696262442744ce42cabf1db99cf81ee09edc6f6bc26708ba5b3962b9a1ec376b SHA512 8d8de54085f239ce35576b1cddde22f8f82317ec880375b6335d12584bdc123be89b63fc5929663ae1da3bdc8d36d97e4c1281d1ae4cba103dcb36ad718fdee3 DIST ruff-0.11.7.gh.tar.gz 6353627 BLAKE2B 98eddf4be944b971a45ed88d15c8c708a84919c95a4bf5b9cbbe118c807c49fec238f066c94933ff6127725a5d4304451c4c2642c997963343e7e881c2d190b5 SHA512 8174522594c7e8eecd197e707b97de914fa6a1cae6e25bf2b511942a50af0cf962f4c57b67d4f8ffd0487f842e30fbe5947d727d44e3105e7f5f140bf5066207 -DIST ruff-0.9.10-crates.tar.xz 30394612 BLAKE2B beccd485fb1908f20bbea74f2ae8c467531ce78ade0dfb33d1e3690f131d46c3f8cbc9d3c7d50ec4513a7255669cb7f1f7f5ce9fc4f6e88cfb82371cb2818991 SHA512 4dd7151b9f8933488050371d0c9e20ceed53e6304b65bac5381cc29fa72704316ff9d82427dc033a1734683c7d83d40bdd6f6e28015b2b4699555f73a980f621 -DIST ruff-0.9.10.gh.tar.gz 5987888 BLAKE2B 6c64a69ce72da79d599082c996b23a9faeb747e5fb4fb192cb2b1986924432f7fb49cf54dc5cb9f05ca31f94636fefdc64e23b80e29ff99bba9b761bcc91c24c SHA512 c281347e44b9f6a0773913c93d82d968b54461d7e62e7a813079e8a49069e5a4a831cd0c99514e957fb4d564315c9e5733d6ce9e9bf2b591b767cd673b92376d -DIST ruff-0.9.9-crates.tar.xz 30401168 BLAKE2B 1dddf6329b47405f179c2942cca4337629364bc3baa754dffa2f90a0a85027be7fbd991f61db02ae451e74680d92f8b4bb333a9346e633f4790775bd453e99a1 SHA512 d1c936d6d63558d51df596ceafee6953f4b6cad966fed9b3829089223faa9da728ca4105ab3bf6a4cfd5b57da8916265b74da914675a75d8a98ff7940ac6a375 -DIST ruff-0.9.9.gh.tar.gz 6068332 BLAKE2B 6a5c81ff613b426cccaf8b1f15e26d3573f9a58a8069e93dc762d55ed89beede4ccccf1876e3bc9ae91f48a464cdb108226ad2fcb83a7a63383f5a4897a6fe77 SHA512 0144831cfee758f3d75df26e3e9cada1820e6e9cec7961fd8b8415496bd80a687066d192fe12f94fbd38b965aeac43a92327d10e21b8be412c16037f83996130 -DIST salsa-095d8b2b8115c3cf8bf31914dd9ea74648bb7cf9.gh.tar.gz 639031 BLAKE2B 00e20f8a345bcc7e643d8c5c86719f8b1aa6d88aa22275a55a3987ea23f4b17efe52db0e21d60046f73598a3a45506f633a89cd99d2c3310dae07b6e9df5c556 SHA512 083675ccb6dbb38a6fbb040e9d74e36b54e17d0dd1119fa5e83abe46607e96ec67bcc5fb6e245d75d1fd32963ebce2c799022e91e02a0fadb9e191df64296266 DIST salsa-7edce6e248f35c8114b4b021cdb474a3fb2813b3.gh.tar.gz 660115 BLAKE2B 9cc1f30d0cd7abe2c81f952dd390aa41d4ff4cc7fe94a4a9977543abf16c7e7bca4b4a12fc397569293b282b650b77ac077917af791e85403e0a58dda5bbca61 SHA512 368c5c18c3fe82d5a9db322aa317b56c68a6c2680f719dc425a820772c4b29bca0b1f506d78ce697ab2d1e5d87add28e159c077387707f4d3ef609531368c6be DIST salsa-87bf6b6c2d5f6479741271da73bd9d30c2580c26.gh.tar.gz 643688 BLAKE2B 5d2bd930dfbea0cb036e9caa1dee25c422e8a7fcda6bb3504f1e904449ee0b19d3aebb5fd57ce2cad9cdbb759b208bb5438ad30214c51e1d79e94f7869daf36b SHA512 b8236507f25d8f00ce7dbd8347913d1e9f32b521b146d662c881d016279a162345d3152e77ab0f0b1b452c7a2c75d8ff986f2c3ff11e7fd9f8629d9cd6b24f27 -DIST salsa-99be5d9917c3dd88e19735a82ef6bf39ba84bd7e.gh.tar.gz 626582 BLAKE2B 354efa537ed91559abc4a2163e526ade8e136a773daf548e5005e298401c802a50692262925a8a89446d5f213e2858be68409845c161c98a33437370e3f0b0f0 SHA512 69a937e4d095ddc3ca04c2a357d9524d58a8e7dc8e547efeeaf5d2907d2fa4f96bb4c1289b0958bd4a967ebf97204884e724fcab3e999b842704df6ef7c8aa5e -DIST salsa-d758691ba17ee1a60c5356ea90888d529e1782ad.gh.tar.gz 639708 BLAKE2B d0224493c47bcdc24dbfaf81d11d2b13f094b4939d72c30052e1a55e53f0188d3180d6ad3e3d19e6363587ac2d827da03732322a73fce459f95bd1ba02192f10 SHA512 414ee5167e60ba48e1829a324d85ffeebdd1b6ca653a19a018ceeec99277536a63adb5aed022af4677a4dd7d52be56d1b1ba69f5dbb75e00f51b30553e4b8cc1 diff --git a/dev-util/ruff/ruff-0.11.0.ebuild b/dev-util/ruff/ruff-0.11.0.ebuild deleted file mode 100644 index 7e3b0cdcea02..000000000000 --- a/dev-util/ruff/ruff-0.11.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.13.5 - -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;095d8b2b8115c3cf8bf31914dd9ea74648bb7cf9;salsa-%commit%/components/salsa-macro-rules' - [salsa-macros]='https://github.com/salsa-rs/salsa;095d8b2b8115c3cf8bf31914dd9ea74648bb7cf9;salsa-%commit%/components/salsa-macros' - [salsa]='https://github.com/salsa-rs/salsa;095d8b2b8115c3cf8bf31914dd9ea74648bb7cf9;salsa-%commit%' -) - -RUST_MIN_VER="1.83.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 -" -SRC_URI+=" 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} red_knot{,_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.11.1.ebuild b/dev-util/ruff/ruff-0.11.1.ebuild deleted file mode 100644 index 297bbe331211..000000000000 --- a/dev-util/ruff/ruff-0.11.1.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.13.5 - -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;d758691ba17ee1a60c5356ea90888d529e1782ad;salsa-%commit%/components/salsa-macro-rules' - [salsa-macros]='https://github.com/salsa-rs/salsa;d758691ba17ee1a60c5356ea90888d529e1782ad;salsa-%commit%/components/salsa-macros' - [salsa]='https://github.com/salsa-rs/salsa;d758691ba17ee1a60c5356ea90888d529e1782ad;salsa-%commit%' -) - -RUST_MIN_VER="1.83.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 -" -SRC_URI+=" 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} red_knot{,_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.11.2.ebuild b/dev-util/ruff/ruff-0.11.2.ebuild deleted file mode 100644 index 297bbe331211..000000000000 --- a/dev-util/ruff/ruff-0.11.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.13.5 - -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;d758691ba17ee1a60c5356ea90888d529e1782ad;salsa-%commit%/components/salsa-macro-rules' - [salsa-macros]='https://github.com/salsa-rs/salsa;d758691ba17ee1a60c5356ea90888d529e1782ad;salsa-%commit%/components/salsa-macros' - [salsa]='https://github.com/salsa-rs/salsa;d758691ba17ee1a60c5356ea90888d529e1782ad;salsa-%commit%' -) - -RUST_MIN_VER="1.83.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 -" -SRC_URI+=" 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} red_knot{,_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.11.6.ebuild b/dev-util/ruff/ruff-0.11.6.ebuild deleted file mode 100644 index 9f3210751862..000000000000 --- a/dev-util/ruff/ruff-0.11.6.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.14.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;87bf6b6c2d5f6479741271da73bd9d30c2580c26;salsa-%commit%/components/salsa-macro-rules' - [salsa-macros]='https://github.com/salsa-rs/salsa;87bf6b6c2d5f6479741271da73bd9d30c2580c26;salsa-%commit%/components/salsa-macros' - [salsa]='https://github.com/salsa-rs/salsa;87bf6b6c2d5f6479741271da73bd9d30c2580c26;salsa-%commit%' -) - -RUST_MIN_VER="1.84.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 -" -SRC_URI+=" 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} red_knot{,_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.9.10.ebuild b/dev-util/ruff/ruff-0.9.10.ebuild deleted file mode 100644 index 59286a32b6a8..000000000000 --- a/dev-util/ruff/ruff-0.9.10.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.13.5 - -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;99be5d9917c3dd88e19735a82ef6bf39ba84bd7e;salsa-%commit%/components/salsa-macro-rules' - [salsa-macros]='https://github.com/salsa-rs/salsa;99be5d9917c3dd88e19735a82ef6bf39ba84bd7e;salsa-%commit%/components/salsa-macros' - [salsa]='https://github.com/salsa-rs/salsa;99be5d9917c3dd88e19735a82ef6bf39ba84bd7e;salsa-%commit%' -) - -RUST_MIN_VER="1.83.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 -" -SRC_URI+=" 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} red_knot{,_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.9.9.ebuild b/dev-util/ruff/ruff-0.9.9.ebuild deleted file mode 100644 index 59286a32b6a8..000000000000 --- a/dev-util/ruff/ruff-0.9.9.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.13.5 - -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;99be5d9917c3dd88e19735a82ef6bf39ba84bd7e;salsa-%commit%/components/salsa-macro-rules' - [salsa-macros]='https://github.com/salsa-rs/salsa;99be5d9917c3dd88e19735a82ef6bf39ba84bd7e;salsa-%commit%/components/salsa-macros' - [salsa]='https://github.com/salsa-rs/salsa;99be5d9917c3dd88e19735a82ef6bf39ba84bd7e;salsa-%commit%' -) - -RUST_MIN_VER="1.83.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 -" -SRC_URI+=" 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} red_knot{,_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[@]}" -}