diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2024-08-29 11:59:46 -0700 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2024-08-29 12:00:01 -0700 |
commit | 6b2f2cee76444e12babe8a312fa90a79533fda1d (patch) | |
tree | 7219b4976e183a50ae22aa9a03fe42d1c691108c /dev-util/ruff | |
parent | net-misc/dropbox: add 206.4.6506 (diff) | |
download | gentoo-6b2f2cee76444e12babe8a312fa90a79533fda1d.tar.gz gentoo-6b2f2cee76444e12babe8a312fa90a79533fda1d.tar.bz2 gentoo-6b2f2cee76444e12babe8a312fa90a79533fda1d.zip |
dev-util/ruff: add 0.6.3
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-util/ruff')
-rw-r--r-- | dev-util/ruff/Manifest | 7 | ||||
-rw-r--r-- | dev-util/ruff/ruff-0.6.3.ebuild | 470 |
2 files changed, 477 insertions, 0 deletions
diff --git a/dev-util/ruff/Manifest b/dev-util/ruff/Manifest index 416c3697f52f..eb62ed83f89c 100644 --- a/dev-util/ruff/Manifest +++ b/dev-util/ruff/Manifest @@ -141,6 +141,7 @@ DIST kqueue-sys-1.0.4.crate 7160 BLAKE2B d75e152cfccbdf7ae000be14e0f84c6d1fd0729 DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8269ecb6be3ea6147bd00f7a588df15a91f44dfc18ada19b21faa71de4637c7d493a8628cbecd0e547d74e616a23 SHA512 e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8 DIST libc-0.2.155.crate 743539 BLAKE2B 42cdcf8d4a187383548b1f09d404474f168916d626d614463fe10a1fd886e972e1caf6297e75445214af3f31fe631d0927e54ec1cdc63e20082b3587e38dce16 SHA512 05354bba532b8338bda1f88f12c7f3893429734a06e33925fca2b99d49548ae5216e2cd84e782d2368a2dfef20b0e035e2dcad8dd13ede7119462a8c639b2807 DIST libc-0.2.157.crate 751276 BLAKE2B 06d1c97ec4f9a5296cb27b93d077f6a0c1eef8b884332d83fa1bd61f490a0801965d319c538b99aec41b0c3ec148d4554f9a31b3cd3c41252d0bd4f1df65f619 SHA512 e5bfd69228992ec41bf8ce165b6a33741ba0ea7aa0f94dceae449c9bdc5bc7be840784570efc8942fb733c24e08be00041a99f2e4892cb8adffca980e706994c +DIST libc-0.2.158.crate 751340 BLAKE2B a67318ab24bb86c4df682cdf846d51f5f0a69504567acff43cc6e724f2641521945dc75dddc10c1c265fda960cb28b528575b5d39ce321073844dbddbc77bdb8 SHA512 c2d90d58480cca3464db475d7c70cd66bc1492239d8183038b48def8f5d8a437a1e2a2f084cb2bd9456889221b10aa07981cd5e9bcbb6bea28a2bde3c76f1105 DIST libcst-1.4.0.crate 110834 BLAKE2B 60ccda8ed6fe74415e2d3a453a58eb8ecaa28ddbbecde12720d11557456824d963a8182f678d9af63730bf1df21102084d2dcb96f848a7800c98a22f32ee86d3 SHA512 f960d3c2e4a8f31f65666f3c1e900ab04d5d306f08ed9336e8cdd2f6160a3bf2dde286f4b3f1ee7bd900885d5fbd53a0c903f9746bf9edcd7f33aeae22937e8d DIST libcst_derive-1.4.0.crate 9303 BLAKE2B 4f6f05578fd57328b80913cb594b3cc6944b8ac62bbee747598a0502c044dc77e781836ef7b7e01046d92990514b5168c553f87ccafe2197c328bdd833b3c613 SHA512 6095719fbd5931d1e8e9e60ae7c03b03b9110ecc6054396e1a086e7fc7f1642a6085deff0d90d857ae8f0037aa8bf396a9b5a5660941c0de4cc659664a41034a DIST libmimalloc-sys-0.1.39.crate 198523 BLAKE2B 371751d8eabd682d879a4d85b163d3c2f3dc3968232241cd2d7b573a5b78164efa6cd90c2b81d350c69354fee5676edb3e37f75f676731fccc913a83878c7358 SHA512 db578da8722b82eafac3b587b2db24cbf95fbd85a25b7ce30286deb9eda6820b5d452ece7c3126a2d8c96400941dc3946b4cb2f46172241861405aa09a3a2451 @@ -205,6 +206,7 @@ DIST pyproject-toml-0.9.0.crate 6041 BLAKE2B 43947f872bffbdc37e1be5c8e0654f94ff0 DIST quick-junit-0.4.0.crate 20136 BLAKE2B a5b31361598f2b8edb18730fae091a824079dca4fa657c6482b0fcbc8d5882c1170eed313948a691b8addb0de5bbc44b845381e9b4d0285f523273073b88ce40 SHA512 fbe82e4531e7028d9d10ecdb0f1a2e3baf2231a0f7e7e28ca3dc3920c391b83972b9289a14c7f41695e5568e669164444f3e7ce562f3754a407271dc9aaf82c3 DIST quick-xml-0.31.0.crate 172236 BLAKE2B b83c7f485a30576027a4ae77aa23cd6284942d786f0f0a14faafdfecff646371ba15133b3ba90f820183c8537c8ac47ad3e1e7deaad65e56761bc662be406026 SHA512 9b1f4f9c32694ccb244938a9a4e9373c3902314afb6af5d2f6b1be55e5ec63fee5cf1085f8f32161570cc10fdd96f3375c7564b1d884bb152542b86593f175de 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 DIST rand_chacha-0.3.1.crate 15251 BLAKE2B 645771b2c3e274f085e0837a20306b1d59f6e9032fba8eb38a6d1b30180d15e2f89ffa2a162bf6358da41e030098242d81e71dab4321980d0a4f6ddfc2974ce3 SHA512 8198c580b1b9b0429758ffa49cd8138fa3ce724f0dcf73c767ea7e55611d6a2e4c7cad9950896510def500ce4062b594386c947ac3d89425b4e5c9b04d0b8075 DIST rand_core-0.6.4.crate 22666 BLAKE2B 8b6b66d50aade877f2779c006f8038db450f808c66d73d79efa66c4178dc03db06f12201bf0e7930181c4b0f4030c49b20cce6eb7839763cf2217cad9710789a SHA512 36c67eb845aa2ccca49d6d680f28d418229bbc5a050729e487fe6b9f9f384fdd7b8d67fc6508b90b79ffb3c26688e72feceb3ecae57d3d7f59338aeb62296f79 @@ -221,6 +223,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.1.gh.tar.gz 5008090 BLAKE2B 018934f8b4bc14ffc8cbc919ed0b7f4bd95fada42099dd25fd3494c5ea4e3e43b79f5aa58a9893031d19c37a1d3bffa9e5f938350e8398444d98fc4159cfc05b SHA512 b448c893c17d273edfc71774670726da533a3994b9dabcbe72a301523422af66e87e95cef964d71ebec19f8f5693d6cad17704d332d1c00bc0ab6cbcc497a644 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 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 @@ -240,12 +243,15 @@ DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb9 DIST seahash-4.1.0.crate 31976 BLAKE2B f553bcff7af9da9b024efd8db4ec8cbe4100dcf4ccd8f627c724fe4a34b678ef0be8da44e92ea55c4622b9f9f37228792a22c8bcdd54e652ca926eb3c7d37655 SHA512 4d9111dd2e491c7f6d49e0b79a3c23628c02d6603ac46e88ed137ca737830003b549ccb38087679de2cf0b02a53065b89f8d79e0ac9ddb66844d970cc6383f8b DIST serde-1.0.206.crate 78250 BLAKE2B 004a4e20d1749469772e21948e2818d6c9b138164fb2cb71d112458870cf39bc414f405a01228e193d356dd858e8d05d0866feb515c5cb5770fb6667985f9336 SHA512 f8eeeba71f18e56c6ba93634339eb91b633d49f249d593794987c94a30977c2b55f981cfa7344b2e6f687c63ec5a76da7fe13bd3d758484e81edfa94e5731b15 DIST serde-1.0.208.crate 78232 BLAKE2B 238de7207416756fd241568e47866716da33a6d4d0a72f47362e8d878fd87ec6a237c58ec3a79e7e87a64f2dd59a18970334c8f2db85fb841d16802e8ea9c695 SHA512 13468e827875d3ee8c8848ea3e71dc2e1087f9f434ce947d344208b112f4acb853eeee132a0da61166fd040a423fc8996c58c919ea795c23a09a4ed5e3ced288 +DIST serde-1.0.209.crate 78364 BLAKE2B f6b4c2bd931a8067482ca033211c4e85c0dfd6084cb599c38a9ba666cce30489685a3a6a8a539eb6e41141a52328943dccbfe25dbd857af16665094fdf7c3f45 SHA512 25d2236eedc08fa3b9d078a1971df705c4f428b7a4e6a2d28d9f0f9893c19de745bffffe3fa9f3c08074bf4359aaf09cc28770e4b14c21c66d6a0b9411738f7b DIST serde-wasm-bindgen-0.6.5.crate 21098 BLAKE2B 34b7a66752422c21031fb21202c8405c43a1e6758eb067b4fafeb24f812280e70bf16c27bbcfa4b4b5723e369bca81e42020677787a79277f32f71eaab6822fd SHA512 c457b1e8c83760d94eaf8eb49169cd620cc1fd8246af8953503c2bea9c4ae916f3de3b9070bfd4102a713f8d843b6ee96404e27b21a48c589b444aae0f9303b1 DIST serde_derive-1.0.206.crate 56193 BLAKE2B 3b6e8ab1b57459b181f73df7b53155ce4c197538dd0c9194479b1983a54f0d126f375f05aa8d9e3142fe85a1cc9caeaf8efc07214d808741a13a6620afd83a7f SHA512 8c6bf8905f6cc7fe778bfe9e0532226d683e69f052cfe0797e7d534e4b8353c68dd8520f6e09b8b2bbca7fa32b39d69b4524fee20140b375fd1adc49acef2719 DIST serde_derive-1.0.208.crate 56019 BLAKE2B 68812664bf69f8a65e2be984257975b765f183bdd07b2fd376a7a400e083f610b600855c93703e53a2d334e77e9064b52018c74eddcc953ad0aa9555cf1350c3 SHA512 4f7f1da39ca952ec8b40efe6bdf69bb7a7620f7ab7b344ada26e304622aee5c13fda301c89a6b360c2c1f9284c87918e340edd47186a7e1ed54ba8b2fa0f294b +DIST serde_derive-1.0.209.crate 56023 BLAKE2B 752bc9f46b880d0ed8a4f7e29ffde1343c63c4be1e9740afb1a28dcbff5bedfe077eb51c7052adecfbdbd9942c30b63a27914deb6401a2ecaf70fef0f64cd80a SHA512 22c4eb76412bd73814d0b86209b110b9e59626f64b41cbc250755144e545ff30fa69972ac93d74f988a3a6a239d9138f4e8a23b283c746a0aa5fcddfbe077cd6 DIST serde_derive_internals-0.29.0.crate 26065 BLAKE2B 522b09f139554a52201ac397323f0124b809e9e9ff6329b34afa99f90cdf65fb3cac8370d6ecb712b72dd8b5a1d96f7f7c4ffc9ac6718eaa8a66e1aaaa28d891 SHA512 ee6e53fc58aaefb2ff953bf58ef90af3c74151f5193fe7a75d8afbc6e3dfb83d54c514ee1403b5283bb7d25ff71d24c1d8622bf1bbe940e2ab8821938d4dff21 DIST serde_json-1.0.124.crate 148160 BLAKE2B 3cbac549c58b33a0ce3c8a68626ef96d75a46416a2d5018b3ade952edf001cbf12631ed650fb1650283ac3e506dacbeb564f61d842693d640c7abe34d2ee3984 SHA512 db47594b5030f8aa091d8f84585d87f53b7115888aaa84ac364eec4a8cc46619f42dbc7545908b503191ffc0d422883935243c30ee7d356ad58c84f1c943d4ee DIST serde_json-1.0.125.crate 148919 BLAKE2B 551b29a79dd35e20e7432b434a163b62ffcadcb40a7755946e25ea29f59a39c55a85d589f6b90d449847023d0021b6ab189e41b52922468df5c46ed663a012fd SHA512 45cc034bed4ad15a6698ed2b723b3540db255c7ba8014c103d3b7782f10a3a8e2f6d5fe5d0dc47b54286f01f20c21818a5dda670a942182a07dcd1d71bea67a1 +DIST serde_json-1.0.127.crate 149465 BLAKE2B da5048f70a0b7594be0112efbfccf8d6575a77b324d59321cbd34d355978aadb2ceea1bbcb182412547587235f58873ddd2232822f020e2db85c1599cb0bca8b SHA512 f14f5eeebe07261daded47c3cbb6d511da4633bfcc46ea1b0600063730dd4211a0c310959e4f8731a688d18d60a46f6dc1c1a1f052f170b6207877b93742a88b DIST serde_repr-0.1.19.crate 9997 BLAKE2B 1bfc8e94b8c3cf897813f4749d6a1112c1097c2c257821eb366073a41ac46084a21bdc0ee4e3b99d82444619a894472e24fccb60cbd8a41ab7d5b0469cad7c41 SHA512 678216a62702b3300fef850f10ee60d88f31de1fbeb7300e3fbbdc4e4a9cbc95c6890c8e7b9385223ec837d9504edd53e69b620f80609e54579c0994ed1ab0a1 DIST serde_spanned-0.6.7.crate 9164 BLAKE2B 559a62c0ac00a1559947224bd268842f35c52f65d0d52102c98b5e683dfe4c36acb015edf97c5f79ff818dc575b3ae43c3f100d18eb7afc3ab9c96e348ba6794 SHA512 d0ef413867a705080fa68f84a059b4d04b604bec59323329ded7ae03e0caec49c89fc53640c1e58c27bb23b5c9f260ed176ac52f3a93d25d8d7643252dba037f DIST serde_test-1.0.177.crate 18671 BLAKE2B 85efeedf5465ba9258f7138667cf547b4e3934b5b3cf36ceb09be04ec6ab32c77c43e7130cb1302a642586f0554c66ddaa5633f9644f9250c9db0b978993f8c3 SHA512 11be2b5f2f8e18ae5b787f26517cfd0be4750b021f792ec90f74425c54292c7b8e1525758b7fd9459d764fc1c104e6def95c14fe685261425aa162582074bc6c @@ -266,6 +272,7 @@ DIST strum_macros-0.26.4.crate 27531 BLAKE2B 7f7d57c957a1591054288fcae6590a5e669 DIST subtle-2.5.0.crate 13909 BLAKE2B 660c3a472ca54c9843ce3feea74b802e27fd7f62dd37a30e2a4ba82e4b3a71df63562e8865d5fc675d31d0900998a8730503f91a61450884446a3bdd6af0041b SHA512 f150b1e2037554f8cd3213a54ddbc258f8f670cc4f39e7084cdea4b47538dbc58b834bc93b443d58a4b9087224efc003234042aaf366687dbd32b1e7174082a0 DIST syn-2.0.74.crate 267998 BLAKE2B f47aa22011b42038a1db1486822335b7c2c2453de04ccd881ade8c17bab192667977b689925c36b3c579bf2086d516f2b26f48e81cdce22ed8798e2664195119 SHA512 c0b602d9ba5342aec609e67a3ecabfaf49cc81be86fb0cc8e576c1a882b36678de5b139fb41981f437fa49012c6493ab0f68a528910a10a3a86c98a22451aa93 DIST syn-2.0.75.crate 268805 BLAKE2B 936688757ef1b39df0ac34fb2b98e14d15ea5d500b7db7d0c6358c495a385686287f5220b1427c0f086c56fab9caa0eb1f4b1c8cc6e6079f5b9cd24332ce7626 SHA512 f200b5fc6656912471a976e81f460713e9194a962441eb984e26320fc9f197a1d09c6a0a6bba4ab9bd153720ff5b48758f4bac617735ca455c37cc3041f84e38 +DIST syn-2.0.76.crate 268798 BLAKE2B 5446965c6331fbb445a313ca8da9d8e7454e31d9a36c2f595747edc65c0d2a05e9d8e4e9fb6dbb30da8264c7db36b1cea14110201bb06e40bca69b25c3f79f1c SHA512 c633b9f68e67b3cbf2432d3648e42f8d92403877a0128becd22cb108c0cfab9f1bc6b941b9cde225d8b727890e9f86457fad05b544fd07be4c01c2e60a2cdeaa DIST synstructure-0.13.1.crate 18327 BLAKE2B b29ee88c559a2d58fa46b7af155b448f001649ea79a1898f0ac87e69108b87c65cbd287d8f9001f360df7fef06ff39c937b48d33e487a30c8eec6a46c639c0c2 SHA512 09024193b44fc9a8901bda845b9f86c57dad65d0f53e309b2e7e968538fab6f67db1c86e5e52a2eb8fd116dc073e3ad10983bd60764662ec6ba94fee22a958aa DIST tempfile-3.12.0.crate 34423 BLAKE2B a8b84f54a54be636f5b69791ca567e8b692d6a8485ef37e5a8340d26b32b1b0f9f8e9fcd9a2da90ec2fbd39c281d364dfc5723d06892832edb79ea5cf45d069c SHA512 1a27513548060984be894e6f8fc215831e4b2054b2244c6188bee76c477c001f294c762f2f4a14488c58c04e5d1473806d589c7bba1eaa2cc02d97656709be66 DIST terminal_size-0.3.0.crate 10096 BLAKE2B 097ef50a85945128dcfa36d8ea0fb15f11142c206462a32980dbbba4fe2872abd214823fe3c75e804f3159a97d6e929ec338860e9c89587da509fb9e6da5d339 SHA512 f3bc9144aa8a87556543584a2495df6267ce3bb017f3ed3d00fa43e89b5de783e1285ca62dbad9dd9c3b37e3a476a6f3ab0804eba2411cb594a569bbdb310681 diff --git a/dev-util/ruff/ruff-0.6.3.ebuild b/dev-util/ruff/ruff-0.6.3.ebuild new file mode 100644 index 000000000000..e9854ca9a83a --- /dev/null +++ b/dev-util/ruff/ruff-0.6.3.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=" + Inflector@0.11.4 + adler@1.0.2 + ahash@0.8.11 + aho-corasick@1.1.3 + allocator-api2@0.2.16 + android-tzdata@0.1.1 + android_system_properties@0.1.5 + anes@0.1.6 + annotate-snippets@0.6.1 + annotate-snippets@0.9.2 + anstream@0.6.13 + anstyle-parse@0.2.3 + anstyle-query@1.0.2 + anstyle-wincon@3.0.2 + anstyle@1.0.8 + anyhow@1.0.86 + append-only-vec@0.1.5 + arc-swap@1.7.1 + argfile@0.2.1 + arrayvec@0.7.4 + autocfg@1.2.0 + base64@0.22.0 + bincode@1.3.3 + bitflags@1.3.2 + bitflags@2.6.0 + bstr@1.10.0 + bumpalo@3.16.0 + byteorder@1.5.0 + cachedir@0.3.1 + camino@1.1.9 + cast@0.3.0 + castaway@0.2.3 + cc@1.0.95 + cfg-if@1.0.0 + cfg_aliases@0.1.1 + cfg_aliases@0.2.1 + chic@1.2.2 + chrono@0.4.38 + ciborium-io@0.2.2 + ciborium-ll@0.2.2 + ciborium@0.2.2 + clap@4.5.16 + clap_builder@4.5.15 + clap_complete@4.5.2 + clap_complete_command@0.6.1 + clap_complete_nushell@4.5.2 + clap_derive@4.5.13 + clap_lex@0.7.0 + clearscreen@3.0.0 + codspeed-criterion-compat@2.6.0 + codspeed@2.6.0 + colorchoice@1.0.0 + colored@2.1.0 + compact_str@0.8.0 + console@0.15.8 + console_error_panic_hook@0.1.7 + console_log@1.0.0 + core-foundation-sys@0.8.6 + countme@3.0.1 + crc32fast@1.4.0 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-channel@0.5.12 + crossbeam-deque@0.8.5 + crossbeam-epoch@0.9.18 + crossbeam-queue@0.3.11 + crossbeam-utils@0.8.19 + crossbeam@0.8.4 + crunchy@0.2.2 + ctrlc@3.4.5 + darling@0.20.8 + darling_core@0.20.8 + darling_macro@0.20.8 + dashmap@5.5.3 + dashmap@6.0.1 + diff@0.1.13 + dirs-sys@0.3.7 + dirs-sys@0.4.1 + dirs@4.0.0 + dirs@5.0.1 + drop_bomb@0.1.5 + dyn-clone@1.0.17 + either@1.11.0 + encode_unicode@0.3.6 + env_filter@0.1.0 + env_logger@0.11.5 + equivalent@1.0.1 + errno@0.3.8 + etcetera@0.8.0 + fastrand@2.0.2 + fern@0.6.2 + filetime@0.2.24 + flate2@1.0.28 + fnv@1.0.7 + form_urlencoded@1.2.1 + fs-err@2.11.0 + fsevent-sys@4.1.0 + getopts@0.2.21 + getrandom@0.2.14 + glob@0.3.1 + globset@0.4.14 + half@2.4.1 + hashbrown@0.14.5 + hashlink@0.9.1 + heck@0.5.0 + hermit-abi@0.3.9 + home@0.5.9 + humantime@2.1.0 + iana-time-zone-haiku@0.1.2 + iana-time-zone@0.1.60 + ident_case@1.0.1 + idna@0.5.0 + ignore@0.4.22 + imara-diff@0.1.7 + imperative@1.0.6 + indexmap@2.4.0 + indicatif@0.17.8 + indoc@2.0.5 + inotify-sys@0.1.5 + inotify@0.9.6 + insta-cmd@0.6.0 + insta@1.39.0 + instant@0.1.12 + is-docker@0.2.0 + is-macro@0.3.6 + is-terminal@0.4.12 + is-wsl@0.4.0 + itertools@0.10.5 + itertools@0.13.0 + itoa@1.0.11 + jobserver@0.1.32 + jod-thread@0.1.2 + js-sys@0.3.70 + kqueue-sys@1.0.4 + kqueue@1.0.8 + lazy_static@1.4.0 + libc@0.2.158 + libcst@1.4.0 + libcst_derive@1.4.0 + libmimalloc-sys@0.1.39 + libredox@0.1.3 + linked-hash-map@0.5.6 + linux-raw-sys@0.4.13 + lock_api@0.4.11 + log@0.4.22 + lsp-server@0.7.6 + matchers@0.1.0 + matches@0.1.10 + matchit@0.8.4 + memchr@2.7.4 + mimalloc@0.1.43 + minicov@0.3.5 + minimal-lexical@0.2.1 + miniz_oxide@0.7.2 + mio@0.8.11 + natord@1.0.9 + newtype-uuid@1.1.0 + nix@0.28.0 + nix@0.29.0 + nom@7.1.3 + notify@6.1.1 + nu-ansi-term@0.46.0 + nu-ansi-term@0.50.1 + num-traits@0.2.18 + number_prefix@0.4.0 + once_cell@1.19.0 + oorandom@11.1.3 + option-ext@0.2.0 + ordermap@0.5.2 + os_str_bytes@7.0.0 + overload@0.1.1 + parking_lot@0.12.3 + parking_lot_core@0.9.9 + paste@1.0.14 + path-absolutize@3.1.1 + path-dedot@3.1.1 + path-slash@0.2.1 + pathdiff@0.2.1 + peg-macros@0.8.2 + peg-runtime@0.8.2 + peg@0.8.2 + pep440_rs@0.4.0 + pep440_rs@0.6.6 + pep508_rs@0.3.0 + percent-encoding@2.3.1 + phf@0.11.2 + phf_codegen@0.11.2 + phf_generator@0.11.2 + phf_shared@0.11.2 + pin-project-lite@0.2.14 + pkg-config@0.3.30 + portable-atomic@1.6.0 + ppv-lite86@0.2.17 + pretty_assertions@1.4.0 + proc-macro2@1.0.86 + pyproject-toml@0.9.0 + quick-junit@0.4.0 + quick-xml@0.31.0 + quote@1.0.37 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rayon-core@1.12.1 + rayon@1.10.0 + redox_syscall@0.4.1 + redox_syscall@0.5.3 + redox_users@0.4.5 + regex-automata@0.1.10 + regex-automata@0.4.6 + regex-syntax@0.6.29 + regex-syntax@0.8.3 + regex@1.10.6 + ring@0.17.8 + rust-stemmers@1.2.0 + rustc-hash@1.1.0 + rustc-hash@2.0.0 + rustix@0.38.34 + rustls-pki-types@1.7.0 + rustls-webpki@0.102.5 + rustls@0.23.10 + rustversion@1.0.15 + ryu@1.0.17 + same-file@1.0.6 + schemars@0.8.21 + schemars_derive@0.8.21 + scoped-tls@1.0.1 + scopeguard@1.2.0 + seahash@4.1.0 + serde-wasm-bindgen@0.6.5 + serde@1.0.209 + serde_derive@1.0.209 + serde_derive_internals@0.29.0 + serde_json@1.0.127 + serde_repr@0.1.19 + serde_spanned@0.6.7 + serde_test@1.0.177 + serde_with@3.9.0 + serde_with_macros@3.9.0 + sharded-slab@0.1.7 + shellexpand@3.1.0 + similar@2.5.0 + siphasher@0.3.11 + smallvec@1.13.2 + spin@0.9.8 + static_assertions@1.1.0 + strip-ansi-escapes@0.2.0 + strsim@0.10.0 + strsim@0.11.1 + strum@0.26.3 + strum_macros@0.26.4 + subtle@2.5.0 + syn@2.0.76 + synstructure@0.13.1 + tempfile@3.12.0 + terminal_size@0.3.0 + terminfo@0.8.0 + test-case-core@3.3.1 + test-case-macros@3.3.1 + test-case@3.3.1 + thiserror-impl@1.0.63 + thiserror@1.0.63 + thread_local@1.1.8 + tikv-jemalloc-sys@0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 + tikv-jemallocator@0.6.0 + tinytemplate@1.2.1 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + toml@0.8.19 + toml_datetime@0.6.8 + toml_edit@0.22.20 + tracing-attributes@0.1.27 + tracing-core@0.1.32 + tracing-flame@0.2.0 + tracing-indicatif@0.3.6 + tracing-log@0.2.0 + tracing-subscriber@0.3.18 + tracing-tree@0.4.0 + tracing@0.1.40 + typed-arena@2.0.2 + unic-char-property@0.9.0 + unic-char-range@0.9.0 + unic-common@0.9.0 + unic-ucd-category@0.9.0 + unic-ucd-version@0.9.0 + unicode-bidi@0.3.15 + unicode-ident@1.0.12 + unicode-normalization@0.1.23 + unicode-width@0.1.13 + unicode_names2@1.2.2 + unicode_names2_generator@1.2.2 + unscanny@0.1.0 + untrusted@0.9.0 + ureq@2.10.1 + url@2.5.2 + utf8parse@0.2.1 + uuid-macro-internal@1.10.0 + uuid@1.10.0 + valuable@0.1.0 + version_check@0.9.4 + vt100@0.15.2 + vte@0.11.1 + vte_generate_state_changes@0.1.1 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.93 + wasm-bindgen-futures@0.4.43 + wasm-bindgen-macro-support@0.2.93 + wasm-bindgen-macro@0.2.93 + wasm-bindgen-shared@0.2.93 + wasm-bindgen-test-macro@0.3.43 + wasm-bindgen-test@0.3.43 + wasm-bindgen@0.2.93 + web-sys@0.3.69 + web-time@1.1.0 + webpki-roots@0.26.1 + which@6.0.1 + wild@2.2.1 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.8 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-core@0.52.0 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.48.5 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.6 + winnow@0.6.18 + winsafe@0.0.19 + yansi-term@0.1.2 + yansi@0.5.1 + zerocopy-derive@0.7.32 + zerocopy@0.7.32 + zeroize@1.7.0 + zip@0.6.6 + zstd-safe@5.0.2+zstd.1.5.2 + zstd-sys@2.0.11+zstd.1.5.6 + zstd@0.11.2+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[@]}" +} |