From: "Eli Schwartz" <eschwartz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ruff/
Date: Mon, 11 Aug 2025 05:38:04 +0000 (UTC) [thread overview]
Message-ID: <1754890537.a1f9f0f0cea553d8ea1307b3f9e4bbb837d9089f.eschwartz@gentoo> (raw)
commit: a1f9f0f0cea553d8ea1307b3f9e4bbb837d9089f
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 11 03:23:51 2025 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Mon Aug 11 05:35:37 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1f9f0f0
dev-util/ruff: add 0.12.8
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
dev-util/ruff/Manifest | 2 +
dev-util/ruff/ruff-0.12.8.ebuild | 117 +++++++++++++++++++++++++++++++++++++++
2 files changed, 119 insertions(+)
diff --git a/dev-util/ruff/Manifest b/dev-util/ruff/Manifest
index 547271c3e375..b538aa6bee0d 100644
--- a/dev-util/ruff/Manifest
+++ b/dev-util/ruff/Manifest
@@ -9,6 +9,8 @@ DIST ruff-0.12.4-crates.tar.xz 25059288 BLAKE2B 8ca959d5db508199a4ca65b6ba5c7610
DIST ruff-0.12.4.gh.tar.gz 7642686 BLAKE2B d4c6b8481fa387371d906be2f08870af61dc21cc773e4bb5578fba92bc19e0e8ebbe745833da20bad23af2413c46bbd73cf583e7b0a4b9b0f938f09b21536840 SHA512 8a41d1d9632f8e90822032881dca066797b781a3f82c898d74859235b6f31a9ad97e342c95d8af8dd7e498a75a769aecbd2dfea706beb836f5d35d657b6e1920
DIST ruff-0.12.7-crates.tar.xz 25207576 BLAKE2B 9492638ccec4a7db07e06fa96cebecded216e673024b3e120a9ba1392bef30ce9775d797576f9906a66d014d4b91f79159377b572d1863618d847018639a4231 SHA512 811324ae290fda4c3b707845353f93cb58918201233ed5e067b8bd19bdfa69ceb9bc09032527e707da4dea8a0938890eca68fb608feca17ae43f34bcfe8d66cd
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.12.8.ebuild b/dev-util/ruff/ruff-0.12.8.ebuild
new file mode 100644
index 000000000000..46bd7073d68c
--- /dev/null
+++ b/dev-util/ruff/ruff-0.12.8.ebuild
@@ -0,0 +1,117 @@
+# 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;dba66f1a37acca014c2402f231ed5b361bd7d8fe;salsa-%commit%/components/salsa-macro-rules'
+ [salsa-macros]='https://github.com/salsa-rs/salsa;dba66f1a37acca014c2402f231ed5b361bd7d8fe;salsa-%commit%/components/salsa-macros'
+ [salsa]='https://github.com/salsa-rs/salsa;dba66f1a37acca014c2402f231ed5b361bd7d8fe;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[@]}"
+}
next reply other threads:[~2025-08-11 5:38 UTC|newest]
Thread overview: 170+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-11 5:38 Eli Schwartz [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-07 23:21 [gentoo-commits] repo/gentoo:master commit in: dev-util/ruff/ Patrick McLean
2025-10-03 18:43 Patrick McLean
2025-09-25 17:39 Patrick McLean
2025-09-25 17:39 Patrick McLean
2025-09-19 21:06 Patrick McLean
2025-09-10 22:10 Patrick McLean
2025-09-04 22:14 Patrick McLean
2025-09-04 22:14 Patrick McLean
2025-09-04 5:32 Eli Schwartz
2025-08-28 22:36 Patrick McLean
2025-08-22 17:33 Patrick McLean
2025-08-15 7:05 Eli Schwartz
2025-08-14 5:09 Eli Schwartz
2025-08-11 2:38 Sam James
2025-08-05 20:01 Eli Schwartz
2025-08-05 16:33 Patrick McLean
2025-08-05 16:33 Patrick McLean
2025-07-22 19:37 Eli Schwartz
2025-07-11 23:06 Patrick McLean
2025-07-11 23:06 Patrick McLean
2025-07-08 0:00 Patrick McLean
2025-06-24 20:02 Patrick McLean
2025-06-06 20:23 Patrick McLean
2025-05-23 0:41 Patrick McLean
2025-05-15 18:39 Patrick McLean
2025-04-25 21:22 Patrick McLean
2025-04-17 21:43 Patrick McLean
2025-04-17 21:17 Patrick McLean
2025-04-16 21:35 Patrick McLean
2025-04-02 22:14 Eli Schwartz
2025-04-02 22:14 Eli Schwartz
2025-04-01 18:39 Arthur Zamarin
2025-03-20 17:07 Patrick McLean
2025-03-14 15:41 Patrick McLean
2025-03-14 15:41 Patrick McLean
2025-03-07 20:51 Patrick McLean
2025-02-28 21:21 Patrick McLean
2025-02-28 21:20 Patrick McLean
2025-02-20 18:21 Patrick McLean
2025-02-10 18:31 Patrick McLean
2025-02-10 18:31 Patrick McLean
2025-01-10 21:13 Patrick McLean
2025-01-09 17:54 Patrick McLean
2025-01-07 21:58 Patrick McLean
2024-12-20 16:33 Patrick McLean
2024-12-05 17:29 Patrick McLean
2024-12-05 17:29 Patrick McLean
2024-11-15 23:00 Patrick McLean
2024-11-15 23:00 Patrick McLean
2024-11-11 19:17 Patrick McLean
2024-11-11 19:17 Patrick McLean
2024-11-03 19:11 Eli Schwartz
2024-10-30 17:21 Arthur Zamarin
2024-10-24 16:38 Patrick McLean
2024-10-24 16:38 Patrick McLean
2024-10-24 0:12 Jakov Smolić
2024-10-17 20:57 Patrick McLean
2024-10-17 20:57 Patrick McLean
2024-10-09 17:31 Eli Schwartz
2024-09-26 16:13 Patrick McLean
2024-09-26 16:13 Patrick McLean
2024-09-25 4:30 Eli Schwartz
2024-09-20 18:12 Eli Schwartz
2024-09-13 23:11 Patrick McLean
2024-09-13 23:11 Patrick McLean
2024-09-05 18:17 Patrick McLean
2024-09-05 18:17 Patrick McLean
2024-08-29 19:01 Patrick McLean
2024-08-29 19:00 Patrick McLean
2024-08-22 17:56 Patrick McLean
2024-08-22 17:56 Patrick McLean
2024-08-17 0:10 Patrick McLean
2024-08-16 23:35 Patrick McLean
2024-08-15 17:36 Patrick McLean
2024-08-15 17:36 Patrick McLean
2024-08-09 17:46 Patrick McLean
2024-07-29 1:19 Eli Schwartz
2024-07-22 4:50 Eli Schwartz
2024-07-16 4:11 Eli Schwartz
2024-06-28 16:58 Patrick McLean
2024-06-28 16:57 Patrick McLean
2024-06-17 9:39 James Le Cuirot
2024-06-06 0:44 Patrick McLean
2024-06-04 6:56 Sam James
2024-05-30 2:21 Sam James
2024-05-23 21:52 Sam James
2024-05-23 16:43 Patrick McLean
2024-05-10 1:58 Sam James
2024-05-10 1:58 Sam James
2024-05-07 15:13 Patrick McLean
2024-04-25 21:07 Patrick McLean
2024-04-19 18:41 Patrick McLean
2024-04-18 21:49 Patrick McLean
2024-04-18 21:49 Patrick McLean
2024-04-01 20:11 Patrick McLean
2024-04-01 19:50 Patrick McLean
2024-03-22 5:33 Sam James
2024-03-18 16:29 Patrick McLean
2024-03-14 6:40 Sam James
2024-03-14 6:40 Sam James
2024-03-14 6:40 Sam James
2024-03-14 6:40 Sam James
2024-03-14 6:40 Sam James
2024-02-29 17:15 Patrick McLean
2024-02-21 22:15 Patrick McLean
2024-02-06 18:56 Patrick McLean
2024-02-04 17:10 WANG Xuerui
2024-01-15 14:01 Sam James
2024-01-15 9:17 Ulrich Müller
2024-01-12 20:39 Patrick McLean
2024-01-12 19:49 Patrick McLean
2023-12-13 20:55 Patrick McLean
2023-12-05 1:00 Patrick McLean
2023-11-17 21:43 Patrick McLean
2023-11-09 1:54 Patrick McLean
2023-10-26 21:18 Patrick McLean
2023-10-24 18:48 Patrick McLean
2023-10-19 22:07 Patrick McLean
2023-10-16 23:25 Patrick McLean
2023-10-16 23:13 Patrick McLean
2023-10-02 20:04 Patrick McLean
2023-09-22 21:57 Patrick McLean
2023-09-16 0:32 Patrick McLean
2023-09-12 17:43 Patrick McLean
2023-09-11 18:50 Patrick McLean
2023-09-11 18:50 Patrick McLean
2023-09-11 18:50 Patrick McLean
2023-09-08 19:36 Patrick McLean
2023-09-08 19:29 Patrick McLean
2023-08-26 0:14 Patrick McLean
2023-08-10 21:55 Patrick McLean
2023-08-08 20:48 Patrick McLean
2023-08-07 23:38 Patrick McLean
2023-07-31 22:58 Patrick McLean
2023-07-24 22:15 Patrick McLean
2023-07-22 1:22 Patrick McLean
2023-07-13 0:03 Patrick McLean
2023-07-05 16:17 Patrick McLean
2023-06-22 18:07 Patrick McLean
2023-06-21 19:04 Patrick McLean
2023-06-21 4:52 Patrick McLean
2023-06-21 4:42 Patrick McLean
2023-06-21 4:42 Patrick McLean
2023-06-21 4:42 Patrick McLean
2023-06-20 21:27 Patrick McLean
2023-06-08 20:55 Patrick McLean
2023-06-08 20:38 Patrick McLean
2023-06-01 20:34 Patrick McLean
2023-05-05 17:58 Patrick McLean
2023-05-02 18:02 Patrick McLean
2023-04-25 19:20 Patrick McLean
2023-04-25 19:00 Patrick McLean
2023-04-25 18:08 Patrick McLean
2023-04-21 1:07 Patrick McLean
2023-04-21 1:07 Patrick McLean
2023-04-10 19:21 Patrick McLean
2023-03-24 19:29 Patrick McLean
2023-03-23 1:31 Patrick McLean
2023-03-23 1:27 Patrick McLean
2023-02-28 18:43 Patrick McLean
2023-02-28 18:43 Patrick McLean
2023-02-23 19:55 Patrick McLean
2023-02-22 20:24 Patrick McLean
2023-02-15 23:19 Patrick McLean
2023-02-15 21:36 Patrick McLean
2023-02-15 21:15 Patrick McLean
2023-02-09 20:04 Patrick McLean
2023-02-08 23:13 Patrick McLean
2023-02-08 20:34 Patrick McLean
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1754890537.a1f9f0f0cea553d8ea1307b3f9e4bbb837d9089f.eschwartz@gentoo \
--to=eschwartz@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox