commit:     c82ebd8daebe2ef4d90cd9eaddbaaa168e8ee5d1
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  5 18:14:54 2024 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Sep  5 18:16:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c82ebd8d

dev-util/ruff: add 0.6.4

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

 dev-util/ruff/Manifest          |   3 +
 dev-util/ruff/ruff-0.6.4.ebuild | 470 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 473 insertions(+)

diff --git a/dev-util/ruff/Manifest b/dev-util/ruff/Manifest
index 3e582ad0fb95..cab39f4c262c 100644
--- a/dev-util/ruff/Manifest
+++ b/dev-util/ruff/Manifest
@@ -197,7 +197,9 @@ DIST pretty_assertions-1.4.0.crate 78846 BLAKE2B 
68583c49f81ab0cf5b90f6de10ef3aa
 DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 
4b89e07f23af8328dbb34fe2b3f1b202f1e6a3885a6269740a23359b41bb4099ac2484565d3b2b0936261689ca525785ac620c766997234fd8d0f409e80e5ea3
 SHA512 
1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434
 DIST pyproject-toml-0.9.0.crate 6041 BLAKE2B 
43947f872bffbdc37e1be5c8e0654f94ff0339c71244a519ecfaeba47a4204bbb004021bb5ca48cc07bd2be9146c288afdbfba8529b9d461798d235af390eaaa
 SHA512 
d6475d4bed6a74392a0322dcf1d0cce2f8974616afb931270eb410e7c44fc8750acb1bd250b89203eaeda04efd5845e38d7618f762c3946012d5d3e77180b610
 DIST quick-junit-0.4.0.crate 20136 BLAKE2B 
a5b31361598f2b8edb18730fae091a824079dca4fa657c6482b0fcbc8d5882c1170eed313948a691b8addb0de5bbc44b845381e9b4d0285f523273073b88ce40
 SHA512 
fbe82e4531e7028d9d10ecdb0f1a2e3baf2231a0f7e7e28ca3dc3920c391b83972b9289a14c7f41695e5568e669164444f3e7ce562f3754a407271dc9aaf82c3
+DIST quick-junit-0.5.0.crate 20994 BLAKE2B 
5886dc3d865d2d094542ccf66a5c542ccfadcbf34cd42634ed92e7454d129aae208ccb038e300e2836784fdd3297d24a2de536581c02a8b032d11c3e9395af4e
 SHA512 
4eca172e9abe33210d71a65bd9f1d54333f06e7119879158b4d131f618320236c199b1ab49904d31b5c67d7512649b6ed97b3cf2e0bb0858670b31701b7f275d
 DIST quick-xml-0.31.0.crate 172236 BLAKE2B 
b83c7f485a30576027a4ae77aa23cd6284942d786f0f0a14faafdfecff646371ba15133b3ba90f820183c8537c8ac47ad3e1e7deaad65e56761bc662be406026
 SHA512 
9b1f4f9c32694ccb244938a9a4e9373c3902314afb6af5d2f6b1be55e5ec63fee5cf1085f8f32161570cc10fdd96f3375c7564b1d884bb152542b86593f175de
+DIST quick-xml-0.36.1.crate 185352 BLAKE2B 
0ad31fb7210bb9c71ee480d400d10c01e02fdc509ccc275305cdabe29aa7d3816ffc7854371e493d3b4b28d43452bf7ef393f7ba4ca556d311cc83f7887ee802
 SHA512 
21233a50b5ec45db623d4043e03962a19f10cae36fcf3074c32eec3c007a59310ab884352b6c880632535164745fbbf2985d27cd549d50b509f97395a0d48248
 DIST quote-1.0.36.crate 28507 BLAKE2B 
b93495163ed205e33543ed45f084870240d479071d643704b6e348fb9ada6e1d8401893c13348b9964f4b6b17ddb96cb5458eec540f0d761655fcb96a4cd9129
 SHA512 
f1f002a912692f7ffd4912ca980ec57ff4aca3a7d9e2e42e9e3409e2105c9f59d86c05719f6af309bccaef2f8843b0848a6e3afda3356e045d8e7cc5956ae685
 DIST quote-1.0.37.crate 28558 BLAKE2B 
a7d007a69e619f853af94333e1066bb767013312bd99f147b1b153611242bcfa9c76768b1ba47278589db309a9acd61a772c8ec3b567e48439bb9d831f9326d4
 SHA512 
c4ed21428c1f89cf22b85d80720a7869831a9c129d694617b0ce8c258278114ab98846f3f653abf736d1c86bc9224bbd695e9a7b06aa3adf292d02e1ef14cc05
 DIST rand-0.8.5.crate 87113 BLAKE2B 
516f26bb2a969d0d79e957818133f35d2c0b4d9f1b401098ea23c5b80d27599e842b9298c0c5e46e2a6cb6953857bf8a9fb71ec9366c5ce6708cf17df14f179c
 SHA512 
8b33a8988906ba5e2057a9a84bdd11f867a5536c22f5056eec59ed4ec4e3a6da2fd773da4c0510d343762e5a4ea0f007db4c4a7cef87a47f90e36c1a84d86fb2
@@ -216,6 +218,7 @@ DIST regex-syntax-0.8.3.crate 347497 BLAKE2B 
9ac2f63098ffa3fff51fe2bc0bcf9ef164c
 DIST ring-0.17.8.crate 4188554 BLAKE2B 
f531b15cc5cf88f2ef00b1708473a7e98a42dbbd026027ef2c42f2d8bdba0eb1665621fc98db618252f6a131bd54b1493987a0285bf2b9a22eba4c9409ee1cab
 SHA512 
