commit: 56f3ca4ef6c6c468f2b0b9a7d0d51c658a2b23fe
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 11 18:48:56 2023 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Mon Sep 11 18:48:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56f3ca4e
dev-util/ruff: add 0.0.288
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
dev-util/ruff/Manifest | 6 +
dev-util/ruff/ruff-0.0.288.ebuild | 468 ++++++++++++++++++++++++++++++++++++++
2 files changed, 474 insertions(+)
diff --git a/dev-util/ruff/Manifest b/dev-util/ruff/Manifest
index 464a770d1032..4fbfbcf5dd2f 100644
--- a/dev-util/ruff/Manifest
+++ b/dev-util/ruff/Manifest
@@ -64,7 +64,9 @@ DIST clap_lex-0.5.0.crate 11792 BLAKE2B
0409c9d957ea6a566eb8b50f4212702df038d04c
DIST clap_lex-0.5.1.crate 11793 BLAKE2B
8e3d2dc120401fdd0cf0bf069119c8b7eafa13e5f682c56499062fc09acc05f443caafa6fca791ea53e693a83de69e98fd0488726a4170db037c37118ce0edf1
SHA512
ea5e49e9a8536093f7de89be30add7c3d880b232b0ce393b0429fd4402db2518036998689817bdfd472b6400224fd3c42fec1b5f8538dc433c31dadeb6281e80
DIST clearscreen-2.0.1.crate 151421 BLAKE2B
c43020bf5a2aced2d053e46f3a5d38d5accdb7af6d742d7fbcd990f01f7e31138fbcfd2cee2a29a9a0a794b6dc75fb3213c4c593020d5b1e2eb521d82ef063a7
SHA512
e9ba90f1768537464b201b045f05522dfc9765ba5111fb484ada0968ee880d72ce46020e2798778179bbd191b256cb340329966cd6d182253c31d96d9824506c
DIST codspeed-2.1.0.crate 4534 BLAKE2B
0740192c1e93e73174394b9c000bb8f73eab486d9c3b71b9b5c28de4f1f43d8d0472e5b6a6acefa0335dcc948fed97df620e2752cb552547c02195366850318d
SHA512
99775742c194bedce01e24aff7fc593aecf671bb95a3ede4f83c691811e78b732dd9db2f9d8b2ccdff70138517a089765607b76c753f24d8b62bcc86b3280cc3
+DIST codspeed-2.2.0.crate 4524 BLAKE2B
2b6d5aa6ebea3c6f86e971ea97e0de85bfcdb455589a9bc1d0d9e0625050912fa1f9d53887faddbc33c919797343d8d12411104534b17be2c6ab648062b0c04f
SHA512
39b31688fdd3a153a8384171a1f9ced209b8ff7e5cb734dd781fe17123f7f10c09468f1647d3ad6aff9d77e4e34de2de0d9a2c2ad037f9edf8eca7a318e3d62a
DIST codspeed-criterion-compat-2.1.0.crate 9625 BLAKE2B
8398b75bfb2f645b066c6052e5b8ff641068814edea0e70db5288ef8b9940d3d5e223907429dd47baa3113627327729377201b84cd7ef92e439da2ff6afbb48e
SHA512
94d5bd89f19d3e93245d4649c5609766774d98ecc1979f3f9d29b09f406e7c65e6d0939029d33291aa3c4150c923039a997b5e6e8d4dde9feab2a053bdaca4e4
+DIST codspeed-criterion-compat-2.2.0.crate 9740 BLAKE2B
ebc479c05a2dff5ce08c79c274d5eb890709eae66320eb28187a56a769960e6ab32c9ef7fbad3cc18879ddbd4baa2f6e51602ad760757a5e25dc8590ec591d34
SHA512
f2c7fc980d5d4b6435aee826afcde26aa608f9315d46effef993f336dcac712e348e4926cd14aa0c3147540ec8ee28a0c037fa672fed24ac2fa1e2511a5f0151
DIST colorchoice-1.0.0.crate 6857 BLAKE2B
a0818be1299717461ffc1bcfb6fc53a0b3b645aa8c45fb72e045cf2d876fa207948610e58d6a837aad24838ea9616e80b0558ca3eae03fdf9bc4c03a8e5ba52f
SHA512
53363f2889cd8e8a3b3ed10c48356896c0daa72f3c12c9c7804707ab0dbc07c0e34ef52fa4f0fb1647311ce5913168c1bf62c2407ff86a33f765a9e6fccad551
DIST colored-2.0.4.crate 23654 BLAKE2B
41303ea33785c060415a955383ba2f22ac8e4afe9f1345b9f41dea9817348298f8715c4bfdc60cf4960315c3a7dfabf148f2fdf62e0e0a5ca77e34c57dfca307
SHA512
38e664d23546d77c81da6f5eca6ee8113d6ce20107bf7325255de2c59d532e662ee1f751420bba8ccbbe468b8cb13f743050e4145d0e1f1e37087a1f3a65ada0
DIST configparser-3.0.2.crate 22545 BLAKE2B
f03f85d109c6d7781340f4514667740c664feb38fb597262d2531f978a04c53f284de7c5671243c77c9db8d7202429f56030a67d76382406ee07e44fbf15b5e3
SHA512
ffa9055a736a93dd062b92ab1345a29565804021268787ab6dd314c00ccec4d2dd94562b1576ac356692011ae67ddc86ae8965e217b1607b680f0669eb4ea9ec
@@ -151,6 +153,7 @@ DIST indoc-2.0.3.crate 14305 BLAKE2B
d0c1434a8199b4717b2ec7797fe83f93c81cec17a16
DIST inotify-0.9.6.crate 22971 BLAKE2B
7a6cedd29b2503911fb42324fe3b4f4f20abb62a6b4370f8a7f634d9988f1b3053a70d69d6bbd7b850aae2590ded7548b73326a598d31e5b579e19ac3cc781d8
SHA512
39c3db1b6da620df9eaaa41cc20c2f22b9a372e181ed7d8ba0c7ad4e711ba4486bcec7ff86bb4d814d9c53e071cc4e43845567069e45b897c562cb677fc872b2
DIST inotify-sys-0.1.5.crate 6965 BLAKE2B
d70124656ce3e6f5ea3f430e8e7100d0691003161234b40542ca86c407ecaac1785f3eca98e9fd2914dababbc3f47a0855c99c9f19245d1f2cd5312739c802af
SHA512
dae749f32c533b0c9f99963d97a77dcbfcacf173ec8fd7a02f275804f9925e867b4dfdf6be52c3c3c3de136d64e6e7d6b30a3bf804a01608cf974b0cc2e346da
DIST insta-1.31.0.crate 543861 BLAKE2B
ffc38a8d375eec92a4463def66ed0709e2af7b8eb344647c41bce406ed9ec01efc777ea4a364e40205f8fb6a74854b3a7bb194ec671a0dcab7d2c8cb4f7ce18d
SHA512
c16eb300628e7bab359c5515399b55eb7b60fb38e41e62f7bcf00d51fb016a82dd8c49f4e83095a7e94430af00d7d8e8bd9b1b3fd1735717f0b1f79c078f2fcd
+DIST insta-cmd-0.4.0.crate 11925 BLAKE2B
307a25394bc93e8289644c3df660ec0de96ea3e3b3ac53e632ee8b0ed8e2bf342019e9004ed7a78230ff28bb6807d3f8fe5c6b880f4ee27258d7fd2f4316c2ea
SHA512
933ea5c3b0408523ab3e4587879f8ad8dbbbfea0ed30322b18ba6fe6aaea93f0687faa33fa1f5bb8d06394cdf0753aa53e2f5a74b9b7952383e71f96be15e83d
DIST instant-0.1.12.crate 6128 BLAKE2B
728923f757c1ee4e4a7afb90e460eed81392068961240a538e5c6468e15a0b6491f590fb5f6cc46e6d78901ca232351f65abb9f2f230d8f4983c5e58c4011902
SHA512
fae494c00111c51c840f9dd6a10febe403e27ebb933dd16633a213e9c20f2bc11adeb431c71f8a6713bf88f270a010941e15d83df294e658791934f83a5d2407
DIST io-lifetimes-1.0.11.crate 37346 BLAKE2B
7f278b7378a8569d3552c9b6d4be06d7908e05d77cdb964267f0b621ec4975a42fb6e48fc030a75ad5865681adf32ff747943ac559ab4ad73331a6611a1b10c6
SHA512
30c6e5ce6f5beabe0d7bee4f4522884d1316cf7d9b8d093ba0f952995997be3d0f10e1e77b9c20b7fe2b65429de0d2ec89bb35e939455795205206a3154ed544
DIST is-macro-0.2.2.crate 5247 BLAKE2B
f3b5ad468bd8d5f4b62e12d1474c139245057a455485cd4587f3bde86a2a9cd71e329b94e20899e7edd261ce251af8ff5a2711c5812d093f760ef6cca3afa5ce
SHA512
bd51b9183cdb9151d71d0d4dd066c36252a2e2800d8b58dfbc81e481c119f526824876b079861cceb077aa62c6c6f59a594ef16e9e305dc3a21aef9a120aeed8
@@ -171,6 +174,8 @@ DIST lexical-parse-float-0.8.5.crate 180161 BLAKE2B
881e4db32a21c26a1919fd1373ae
DIST lexical-parse-integer-0.8.6.crate 33647 BLAKE2B
a0ebd7a51c271a163796b0f55bb85e16830bf06e26e3f10d9b13dc5b65af590c77f47fb64360a8738c5ad4be6e6932d58e83e1594a80c067859645c35b907c53
SHA512
e9a814d2928bf5bb2d9dce53e26c65356191c9e21c3aa0e674d58ed879aa52293272f3897f64372d996a3f8c471b0f59348ad48f15a21c2f35ed15f522ac2daa
DIST lexical-util-0.8.5.crate 85152 BLAKE2B
42a968c6f9d20cb4cb10906399d37d6581b425eadb31439fec4a71395819133249c4fb75b1d962100e77ba35b6f6b4cd428d5b5c161b405b22333ee390e671a6
SHA512
449c7f2a22c109cd179937c36e14d91c742e1a837a85fcf4fb58c21f05317511d1281b564d216a34760ae54a0df2d0ff5caf49da4aa9d43a8d87fcec0033cc39
DIST libc-0.2.147.crate 686772 BLAKE2B
ab2f0c65d071d46b8b88149add1c8429237ef6d9e0563d56ee1adbf23e6147dbb57fb68fbd02498f8ec75327693237a47e5e5259615ce8b0d5ed7a03bbf4fffb
SHA512
bfb3c230b59d623b98726f92b7c3f897b47ba3d22fe9834c15f5b4c1b662289aba35a0ae3acfc704ad74696db8c691ee007b9cc6fa03ae65a18eb6bedc81931e
+DIST libcst-0.1.0.crate 109735 BLAKE2B
fb3b24625a8e0e79ea05b5c922ab66c37941dd7cb16d00163ef8120ac41ed7a6f768b97709be13d41d3d2cef682b7f8842cbc8ec5a2bd27848a9b633e3e6c21d
SHA512
988d13734173da471f24523b84ee2ca58278eae2534be756124c4493bca332ee5d33f3f029016d402db19adfaddb07c5a87352d092e67f2bb7947641b8322563
+DIST libcst_derive-0.1.0.crate 9250 BLAKE2B
49fb3fd1260f1a040723c7c693a79f97a86310cc1e31ec2532d05bd44737db40454ae847e5b60f8dd9e67c2e5dec0585f084f8fd6d8a953b73cb93922e761c95
SHA512
5e6bfdf06e54903d685863660e8614d14c09a270e9f73fee1012641561e20ed5a8d4915f5a1bcaf252eb5b6889afdfcf55c969b31bdc4ac80954441cfd1cca5b
DIST libmimalloc-sys-0.1.33.crate 1166827 BLAKE2B
0ac4664de727ad209a66f8a0ba0308815cd1be6a6ec2a73ca211cffaef51dc8a31ac4898233bdf9bf8ba260bdf466dfd751249f849f08b584243c43017d14366
SHA512
ac2161b4324436ff55b421bd5d26c5c3a54da62319299b392f9aaebd65dcd5862b8f8488738959e7e45be3165259b251643416ddd9905ddf6580807136c71616
DIST libmimalloc-sys-0.1.34.crate 1166241 BLAKE2B
a7f742d91e3f2b7813f08f607f88dd97dba0ae1d21f2ebb7b2d71aff8deaaeaf93f2b8c1f7270525a794b811c559db9a7aea0f150bb35b863e802bee69cab1f4
SHA512
4f023025fc0e16813a6f02a0ff5852470000cfc43c073f93686b02adf900ca2d6fb280c070f5a36e70c85f371d7736304274f48706f06a1a276db86e25cb9d29
DIST linked-hash-map-0.5.6.crate 15049 BLAKE2B
0f30e388633c60433dcbee353507f1c6857bd210f0b61a4d166a9b95067bdadaebe49d5fca4fa6ce13072e26037c6f75d46cc30cf8dc3c9cfcb3f33b33630093
SHA512
031a87645381c96beff33572e4bac1a9877e52fd2f99d39918fbede17d72291b35e2eb69e07edec20c3058554c35cc38fe85b8f175c2a3c69366136fcc71f707
@@ -278,6 +283,7 @@ DIST result-like-derive-0.4.6.crate 5814 BLAKE2B
2598173bb8920e6b8143e034a77eeab
DIST ring-0.16.20.crate 5082615 BLAKE2B
6011eb7148c2d2ab410e564a06604f4350e07ea030e4d7dcb30574b977f0b0c7e53e09f6e6dbb2d068cdf110262876c48dfaeeef1b691932a056fe149916d934
SHA512
d97d1b08eb796d4c107426ff2c015ab1f221612500c8a57fca8e3f064e8c0f5ae2a5e6071d013313cd9f4be8fed4ba03beae84bd446f56b2b2ca5d483c328191
DIST ruff-0.0.286.gh.tar.gz 3000874 BLAKE2B
93455817c42d64b219e88e054cc7ea9a8b17dab76d6af5bdadeeeff97ca82a78b8d26293637dd76a87fea53a457a93b51215e38c96feb7fd62b00d6f266bf37a
SHA512
c7e9c39b2379508cf6fd2abdd2168b9a7fc544901db64efd38b6665bedcc583f9760dd1ef549ef33d81ff7e1b383be588724b7315f4802137796dcc5dd3c088e
DIST ruff-0.0.287.gh.tar.gz 3020933 BLAKE2B
98741b2128f513da986beea3668bca51f1f421bdb858cdd4bebc2423abc11176690f8888fe4df48844b861d9e5e35e519cdc749e3d9d1d7282f2fa0a694fe4dc
SHA512
a75d841dbec5faaba1fc4fbff4574fd67b34f4ee70d12597e8512faf6139a01d739cfe3c617771ec4502b450f037af00d028e7f2495de05cd055d8709f14f1fa
+DIST ruff-0.0.288.gh.tar.gz 3051590 BLAKE2B
7b00501eb04c5e2048e92ae5ac65b1ab0c6ad4d59f004cb887824962e01581c9305516dc406aee4edd4170b9eb53ed10f68f52a479be7d09c4c8f61bd808d112
SHA512
ff9de3fb23f8cad298ed298c75d46cee766e5af746deedaac5501f5cd7712111ddbdefc87408bbd72fd9754dee6bfe24dc19b72e75b5b6920fc62ddaeebcc6d4
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 rustix-0.37.23.crate 328010 BLAKE2B
299ad4b521b1008b6e864e9e52e523e97319d4b976343dccfe9705273f92930bbf7ca21c3e243c90ff7424fe881b55f38a2840701ab75bdb381f31ca91b1d9ff
SHA512
9dcc915b753b0ae9ea4d92d33f3a7c73e889ca0dc22abb95ec3d375e4188449d1bd6835c122598beb947fc8aaf884c59cc2cf55ab77f32480f5c17e789664988
diff --git a/dev-util/ruff/ruff-0.0.288.ebuild
b/dev-util/ruff/ruff-0.0.288.ebuild
new file mode 100644
index 000000000000..9d0fc95cd065
--- /dev/null
+++ b/dev-util/ruff/ruff-0.0.288.ebuild
@@ -0,0 +1,468 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.10
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+DISTUTILS_USE_PEP517=maturin
+
+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]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]+5.3.0-patched
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [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]+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]
+"
+
+declare -A GIT_CRATES=(
+
[unicode_names2]='https://github.com/youknowone/unicode_names2;4ce16aa85cbcdd9cc830410f1a72ef9a235f2fde;unicode_names2-%commit%'
+)
+
+inherit distutils-r1 cargo
+
+DESCRIPTION="An extremely fast Python linter, written in Rust"
+HOMEPAGE="
+ https://beta.ruff.rs/docs
+ https://github.com/charliermarsh/ruff
+"
+SRC_URI="
+ ${CARGO_CRATE_URIS}
+ https://github.com/charliermarsh/ruff/archive/refs/tags/v${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
+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# syn-ext
+LICENSE+="
+ BSD-2
+"
+
+# rustls-webpki
+LICENSE+="
+ ISC BSD
+"
+
+# LibCST
+LICENSE+="
+ MIT PSF-2 Apache-2.0
+"
+
+# ring
+LICENSE+="
+ ISC SSLeay openssl MIT
+"
+
+BDEPEND="
+ dev-util/patchelf
+ >=virtual/rust-1.71
+"
+
+QA_FLAGS_IGNORED="usr/bin/.* usr/lib.*/libruff.*.so"
+
+DOCS=(
+ BREAKING_CHANGES.md
+ CODE_OF_CONDUCT.md
+ CONTRIBUTING.md
+ README.md
+)
+
+src_prepare() {
+ sed -r 's:(strip[[:space:]]*=[[:space:]]*)true:\1false:' \
+ -i pyproject.toml || die
+
+ [[ -n ${PATCHES[*]} ]] && eapply "${PATCHES[@]}"
+ eapply_user
+}
+
+src_configure() {
+ export RUSTFLAGS="${RUSTFLAGS}"
+ cargo_src_configure
+}
+
+src_compile() {
+ cargo_src_compile
+
+ python_copy_sources
+ distutils-r1_src_configure
+ distutils-r1_src_compile
+
+ local solib
+ for solib in $(find target/$(usex 'debug' 'debug' 'release') -maxdepth
1 -name '*.so'); do
+ patchelf --set-soname "${solib##*/}" "${solib}" || die
+ done
+}
+
+src_test() {
+ cargo_src_test
+}
+
+# placeholder to silence QA warning, tests are in rust
+python_test() { :; }
+
+src_install() {
+ distutils-r1_src_install
+
+ local releasedir=target/$(usex 'debug' 'debug' 'release')
+
+ dobin ${releasedir}/{ruff{,_dev},flake8-to-ruff,ruff_python_formatter}
+ dolib.so $(find target/$(usex 'debug' 'debug' 'release') -maxdepth 1
-name '*.so')
+
+ dodoc "${DOCS[@]}"
+}