diff --git a/dev-python/pyrefly/Manifest b/dev-python/pyrefly/Manifest index aca0fc3dcf..9982b89266 100644 --- a/dev-python/pyrefly/Manifest +++ b/dev-python/pyrefly/Manifest @@ -29,6 +29,7 @@ DIST backtrace-rs-df979dcf80027eb047d7bb9e0874710c15009f31.gh.tar.gz 99194 BLAKE DIST base64-0.22.1.crate 81597 BLAKE2B 6f216a560bd36e6e6b74e908344b457594cc768d9763070e269b56a14b150cbfc4b7f599d4c2a0a5f783638170ee132f0796fefb14fcac7fd73c58db0791007a SHA512 91cf2e4e7fc8815f9b8a86a7fa722a20eee3dc1dd57111b29e420de87ce7836bcdb1db01d3cafb9a977710ef63e7cc41b7772762323e68e0e832156858aace20 DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 DIST bitflags-2.11.0.crate 48906 BLAKE2B 35764719b3070c5f9b51d35297803306ce01823ef07d720e5ea5e112c072b45c4d497f6b63285b1a0fce2842b1468bc252b00564c2ece14211d2af2cd26c2faa SHA512 d6c0de6c06ed8d1249dd69de035dfe5b23d9f1a8fcdc7535756622cf660807c5e1c692dee1ac832c06be1ce41b225e3d60f36be4d1896bab7d986d18946f6c48 +DIST bitflags-2.11.1.crate 49082 BLAKE2B c9c875b54e0a12115ecd846ef0a66bc7070d38892285a4142f1b1f26b07d407fa440a2943f310046f5fbc9a2428fcc56f2e44d06360e551d4b27c9b8cf93eab0 SHA512 c91b5a8b420d8e875a0906ef9b518a392487fba5399355aa5e908132149ddea7cc4222dd271cd5072e50dd9abd6e56420f4205652ba32a57af46bf07636604b7 DIST blake3-1.8.2.crate 205967 BLAKE2B ec9afd8f3fda5ac545fae869e4af941a4ae30473cb3e5a0b0f128c1dbf0c6231e3cf87decdfc765b69b99e2b2879f3f345ff7bf738911557740fb0445c9e028c SHA512 8635c3ac12c7f333912a6f42c75499395d6178a0dca810d9199bb533facb409970b17bff4b7f55731a7d5d75932e62b236e1651ed0388e2796024bd7dd2852b8 DIST block-buffer-0.10.2.crate 10258 BLAKE2B d3ad2f9f0379e04320e954e1a2226949d83cc1acdda806b98329a5ddcfdbbafdf511907d99ad7daae271a2981ad0c39de218968c22c3487e21a32817d41c23fa SHA512 8f1d99af7c08bf3b54ba7383cf0272eb5a8137f6244bc2d7e6d6761016614514ad7d27c5c51946c5cd7becd84b320f62fc2770e7aa07038d370505c29e032078 DIST bstr-1.12.1.crate 354916 BLAKE2B 07b8e047c7a115d7d722ef57a37c5ac1e7ddba080e35b4eed78c3104cd92f08af5e67609faaa7a480ae15031f54c3f5d88784e23c96e659a7f4800c42dad45c3 SHA512 63a1e62d43c4dce00f287421b1ec76accbbab7f0897c8df26227f533af325896c0c8921a873f4125381e7b89fbb69a4358a96698ec6ee61191955464ff1c84ac @@ -259,6 +260,8 @@ DIST pyrefly-0.62.0.tar.gz 5537672 BLAKE2B 1349e503934f01e1ada429f0e87fe8a26456e DIST pyrefly-0.62.0.tar.gz.provenance 9407 BLAKE2B 60748d373223a05d111cbea42b330980e86720e55f9773d3dce2258f28e93084389d618e7982f7d86951f69de2afc4b79a16be502cb381a8be5ce950bb90ff4e SHA512 46486cb80aaf890f07566be0baac3b8e913897755250af5ee1b4a46f779738ed8bf806ee9491ac09c03db2b03f628657ec56bb158f3cfbdaa59cd73c83e9a9fa DIST pyrefly-0.63.0.tar.gz 5562304 BLAKE2B e5528bf0ad9ef5effcc00dbced4afd6a8bc6b8080bfb92e32b5eefd24a1cf4c64e7ad1e406c8d7fe98f672375393b7e8ba44a3e35f529c322a00c123c671db87 SHA512 fdc8ae9f27b58db48a425fc55cb98a76cc038b37917d1db90fdc7616541625d682f8de2df8b24fd380eb34fa998ff97a104c36c107cc448597a38bbfa1dbba14 DIST pyrefly-0.63.0.tar.gz.provenance 9505 BLAKE2B bc8efb6af1f0738ccf803beccb372679e3c76c134249ec528fc7ee00f19fb647a5c8d415f32925cdd04f6f22142c4b9d061cee3d2a4f3362b671db8c519f0f8a SHA512 c448677578026d7ee5ffc2f253a7a7a3c7a7cfd1621ad6f3c98ecffe06e90e97dcba0741175aa5227739e41e6af024bcf39e1a6145f355a1f9930d5e0ecb22be +DIST pyrefly-0.63.1.tar.gz 5574619 BLAKE2B 9990be6223d6fe10e842713bd9befb88f955edc81fdb9154b18b1913efd419d7c2d7c13ea03ea75bc88c2b58f125ada1655d9cef26de4f161a3982e7276aac1c SHA512 48c59f7447ab88f7cdf70461b9bbe6a3ac413518005ff96fb351157110cca72fa342a51c8196e65f21a2e97af7cc41feaf9c6d973699fb5a74cc8fae73b15526 +DIST pyrefly-0.63.1.tar.gz.provenance 9368 BLAKE2B 8cc7a3439d8c5d28c28429487efe267091feccfd890b7b460d12402184af433dc4a9031c77346b54a87b12bec3be3fb5e7fee7d0192ad1820af893083fa854b7 SHA512 f82e970bc4435ec9ff725e33bab57f4c993b523056216fbc45ad78c10e3e16ecc73e5c116e828887a7ba3b56dc89f54b1938d318f8d0574ccc53841061212808 DIST quickcheck-6ecdf5bb4b0132ce66670b4d46453aa022ea892c.gh.tar.gz 29222 BLAKE2B 6ef1d6f2fb27f382c78691a952363d5a4263a20f85ba19cba8010b5d7ef6d862f7f5f5c0cb88949a59e81143ba3aeaa4fd2e4cda7371de771ef8f5ca3a5c0d3c SHA512 e52a65947432f3a92d47c54df3645a1b3aa721b74c1357281d9d06c56b85e816794082dfaa1f2f9de2239fa156e2eb18003c6ca4fe3b13fcec4dd90a157aadb1 DIST quote-1.0.45.crate 31564 BLAKE2B 1b2c2c3e6ebabfe10affa4c43ca0bfd1f52d8fd49e1df463e13e63a82de41272089c8e09e4c02e8a33cfee768ace26d4d42a50752de8fb5a776c59806139ad5d SHA512 df96ede01ebd0ed642b758bf1d0862d0e116fc2b3343e14edb657ce5438ccabe743dec4a0a40de4dee98c134d169af9aba459faadf9c7a832b26377e755d49b0 DIST quote-use-0.8.4.crate 3067 BLAKE2B e60ff6700aceb55275013c5cb12f5d6b358879d31173d32aa40d3cc07bfdef26ff70a441e6c56719a43aff527dbc46558117380a0a5ba3a51bc90adcd6eba610 SHA512 eb14fc2fa9f63ab7c544eba0f0de36516896d7389c9bbef82ca4ad9343c720261943d512d04f195989f8fd4347ec169ad400a96ab8d36e9ccac7567b2f22d19a @@ -268,9 +271,11 @@ DIST rand-0.10.0.crate 105828 BLAKE2B 070501bad8905263faccbf729cae157d79d17c8059 DIST rand-0.10.1.crate 105801 BLAKE2B f442da8e90eace94adb0d7a1835d54091b0940d5ac75adf60b337edc1964776c06ed06f0e97fd719d7fce4c187d33d7fdc29fe74d5caea05eb2d81e12bb05882 SHA512 514af678610fd4a2abf7cfb8f9e0d738e600b492dce8dff0d30b5e637de5f84995cde4fc29e7ba4884361693087fe94c27544d2ddfc1960fa724d2e375de9f95 DIST rand-0.8.5.crate 87113 BLAKE2B 516f26bb2a969d0d79e957818133f35d2c0b4d9f1b401098ea23c5b80d27599e842b9298c0c5e46e2a6cb6953857bf8a9fb71ec9366c5ce6708cf17df14f179c SHA512 8b33a8988906ba5e2057a9a84bdd11f867a5536c22f5056eec59ed4ec4e3a6da2fd773da4c0510d343762e5a4ea0f007db4c4a7cef87a47f90e36c1a84d86fb2 DIST rand-0.9.2.crate 99930 BLAKE2B 4440c21211e3c09daf8797de5ae1c7c461ead207456ad0a0405c6da266de51427dbd68090c461f1a349a04064e4bdba8151656e2e9f7c17be1f4aaeec1e26f3a SHA512 91faee823d9a3b109135182b9566e6327881736359c9d68358ad7dc78eac1e845c553820e2450ca481cae1e0969ec6566e72f7f9233251b1f9133449306f2965 +DIST rand-0.9.4.crate 99786 BLAKE2B a6a3c106a8f89cc5f066497fa976b43f577a10b673f1023e28da03f116caec679d85108e112114485ea8536a8edf93f849314f27925081b3d2618d61c4e65f70 SHA512 3b78989d418b84dc00833237e1e83d93a263d67d9ef8570785d1917a7dc731103db1b790643def196d66bd8f163da49994742791a1b2d9da03f854a0176e68ac DIST rand_chacha-0.3.1.crate 15251 BLAKE2B 645771b2c3e274f085e0837a20306b1d59f6e9032fba8eb38a6d1b30180d15e2f89ffa2a162bf6358da41e030098242d81e71dab4321980d0a4f6ddfc2974ce3 SHA512 8198c580b1b9b0429758ffa49cd8138fa3ce724f0dcf73c767ea7e55611d6a2e4c7cad9950896510def500ce4062b594386c947ac3d89425b4e5c9b04d0b8075 DIST rand_chacha-0.9.0.crate 18258 BLAKE2B aa0efd158877a116b2587177f2da84832ba8153b629aaf8181ca7622bc8ea624b5a5d205d1b745caafaad78d5a55aa08a4f35822b8925acdf7d1212baf62abeb SHA512 f62a7bb067ff984049c96cddccc841cd9931daeb5b25bb69f056bfe577f62b1b35c08f2bb5028590eefa04a9369beead4e6b03607eec97256e0383b20542af96 DIST rand_core-0.10.0.crate 22778 BLAKE2B f27a8bc7d691a0f738fe5ae39aec1741f39cee34b02e75f3653e9efa7dd64760b858678ce3aab453968378a7d6a0e242ea921ae6c642f2bd779fe34a9c0b2ed8 SHA512 4b75b43183c0ee19b8c1dec3fa8a1eaebd11556569bd02eb2f5c0497a84543f77c6f4adaf7011d372628abcb7e187686236550a6a2d85b8b2091fe60c1ad4426 +DIST rand_core-0.10.1.crate 22833 BLAKE2B 2fb3972c7a83060afd88e3e1c97c26ac2236222c02259b421109406047fa7599e3408db34d22037eac42887d129692d163b5466190c87cb18b97ea6e12f1ea6b SHA512 7095ef3932cb731fd52a18208100aa01e27cc66aaafd933b70444158258ab2e9542ef0f1d0564f2db8846da597c9b4be5a3c0f865e68607b7d1725582282b94d DIST rand_core-0.6.4.crate 22666 BLAKE2B 8b6b66d50aade877f2779c006f8038db450f808c66d73d79efa66c4178dc03db06f12201bf0e7930181c4b0f4030c49b20cce6eb7839763cf2217cad9710789a SHA512 36c67eb845aa2ccca49d6d680f28d418229bbc5a050729e487fe6b9f9f384fdd7b8d67fc6508b90b79ffb3c26688e72feceb3ecae57d3d7f59338aeb62296f79 DIST rand_core-0.9.5.crate 24129 BLAKE2B b259f980ad82cce5d7871d7d72adceccdf75348c9adc628308cede24b603df4c1978fcb9976574d99d1024207bd496df6359a998f7a6f1b235d3f16fd8556252 SHA512 0ae54e2fdc0fa8f6a2dd46fe29de26ac397b9f5c805424b3d06e467cf1d09762d66c7eb07ada74adb64ced326f15d4f415e665979d5de2b3f8e8cc1196547c56 DIST rayon-1.11.0.crate 182470 BLAKE2B 40a21dac636e7a652d62d9db520bc50a7a0019f0f96aec6a9002dffdef3d7ee0b2a323e4c3022e5cbaa22efe52bc72573bcfc7d399dffc853bec08190ea4eab6 SHA512 24238ba604099b3e58282b7338ccc63e52621e329ac908d7f3799c632f4ff97ae305a5b361479d4d7d0f09b76f49ab3b75c4187c41542caaca0575d51c299d2c diff --git a/dev-python/pyrefly/pyrefly-0.63.1.ebuild b/dev-python/pyrefly/pyrefly-0.63.1.ebuild new file mode 100644 index 0000000000..bbcddd5510 --- /dev/null +++ b/dev-python/pyrefly/pyrefly-0.63.1.ebuild @@ -0,0 +1,514 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.15.1 + +EAPI=8 + +RUST_MIN_VER="1.89" +PYPI_VERIFY_REPO=https://github.com/facebook/pyrefly/ + +CRATES=" + Inflector@0.11.4 + addr2line@0.25.1 + adler2@2.0.0 + ahash@0.8.12 + aho-corasick@1.1.4 + allocative@0.3.4 + allocative_derive@0.3.3 + allocator-api2@0.2.21 + android_system_properties@0.1.5 + anstream@0.6.21 + anstream@1.0.0 + anstyle-parse@0.2.0 + anstyle-parse@1.0.0 + anstyle-query@1.0.0 + anstyle-wincon@3.0.7 + anstyle@1.0.14 + anyhow@1.0.102 + append-only-vec@0.1.8 + arc-swap@1.9.1 + argfile@0.2.1 + arrayref@0.3.9 + arrayvec@0.7.6 + atomic@0.5.3 + attribute-derive-macro@0.10.3 + attribute-derive@0.10.3 + autocfg@1.1.0 + backtrace-on-stack-overflow@0.3.0 + base64@0.22.1 + bitflags@1.3.2 + bitflags@2.11.1 + blake3@1.8.2 + block-buffer@0.10.2 + bstr@1.12.1 + bumpalo@3.20.2 + byteorder@1.5.0 + bytes@1.11.1 + capnp@0.25.4 + castaway@0.2.4 + cc@1.2.61 + cfg-if@1.0.4 + chacha20@0.10.0 + chrono@0.4.44 + clap@4.6.1 + clap_builder@4.6.0 + clap_derive@4.6.1 + clap_lex@1.0.0 + codespan-reporting@0.12.0 + collection_literals@1.0.2 + colorchoice@1.0.0 + compact_str@0.8.0 + compact_str@0.9.0 + configparser@3.1.0 + console@0.16.1 + console_error_panic_hook@0.1.7 + const-str@0.4.3 + constant_time_eq@0.3.1 + convert_case@0.11.0 + core-foundation-sys@0.8.7 + cpufeatures@0.2.17 + cpufeatures@0.3.0 + crossbeam-channel@0.5.15 + crossbeam-deque@0.8.6 + crossbeam-epoch@0.9.18 + crossbeam-utils@0.8.21 + crypto-common@0.1.7 + ctor@0.1.26 + darling@0.23.0 + darling_core@0.23.0 + darling_macro@0.23.0 + dashmap@5.5.3 + deranged@0.5.5 + derivative@2.2.0 + derive-where@1.5.0 + diff@0.1.13 + digest@0.10.7 + dupe@0.9.1 + dupe_derive@0.9.1 + dyn-clone@1.0.20 + either@1.15.0 + embedded-io@0.7.1 + encode_unicode@1.0.0 + enum-iterator-derive@1.5.0 + enum-iterator@2.3.0 + env_logger@0.8.4 + equivalent@1.0.2 + errno@0.3.14 + faster-hex@0.6.1 + fastrand@2.4.1 + filetime@0.2.27 + find-msvc-tools@0.1.9 + foldhash@0.1.5 + foldhash@0.2.0 + form_urlencoded@1.2.2 + fs-err@2.11.0 + fsevent-sys@4.1.0 + futures-channel@0.3.32 + futures-core@0.3.32 + futures-executor@0.3.32 + futures-io@0.3.32 + futures-macro@0.3.32 + futures-sink@0.3.32 + futures-task@0.3.32 + futures-util@0.3.32 + futures@0.1.31 + futures@0.3.32 + fuzzy-matcher@0.3.7 + fxhash@0.2.1 + generic-array@0.14.7 + get-size-derive2@0.7.4 + get-size2@0.7.4 + getopts@0.2.21 + getrandom@0.2.17 + getrandom@0.3.4 + getrandom@0.4.1 + gimli@0.32.3 + glob@0.3.3 + globset@0.4.18 + hashbrown@0.12.3 + hashbrown@0.14.5 + hashbrown@0.15.5 + hashbrown@0.16.1 + hashbrown@0.17.0 + heck@0.5.0 + hex@0.4.3 + home@0.5.12 + human_bytes@0.4.3 + iana-time-zone-haiku@0.1.1 + iana-time-zone@0.1.65 + icu_collections@2.2.0 + icu_locale_core@2.2.0 + icu_normalizer@2.2.0 + icu_normalizer_data@2.2.0 + icu_properties@2.2.0 + icu_properties_data@2.2.0 + icu_provider@2.2.0 + id-arena@2.3.0 + ident_case@1.0.1 + idna@1.1.0 + idna_adapter@1.2.1 + ignore@0.4.25 + index_vec@0.1.4 + indexmap@1.9.2 + indexmap@2.14.0 + indicatif@0.18.4 + inotify-sys@0.1.5 + inotify@0.11.1 + instant@0.1.12 + interpolator@0.5.0 + is-macro@0.3.6 + is_terminal_polyfill@1.70.1 + itertools@0.10.5 + itertools@0.14.0 + itoa@0.4.8 + itoa@1.0.18 + jobserver@0.1.34 + js-sys@0.3.95 + kqueue-sys@1.0.4 + kqueue@1.1.1 + lazy_static@1.5.0 + leb128fmt@0.1.0 + libc@0.2.183 + libmimalloc-sys@0.1.44 + libredox@0.1.12 + link-cplusplus@1.0.9 + linux-raw-sys@0.12.1 + linux-raw-sys@0.4.15 + litemap@0.8.1 + lock_api@0.4.14 + lock_free_hashtable@0.1.2 + log@0.4.29 + lsp-server@0.7.9 + manyhow-macros@0.11.4 + manyhow@0.11.4 + maplit@1.0.2 + matchers@0.2.0 + memchr@2.8.0 + memmap2@0.9.10 + memoffset@0.6.5 + memory-stats@1.2.0 + mimalloc@0.1.48 + miniz_oxide@0.8.8 + mio@1.2.0 + nix@0.23.1 + notify-types@2.0.0 + notify@8.2.0 + nu-ansi-term@0.50.1 + num-bigint@0.4.6 + num-conv@0.2.0 + num-integer@0.1.46 + num-traits@0.2.19 + num_threads@0.1.3 + object@0.37.3 + once_cell@1.21.4 + os_str_bytes@7.1.1 + parking_lot@0.11.2 + parking_lot@0.12.5 + parking_lot_core@0.8.5 + parking_lot_core@0.9.12 + parse-display-derive@0.8.2 + parse-display@0.8.2 + paste@1.0.15 + path-absolutize@3.1.1 + path-dedot@3.1.1 + pathdiff@0.2.3 + percent-encoding@2.3.2 + phf@0.11.3 + phf_codegen@0.11.3 + phf_generator@0.11.1 + phf_shared@0.11.3 + pin-project-lite@0.2.17 + pkg-config@0.3.33 + portable-atomic@1.13.1 + potential_utf@0.1.4 + powerfmt@0.2.0 + ppv-lite86@0.2.21 + pretty_assertions@1.4.1 + prettyplease@0.2.37 + proc-macro-utils@0.10.0 + proc-macro2@1.0.106 + prost-derive@0.11.9 + prost-types@0.11.9 + prost@0.11.9 + pulldown-cmark-escape@0.11.0 + pulldown-cmark@0.13.3 + quote-use-macros@0.8.4 + quote-use@0.8.4 + quote@1.0.45 + r-efi@5.2.0 + rand@0.10.1 + rand@0.8.5 + rand@0.9.4 + rand_chacha@0.3.1 + rand_chacha@0.9.0 + rand_core@0.10.1 + rand_core@0.6.4 + rand_core@0.9.5 + rayon-core@1.13.0 + rayon@1.12.0 + redox_syscall@0.2.10 + redox_syscall@0.5.6 + redox_syscall@0.7.0 + ref-cast-impl@1.0.25 + ref-cast@1.0.25 + regex-automata@0.4.13 + regex-syntax@0.7.5 + regex-syntax@0.8.8 + regex@1.12.3 + relative-path@1.9.3 + rustc-demangle@0.1.27 + rustc-hash@2.1.2 + rustix@0.38.44 + rustix@1.1.4 + rustversion@1.0.22 + ryu@0.2.8 + ryu@1.0.23 + same-file@1.0.6 + schemars@0.9.0 + schemars@1.2.1 + scopeguard@1.2.0 + scratch@1.0.6 + seahash@4.1.0 + semver@1.0.28 + serde-wasm-bindgen@0.6.5 + serde@1.0.228 + serde_bser@0.4.0 + serde_bytes@0.11.19 + serde_core@1.0.228 + serde_derive@1.0.228 + serde_json@1.0.149 + serde_jsonrc@0.1.0 + serde_repr@0.1.20 + serde_spanned@1.1.1 + serde_with@3.18.0 + serde_with_macros@3.18.0 + sha2@0.10.9 + sharded-slab@0.1.4 + shlex@1.3.0 + signal-hook-registry@1.4.5 + siphasher@1.0.1 + slab@0.4.12 + smallvec@1.15.1 + socket2@0.6.3 + sorted_vector_map@0.2.1 + stable_deref_trait@1.2.0 + starlark_map@0.13.0 + static_assertions@1.1.0 + static_interner@0.1.1 + strsim@0.10.0 + strsim@0.11.1 + structmeta-derive@0.2.0 + structmeta@0.2.0 + subtle@2.6.1 + syn@1.0.109 + syn@2.0.117 + synstructure@0.13.2 + tar@0.4.45 + tempfile@3.27.0 + termcolor@1.4.1 + terminal_size@0.4.4 + thiserror-impl@1.0.69 + thiserror-impl@2.0.18 + thiserror@1.0.69 + thiserror@2.0.18 + thread_local@1.1.9 + tikv-jemalloc-sys@0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 + tikv-jemallocator@0.6.1 + time-core@0.1.8 + time-macros@0.2.27 + time@0.3.47 + tinystr@0.8.3 + tinyvec@1.11.0 + tinyvec_macros@0.1.0 + tokio-macros@2.7.0 + tokio-util@0.6.10 + tokio@1.52.1 + toml@0.9.12+spec-1.1.0 + toml_datetime@0.7.5+spec-1.1.0 + toml_edit@0.23.10+spec-1.0.0 + toml_parser@1.1.2+spec-1.1.0 + toml_writer@1.1.1+spec-1.1.0 + tracing-attributes@0.1.31 + tracing-core@0.1.36 + tracing-log@0.2.0 + tracing-serde@0.2.0 + tracing-subscriber@0.3.23 + tracing@0.1.44 + triomphe@0.1.15 + typenum@1.19.0 + unicase@2.9.0 + unicode-ident@1.0.24 + unicode-normalization@0.1.25 + unicode-segmentation@1.13.2 + unicode-width@0.1.14 + unicode-width@0.2.2 + unicode-xid@0.2.6 + unicode_names2@1.2.2 + unicode_names2_generator@1.2.2 + unit-prefix@0.5.1 + url@2.5.8 + utf8_iter@1.0.4 + utf8parse@0.2.2 + uuid-rng-internal@1.23.1 + uuid@1.23.1 + valuable@0.1.1 + vec1@1.12.1 + version_check@0.9.5 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + wasip2@1.0.1+wasi-0.2.4 + wasip3@0.4.0+wasi-0.3.0-rc-2026-01-06 + wasm-bindgen-macro-support@0.2.118 + wasm-bindgen-macro@0.2.118 + wasm-bindgen-shared@0.2.118 + wasm-bindgen@0.2.118 + wasm-encoder@0.244.0 + wasm-metadata@0.244.0 + wasmparser@0.244.0 + watchman_client@0.9.0 + web-time@1.1.0 + which@4.4.2 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.11 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-core@0.62.2 + windows-implement@0.60.2 + windows-interface@0.59.3 + windows-link@0.2.1 + windows-result@0.4.1 + windows-strings@0.5.1 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-sys@0.60.2 + windows-sys@0.61.2 + windows-targets@0.48.5 + windows-targets@0.52.6 + windows-targets@0.53.2 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_gnullvm@0.53.0 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.6 + windows_aarch64_msvc@0.53.0 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.6 + windows_i686_gnu@0.53.0 + windows_i686_gnullvm@0.52.6 + windows_i686_gnullvm@0.53.0 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.6 + windows_i686_msvc@0.53.0 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnu@0.53.0 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_gnullvm@0.53.0 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.6 + windows_x86_64_msvc@0.53.0 + winnow@0.7.15 + winnow@1.0.1 + wit-bindgen-core@0.51.0 + wit-bindgen-rust-macro@0.51.0 + wit-bindgen-rust@0.51.0 + wit-bindgen@0.46.0 + wit-bindgen@0.51.0 + wit-component@0.244.0 + wit-parser@0.244.0 + writeable@0.6.2 + xattr@1.6.1 + xxhash-rust@0.8.15 + yansi@1.0.1 + yoke-derive@0.8.2 + yoke@0.8.2 + zerocopy-derive@0.8.48 + zerocopy@0.8.48 + zerofrom-derive@0.1.7 + zerofrom@0.1.7 + zerotrie@0.2.4 + zerovec-derive@0.11.3 + zerovec@0.11.6 + zmij@1.0.21 + zstd-safe@7.2.4 + zstd-sys@2.0.16+zstd.1.5.7 + zstd@0.13.3 +" + +declare -A GIT_CRATES=( + [backtrace]='https://github.com/rust-lang/backtrace-rs;df979dcf80027eb047d7bb9e0874710c15009f31;backtrace-rs-%commit%' + [cxx-build]='https://github.com/facebookexperimental/cxx;870ebbecad0f6be394d4f9fb9bd62b551662651a;cxx-%commit%/gen/build' + [cxx]='https://github.com/facebookexperimental/cxx;870ebbecad0f6be394d4f9fb9bd62b551662651a;cxx-%commit%' + [cxxbridge-cmd]='https://github.com/facebookexperimental/cxx;870ebbecad0f6be394d4f9fb9bd62b551662651a;cxx-%commit%/gen/cmd' + [cxxbridge-flags]='https://github.com/facebookexperimental/cxx;870ebbecad0f6be394d4f9fb9bd62b551662651a;cxx-%commit%/flags' + [cxxbridge-macro]='https://github.com/facebookexperimental/cxx;870ebbecad0f6be394d4f9fb9bd62b551662651a;cxx-%commit%/macro' + [displaydoc]='https://github.com/yaahc/displaydoc;7dc6e324b1788a6b7fb9f3a1953c512923a3e9f0;displaydoc-%commit%' + [lsp-types]='https://github.com/astral-sh/lsp-types;3512a9f33eadc5402cfab1b8f7340824c8ca1439;lsp-types-%commit%' + [quickcheck]='https://github.com/jakoschiko/quickcheck;6ecdf5bb4b0132ce66670b4d46453aa022ea892c;quickcheck-%commit%' + [ruff_annotate_snippets]='https://github.com/astral-sh/ruff;474b00568ad78f02ad8e19b8166cbeb6d69f8511;ruff-%commit%/crates/ruff_annotate_snippets' + [ruff_cache]='https://github.com/astral-sh/ruff;474b00568ad78f02ad8e19b8166cbeb6d69f8511;ruff-%commit%/crates/ruff_cache' + [ruff_diagnostics]='https://github.com/astral-sh/ruff;474b00568ad78f02ad8e19b8166cbeb6d69f8511;ruff-%commit%/crates/ruff_diagnostics' + [ruff_notebook]='https://github.com/astral-sh/ruff;474b00568ad78f02ad8e19b8166cbeb6d69f8511;ruff-%commit%/crates/ruff_notebook' + [ruff_python_ast]='https://github.com/astral-sh/ruff;474b00568ad78f02ad8e19b8166cbeb6d69f8511;ruff-%commit%/crates/ruff_python_ast' + [ruff_python_parser]='https://github.com/astral-sh/ruff;474b00568ad78f02ad8e19b8166cbeb6d69f8511;ruff-%commit%/crates/ruff_python_parser' + [ruff_python_trivia]='https://github.com/astral-sh/ruff;474b00568ad78f02ad8e19b8166cbeb6d69f8511;ruff-%commit%/crates/ruff_python_trivia' + [ruff_source_file]='https://github.com/astral-sh/ruff;474b00568ad78f02ad8e19b8166cbeb6d69f8511;ruff-%commit%/crates/ruff_source_file' + [ruff_text_size]='https://github.com/astral-sh/ruff;474b00568ad78f02ad8e19b8166cbeb6d69f8511;ruff-%commit%/crates/ruff_text_size' +) + +inherit cargo pypi + +DESCRIPTION="A fast type checker and language server for Python with powerful IDE features" +HOMEPAGE=" + https://pyrefly.org/ + https://github.com/facebook/pyrefly + https://pypi.org/project/pyrefly/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +S="${WORKDIR}/${P}/${PN}" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 ISC MIT Unicode-3.0 + Unicode-DFS-2016 ZLIB +" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="app-arch/zstd:=" +RDEPEND="${DEPEND}" + +src_unpack() { + pypi_src_unpack + cargo_src_unpack +} + +src_prepare() { + default + + local crate crate_patches crate_uri commit crate_dir host + for crate in "${!GIT_CRATES[@]}"; do + IFS=';' read -r crate_uri commit crate_dir host <<< "${GIT_CRATES[${crate}]}" + : "${crate_dir:=${crate}-%commit%}" + crate_patches+="${crate} = { path = \"${WORKDIR}/${crate_dir//%commit%/${commit}}\" };;" + done + printf -- "[patch.crates-io]\\n%s" "${crate_patches//;;/$'\n'}" \ + >> "${CARGO_HOME}/config.toml" +} + +src_configure() { + # Requires nightly + export RUSTC_BOOTSTRAP=1 + + # zstd-sys https://wiki.gentoo.org/wiki/Project:Rust/sys_crates#zstd-sys + export ZSTD_SYS_USE_PKG_CONFIG=1 + + cargo_src_configure +}