e4966409a4078ee43bfc9cc659d08ad28419effe2a729c8c275361a7fe0620a3c727009bcfb1d0bab265af2bc107b50c19d868a4e80da7a8bb55f97e8b214358
 DIST ruff-0.6.2.gh.tar.gz 5028765 BLAKE2B 
7be9617c0563423cef4ccd661a79952893f080126aebc6112892416a0c7272e0398cc4c9a8435a1fa0e3512661da29889a080c684cb54da6123d56dc5b72f899
 SHA512 
f8e1551d80c327cca5e602c4604256264c2a6b8b2dfb1d36adaee9ce6edeb02a3cbd15f9b3c422095d907e947f34ce9fc416f64062b6fdfe40e84e4804b7e901
 DIST ruff-0.6.3.gh.tar.gz 5048435 BLAKE2B 
f77f54461d5fe9ef909641332aed632024c4cadc5748730a971705aa3d262d0e393e25b8e8a5c72372670fc2cb563c0293f19f2c0032e88959a2e82b155c140c
 SHA512 
3c4efadf999253a06aa86a08dffded722ecf1e5939e9eae593e0e89b756f374406d6d0c3840598c4b49098fb9a7cb628f7537521f0445d6e465df517d98a2e94
+DIST ruff-0.6.4.gh.tar.gz 5069433 BLAKE2B 
424192d17ba5fe69db4d0ac0867b43958884a532e86c8862fa524b95051c5a8f5765448e0de0b3c82f36c8db51d6e87f69176eeb59f1538f2f6a5fb52986b871
 SHA512 
eca710f53532e89ea75b9f46449b7b7cb1698e0a553d23282b2d04ea5dc7da0fb235d7da73557137fcae3eb81e74924fc41017d145dc85b170fa2780111aae5d
 DIST rust-stemmers-1.2.0.crate 2351301 BLAKE2B 
d633c0d7091fd05e55a521670104831bed89deef7a2fb7c1eed3528246e65b67a97888fed48b134b10c477e7b95c034e8bbad70500c779b1ff7b0c334de0b37b
 SHA512 
b9453a0984d41e5a692e5ea1a8a7bc6142de30f7b345a269489b8d4ebe3b3d442e7fe5f338c72a790521dea7a2ad9605c0ca8218a6b76d8bc5e19ae02cf711d7
 DIST rustc-hash-1.1.0.crate 9331 BLAKE2B 
16ac56622897f47a06b661fb59a196b08d48e782ab87549c8bd5c6fe92f374c9bfd44dcb36588512bd9b6125c2fd79a12d648aaa308fd9694bcca3a7c1b49ac9
 SHA512 
84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544
 DIST rustc-hash-2.0.0.crate 12691 BLAKE2B 
b6a619f681e897c8a9167bb88d6ba78715010ac6c1ef9a7a9e115fe8aab10fcd9d4f5e1893e89a36a59118819dbf67de3d261a190fe37948137f097bc99b3fd2
 SHA512 
996ad683db2e6839ee28fdc4a31293aecce7baefaf6051220a633a00beddef1be41aef0995d7501e5b92dbc85350ced920bc980d05f5ba235e9a5d1a13464339

diff --git a/dev-util/ruff/ruff-0.6.4.ebuild b/dev-util/ruff/ruff-0.6.4.ebuild
new file mode 100644
index 000000000000..8996ce3dbfc1
--- /dev/null
+++ b/dev-util/ruff/ruff-0.6.4.ebuild
@@ -0,0 +1,470 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.13.3
+
+EAPI=8
+
+CRATES="
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       
[email protected]+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]+wasi-snapshot-preview1
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]
+       [email protected]+zstd.1.5.2
+       [email protected]+zstd.1.5.6
+       [email protected]+zstd.1.5.2
+"
+
+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;f608ff8b24f07706492027199f51132244034f29;salsa-%commit%/components/salsa-macro-rules'
+       
[salsa-macros]='https://github.com/salsa-rs/salsa;f608ff8b24f07706492027199f51132244034f29;salsa-%commit%/components/salsa-macros'
+       
[salsa]='https://github.com/salsa-rs/salsa;f608ff8b24f07706492027199f51132244034f29;salsa-%commit%'
+)
+
+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
+"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+       Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016
+       WTFPL-2
+"
+# ring
+LICENSE+="
+       ISC SSLeay openssl MIT
+"
+# libcst
+LICENSE+="
+       MIT PSF-2 Apache-2.0
+"
+# libcst_derive
+LICENSE+="
+       MIT PSF-2 Apache-2.0
+"
+# salsa-macro-rules
+LICENSE+="
+       || ( MIT Apache-2.0 )
+"
+
+SLOT="0"
+KEYWORDS="~amd64 ~loong"
+
+BDEPEND="
+       >=virtual/rust-1.76
+"
+RDEPEND="
+       !elibc_musl? ( !elibc_Darwin? ( !elibc_bionic? ( dev-libs/jemalloc:= ) 
) )
+"
+DEPEND="
+       ${RDEPEND}
+       app-arch/zstd
+"
+
+QA_FLAGS_IGNORED="usr/bin/.*"
+
+DOCS=(
+       BREAKING_CHANGES.md
+       CODE_OF_CONDUCT.md
+       CONTRIBUTING.md
+       README.md
+       assets
+       docs
+)
+
+src_configure() {
+       export RUSTFLAGS="${RUSTFLAGS}"
+       cargo_src_configure
+}
+
+src_compile() {
+       # 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[@]}"
+}

Reply via email to