mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-11-07 00:00:45 -05:00
dev-python/pyrefly: add 1.4.1
Signed-off-by: HAZARD <ghostyn678+git@gmail.com>
This commit is contained in:
2 files changed
+536
No files matched your search
@@ -390,6 +390,7 @@ DIST pyrefly-1.3.0.gh.tar.gz 32304340 BLAKE2B 9db5ca6a433830d81ade742dbe2094706a
|
||||
DIST pyrefly-1.3.1.gh.tar.gz 32304229 BLAKE2B 349327072e1041896de02a00e80c067a05a64b007046c5a9e0d91b00437245f3f35dd188993341a59caaf1ac8c54228e92f61fa6115656bc70b9b8852b49bad9 SHA512 5c311af0008c282b57c1ad24cb53fd642f10312c383a443a7914b6dba7a971b3854b45f9927e0ef0fd4e1aee16166e0f8bb98131016468d3ce2e00e4b79f567f
|
||||
DIST pyrefly-1.3.2.gh.tar.gz 32308318 BLAKE2B 25a6c298883e1e6e9a59d95c5ad4b8b63f8d755d4549aa9396e383144331ccb3c8080dcf19ea99983b8bcfc91b67047c4ed8228f1e6e6e9d5c950d8a682cb477 SHA512 a843b7d4ce7b536dfa26783beb55fae21c953874ad4157505357dd94c66cf2e2ab5ba79f248d1f9758c2e97793c656fe77db6b871b7644277579a09b0fec9601
|
||||
DIST pyrefly-1.4.0.gh.tar.gz 31847853 BLAKE2B b069dfa359c70b7c6339019fadf2c6fd86e8bbd469b20ef1884dd4b54811062a69e279000777ce427efb080f21ccf675f687bd00424dda56d1f2639905187a85 SHA512 8db6aba9084a92c3a516a1bcdd0f6745e0dcdaff6ab117a5997e9eef558bb32c42440cbcc28c44e185dbf4fce75c37e3d9faa9432529857a672fc72e2992458c
|
||||
DIST pyrefly-1.4.1.gh.tar.gz 31856585 BLAKE2B 70c483fd406d02834647a2f427343dd2e805d3f9bd720327cb024e698857558e82e8194380d8c3275a3ac5e31a3fd5fd6ab7d732ed3210e320466e8926d2aa5c SHA512 fc967b6b27c04db7936f0f36df5d020002f6fe9600724b574ff0f186443b029c467fa62b900293fbef93581341a7bcb301377f7d3f4d8df9c8997c7e26b466b2
|
||||
DIST quote-1.0.45.crate 31564 BLAKE2B 1b2c2c3e6ebabfe10affa4c43ca0bfd1f52d8fd49e1df463e13e63a82de41272089c8e09e4c02e8a33cfee768ace26d4d42a50752de8fb5a776c59806139ad5d SHA512 df96ede01ebd0ed642b758bf1d0862d0e116fc2b3343e14edb657ce5438ccabe743dec4a0a40de4dee98c134d169af9aba459faadf9c7a832b26377e755d49b0
|
||||
DIST quote-1.0.46.crate 31628 BLAKE2B b004131fc9942e278d3a89e9a68ea76098b94a488a4e5577074f59983809d92bb4803f759c47426a683191cc23bbe9783bbebbcbcaed6488d45a0e01b787cd36 SHA512 f51e65743b9f15b491d20bb6c3a0df921cfec29df8bafca36c9dde034b5117fe3f4eedcc258126c6cb1729be1ffde5fcf7e5b0fb0c3de4a618f46ab3cd803e77
|
||||
DIST quote-1.0.47.crate 31622 BLAKE2B d912f17bdb5f2db29f5349e976e12da52db9d2197dd9900cb00e907d1e9b06ab177e9b020c1d53f6a6cd087e3a973aed5af63eac282da77792b2a6d6e1b35b07 SHA512 544f4324d425ae011905e0d1b52e367d4660bc34457b2f802af94e1def1e6c4e39ffba3beeb40d75753967d15b6dccce18fea273e7f3d46b63d5c89898d19441
|
||||
|
||||
@@ -0,0 +1,535 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Autogenerated by pycargoebuild 0.16.0
|
||||
|
||||
EAPI=8
|
||||
|
||||
RUST_MIN_VER="1.99.0"
|
||||
|
||||
CRATES="
|
||||
addr2line@0.25.1
|
||||
adler2@2.0.1
|
||||
aho-corasick@1.1.5
|
||||
allocative@0.3.6
|
||||
allocative_derive@0.3.6
|
||||
allocator-api2@0.2.21
|
||||
anes@0.1.6
|
||||
anstream@0.6.21
|
||||
anstream@1.0.0
|
||||
anstyle-parse@0.2.7
|
||||
anstyle-parse@1.0.0
|
||||
anstyle-query@1.1.5
|
||||
anstyle-wincon@3.0.11
|
||||
anstyle@1.0.14
|
||||
anyhow@1.0.104
|
||||
append-only-vec@0.1.8
|
||||
approx@0.5.1
|
||||
ar_archive_writer@0.5.3
|
||||
arc-swap@1.9.2
|
||||
argfile@1.0.0
|
||||
arrayref@0.3.9
|
||||
arrayvec@0.7.8
|
||||
atomic@0.5.3
|
||||
attribute-derive-macro@0.10.5
|
||||
attribute-derive@0.10.5
|
||||
autocfg@1.5.1
|
||||
backtrace-on-stack-overflow@0.3.0
|
||||
base64@0.23.1
|
||||
bitflags@1.3.2
|
||||
bitflags@2.13.2
|
||||
blake3@1.8.6
|
||||
block-buffer@0.10.4
|
||||
block-buffer@0.12.1
|
||||
bs58@0.5.1
|
||||
bstr@1.13.1
|
||||
bumpalo@3.20.3
|
||||
byteorder@1.5.0
|
||||
bytes@1.12.1
|
||||
capnp@0.25.6
|
||||
cast@0.3.0
|
||||
castaway@0.2.4
|
||||
cc@1.5.1
|
||||
cfg-if@1.0.5
|
||||
cfg_aliases@0.2.2
|
||||
chacha20@0.10.2
|
||||
char_str@0.0.4
|
||||
chrono@0.4.45
|
||||
ciborium-io@0.2.2
|
||||
ciborium-ll@0.2.2
|
||||
ciborium@0.2.2
|
||||
clap@4.6.7
|
||||
clap_builder@4.6.7
|
||||
clap_complete@4.6.11
|
||||
clap_derive@4.6.7
|
||||
clap_lex@1.1.1
|
||||
cmov@0.5.4
|
||||
codspeed-criterion-compat-walltime@5.0.2
|
||||
codspeed-criterion-compat@5.0.2
|
||||
codspeed@5.0.2
|
||||
collection_literals@1.0.3
|
||||
colorchoice@1.0.5
|
||||
colored@3.1.1
|
||||
compact_str@0.10.0
|
||||
configparser@3.3.0
|
||||
console@0.16.6
|
||||
console_error_panic_hook@0.1.7
|
||||
constant_time_eq@0.4.2
|
||||
convert_case@0.10.0
|
||||
convert_case@0.12.0
|
||||
cpufeatures@0.2.17
|
||||
cpufeatures@0.3.1
|
||||
criterion-plot@0.5.0
|
||||
crossbeam-channel@0.5.17
|
||||
crossbeam-deque@0.8.8
|
||||
crossbeam-epoch@0.9.21
|
||||
crossbeam-utils@0.8.23
|
||||
crunchy@0.2.4
|
||||
crypto-common@0.1.7
|
||||
crypto-common@0.2.2
|
||||
ctor@1.0.13
|
||||
ctutils@0.4.2
|
||||
darling@0.24.1
|
||||
darling_core@0.24.1
|
||||
darling_macro@0.24.1
|
||||
dashmap@6.2.1
|
||||
defmt-macros@1.1.1
|
||||
defmt-parser@1.0.0
|
||||
defmt@1.1.1
|
||||
deranged@0.5.8
|
||||
derivative@2.2.0
|
||||
derive-where@1.7.0
|
||||
derive_more-impl@2.1.1
|
||||
derive_more@2.1.1
|
||||
diff@0.1.13
|
||||
digest@0.10.7
|
||||
digest@0.11.3
|
||||
displaydoc@0.2.7
|
||||
drop_bomb@0.1.5
|
||||
dupe@0.9.1
|
||||
dupe_derive@0.9.1
|
||||
either@1.18.0
|
||||
embedded-io@0.7.1
|
||||
encode_unicode@1.0.0
|
||||
enum-iterator-derive@1.5.0
|
||||
enum-iterator@2.3.0
|
||||
equivalent@1.0.2
|
||||
errno@0.3.14
|
||||
faster-hex@0.6.1
|
||||
fastrand@2.5.0
|
||||
filetime@0.2.29
|
||||
find-msvc-tools@0.1.14
|
||||
foldhash@0.1.5
|
||||
foldhash@0.2.0
|
||||
form_urlencoded@1.2.2
|
||||
fs-err@3.3.2
|
||||
fsevent-sys@4.1.0
|
||||
futures-channel@0.3.34
|
||||
futures-core@0.3.34
|
||||
futures-executor@0.3.34
|
||||
futures-io@0.3.34
|
||||
futures-macro@0.3.34
|
||||
futures-sink@0.3.34
|
||||
futures-task@0.3.34
|
||||
futures-util@0.3.34
|
||||
futures@0.1.31
|
||||
futures@0.3.34
|
||||
fuzzy-matcher@0.3.7
|
||||
fxhash@0.2.1
|
||||
gen-lsp-types@0.11.0
|
||||
generic-array@0.14.7
|
||||
get-size-derive2@0.11.0
|
||||
get-size2@0.11.0
|
||||
getopts@0.2.24
|
||||
getrandom@0.2.17
|
||||
getrandom@0.3.4
|
||||
getrandom@0.4.2
|
||||
gimli@0.32.3
|
||||
glob@0.3.4
|
||||
globset@0.4.20
|
||||
half@2.7.1
|
||||
hashbrown@0.14.5
|
||||
hashbrown@0.15.5
|
||||
hashbrown@0.16.1
|
||||
hashbrown@0.17.1
|
||||
heck@0.5.0
|
||||
hermit-abi@0.5.3
|
||||
hex@0.4.3
|
||||
human_bytes@0.4.3
|
||||
hybrid-array@0.4.15
|
||||
icu_collections@2.3.0
|
||||
icu_locale_core@2.3.0
|
||||
icu_normalizer@2.3.0
|
||||
icu_normalizer_data@2.3.0
|
||||
icu_properties@2.3.0
|
||||
icu_properties_data@2.3.0
|
||||
icu_provider@2.3.1
|
||||
id-arena@2.3.0
|
||||
ident_case@1.0.1
|
||||
idna@1.1.0
|
||||
idna_adapter@1.2.2
|
||||
ignore@0.4.33
|
||||
index_vec@0.1.4
|
||||
indexmap@2.14.2
|
||||
indicatif@0.18.6
|
||||
inotify-sys@0.1.8
|
||||
inotify@0.11.5
|
||||
interpolator@0.5.0
|
||||
is-macro@0.3.8
|
||||
is-terminal@0.4.17
|
||||
is_executable@1.0.6
|
||||
is_terminal_polyfill@1.70.2
|
||||
itertools@0.10.5
|
||||
itertools@0.15.0
|
||||
itoa@0.4.8
|
||||
itoa@1.0.18
|
||||
jiff-core@0.1.1
|
||||
jiff-static@0.2.37
|
||||
jiff@0.2.37
|
||||
jobserver@0.1.35
|
||||
js-sys@0.3.106
|
||||
kqueue-sys@1.1.2
|
||||
kqueue@1.2.1
|
||||
lazy_static@1.5.1
|
||||
leb128fmt@0.1.0
|
||||
libc@0.2.189
|
||||
libmimalloc-sys@0.1.49
|
||||
link-section@0.19.3
|
||||
linktime-proc-macro@0.2.3
|
||||
linux-raw-sys@0.12.1
|
||||
litemap@0.8.3
|
||||
lock_api@0.4.14
|
||||
lock_free_hashtable@0.1.4
|
||||
log@0.4.34
|
||||
lsp-server@0.10.0
|
||||
manyhow-macros@0.11.4
|
||||
manyhow@0.11.4
|
||||
maplit@1.0.2
|
||||
matchers@0.2.0
|
||||
memchr@2.8.3
|
||||
memmap2@0.9.11
|
||||
memoffset@0.6.5
|
||||
memory-stats@1.2.0
|
||||
mimalloc@0.1.52
|
||||
miniz_oxide@0.8.8
|
||||
mio@1.2.4
|
||||
nix@0.23.1
|
||||
nix@0.31.3
|
||||
notify-types@2.1.0
|
||||
notify@8.2.0
|
||||
num-bigint@0.5.1
|
||||
num-conv@0.2.2
|
||||
num-integer@0.1.47
|
||||
num-traits@0.2.19
|
||||
object@0.37.3
|
||||
object@0.39.1
|
||||
once_cell@1.21.4
|
||||
once_cell_polyfill@1.70.2
|
||||
oorandom@11.1.5
|
||||
ordermap@1.2.2
|
||||
os_str_bytes@7.2.1
|
||||
parking_lot@0.12.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.3
|
||||
phf_shared@0.11.3
|
||||
pin-project-lite@0.2.17
|
||||
pkg-config@0.3.34
|
||||
plotters-backend@0.3.7
|
||||
plotters-svg@0.3.7
|
||||
plotters@0.3.7
|
||||
portable-atomic-util@0.2.8
|
||||
portable-atomic@1.15.0
|
||||
potential_utf@0.1.6
|
||||
powerfmt@0.2.1
|
||||
ppv-lite86@0.2.21
|
||||
pretty_assertions@1.4.1
|
||||
prettyplease@0.2.37
|
||||
proc-macro-utils@0.10.0
|
||||
proc-macro2@1.0.107
|
||||
psm@0.1.29
|
||||
pulldown-cmark-escape@0.11.0
|
||||
pulldown-cmark@0.13.4
|
||||
quote-use-macros@0.8.4
|
||||
quote-use@0.8.4
|
||||
quote@1.0.47
|
||||
r-efi@5.3.0
|
||||
r-efi@6.0.0
|
||||
rand@0.10.3
|
||||
rand@0.8.8
|
||||
rand_chacha@0.3.1
|
||||
rand_core@0.10.1
|
||||
rand_core@0.6.4
|
||||
rayon-core@1.13.0
|
||||
rayon@1.12.0
|
||||
redox_syscall@0.5.18
|
||||
ref-cast-impl@1.0.27
|
||||
ref-cast@1.0.27
|
||||
regex-automata@0.4.18
|
||||
regex-syntax@0.7.5
|
||||
regex-syntax@0.8.11
|
||||
regex@1.13.1
|
||||
ruff_annotate_snippets@0.0.14
|
||||
ruff_cache@0.0.14
|
||||
ruff_diagnostics@0.0.14
|
||||
ruff_notebook@0.0.14
|
||||
ruff_python_ast@0.0.14
|
||||
ruff_python_parser@0.0.14
|
||||
ruff_python_trivia@0.0.14
|
||||
ruff_source_file@0.0.14
|
||||
ruff_text_size@0.0.14
|
||||
rustc-demangle@0.1.28
|
||||
rustc-hash@2.1.3
|
||||
rustc_version@0.4.1
|
||||
rustix@1.1.5
|
||||
rustversion@1.0.23
|
||||
ryu@0.2.8
|
||||
ryu@1.0.23
|
||||
same-file@1.0.6
|
||||
scopeguard@1.2.0
|
||||
seahash@4.1.0
|
||||
semver@1.0.28
|
||||
serde-wasm-bindgen@0.6.5
|
||||
serde@1.0.229
|
||||
serde_bser@0.4.0
|
||||
serde_bytes@0.11.19
|
||||
serde_core@1.0.229
|
||||
serde_derive@1.0.229
|
||||
serde_json@1.0.151
|
||||
serde_jsonrc@0.1.0
|
||||
serde_repr@0.1.21
|
||||
serde_spanned@1.1.1
|
||||
serde_with@3.24.0
|
||||
serde_with_macros@3.24.0
|
||||
sha2@0.10.9
|
||||
sharded-slab@0.1.7
|
||||
shlex@2.0.1
|
||||
signal-hook-registry@1.4.8
|
||||
similar@3.2.0
|
||||
siphasher@1.0.4
|
||||
slab@0.4.12
|
||||
smallvec@1.16.2
|
||||
socket2@0.6.5
|
||||
stable_deref_trait@1.2.1
|
||||
stacker@0.1.25
|
||||
starlark_map@0.14.2
|
||||
static_assertions@1.1.0
|
||||
static_interner@0.1.3
|
||||
statrs@0.18.0
|
||||
strong_hash@0.1.0
|
||||
strong_hash_derive@0.1.0
|
||||
strsim@0.11.1
|
||||
structmeta-derive@0.2.0
|
||||
structmeta@0.2.0
|
||||
syn@1.0.109
|
||||
syn@2.0.119
|
||||
syn@3.0.6
|
||||
synstructure@0.14.0
|
||||
tar@0.4.46
|
||||
tempfile@3.27.0
|
||||
terminal_size@0.4.4
|
||||
thin-vec@0.2.20
|
||||
thiserror-impl@1.0.69
|
||||
thiserror-impl@2.0.21
|
||||
thiserror@1.0.69
|
||||
thiserror@2.0.21
|
||||
thread_local@1.1.10
|
||||
tikv-jemalloc-sys@0.7.1+5.3.1-0-g81034ce1f1373e37dc865038e1bc8eeecf559ce8
|
||||
tikv-jemallocator@0.7.0
|
||||
time-core@0.1.9
|
||||
time@0.3.55
|
||||
tinystr@0.8.4
|
||||
tinytemplate@1.2.1
|
||||
tinyvec@1.13.3
|
||||
tokio-macros@2.7.2
|
||||
tokio-util@0.6.10
|
||||
tokio@1.53.2
|
||||
toml@1.1.6+spec-1.1.0
|
||||
toml_datetime@1.1.1+spec-1.1.0
|
||||
toml_edit@0.25.15+spec-1.1.0
|
||||
toml_parser@1.1.3+spec-1.1.0
|
||||
toml_writer@1.1.2+spec-1.1.0
|
||||
tracing-attributes@0.1.31
|
||||
tracing-core@0.1.36
|
||||
tracing-subscriber@0.3.23
|
||||
tracing@0.1.44
|
||||
typenum@1.20.1
|
||||
unicase@2.10.0
|
||||
unicode-ident@1.0.26
|
||||
unicode-normalization@0.1.25
|
||||
unicode-segmentation@1.13.3
|
||||
unicode-width@0.2.2
|
||||
unicode-xid@0.2.6
|
||||
unicode_names2@1.3.0
|
||||
unicode_names2_generator@1.3.0
|
||||
unit-prefix@0.5.2
|
||||
unscanny@0.1.0
|
||||
url@2.5.8
|
||||
utf8_iter@1.0.4
|
||||
utf8parse@0.2.2
|
||||
uuid-rng-internal@1.26.1
|
||||
uuid@1.26.1
|
||||
uv-cache-key@0.0.87
|
||||
uv-pep440@0.0.87
|
||||
uv-redacted@0.0.87
|
||||
valuable@0.1.1
|
||||
vec1@1.12.1
|
||||
version_check@0.9.5
|
||||
walkdir@2.5.0
|
||||
wasi@0.11.1+wasi-snapshot-preview1
|
||||
wasip2@1.0.4+wasi-0.2.12
|
||||
wasip3@0.4.0+wasi-0.3.0-rc-2026-01-06
|
||||
wasm-bindgen-macro-support@0.2.129
|
||||
wasm-bindgen-macro@0.2.129
|
||||
wasm-bindgen-shared@0.2.129
|
||||
wasm-bindgen@0.2.129
|
||||
wasm-encoder@0.244.0
|
||||
wasm-metadata@0.244.0
|
||||
wasmparser@0.244.0
|
||||
watchman_client@0.9.0
|
||||
web-sys@0.3.106
|
||||
web-time@1.1.0
|
||||
which@8.0.6
|
||||
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-link@0.2.1
|
||||
windows-sys@0.52.0
|
||||
windows-sys@0.60.2
|
||||
windows-sys@0.61.2
|
||||
windows-targets@0.52.6
|
||||
windows-targets@0.53.5
|
||||
windows_aarch64_gnullvm@0.52.6
|
||||
windows_aarch64_gnullvm@0.53.1
|
||||
windows_aarch64_msvc@0.52.6
|
||||
windows_aarch64_msvc@0.53.1
|
||||
windows_i686_gnu@0.52.6
|
||||
windows_i686_gnu@0.53.1
|
||||
windows_i686_gnullvm@0.52.6
|
||||
windows_i686_gnullvm@0.53.1
|
||||
windows_i686_msvc@0.52.6
|
||||
windows_i686_msvc@0.53.1
|
||||
windows_x86_64_gnu@0.52.6
|
||||
windows_x86_64_gnu@0.53.1
|
||||
windows_x86_64_gnullvm@0.52.6
|
||||
windows_x86_64_gnullvm@0.53.1
|
||||
windows_x86_64_msvc@0.52.6
|
||||
windows_x86_64_msvc@0.53.1
|
||||
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.51.0
|
||||
wit-bindgen@0.57.1
|
||||
wit-component@0.244.0
|
||||
wit-parser@0.244.0
|
||||
writeable@0.6.4
|
||||
xattr@1.6.1
|
||||
xxhash-rust@0.8.19
|
||||
yansi@1.0.1
|
||||
yoke-derive@0.8.4
|
||||
yoke@0.8.3
|
||||
zerocopy-derive@0.8.59
|
||||
zerocopy@0.8.59
|
||||
zerofrom-derive@0.1.8
|
||||
zerofrom@0.1.8
|
||||
zerotrie@0.2.5
|
||||
zerovec-derive@0.11.6
|
||||
zerovec@0.11.8
|
||||
zmij@1.0.23
|
||||
zstd-safe@7.3.0
|
||||
zstd-safe@8.0.0
|
||||
zstd-sys@2.1.0+zstd.1.5.7
|
||||
zstd@0.13.3
|
||||
zstd@0.14.0
|
||||
"
|
||||
|
||||
declare -A GIT_CRATES=(
|
||||
[backtrace]='https://github.com/rust-lang/backtrace-rs;df979dcf80027eb047d7bb9e0874710c15009f31;backtrace-rs-%commit%'
|
||||
)
|
||||
|
||||
inherit cargo
|
||||
|
||||
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="
|
||||
https://github.com/facebook/pyrefly/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
${CARGO_CRATE_URIS}
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
|
||||
LICENSE="MIT"
|
||||
# Dependent crate licenses
|
||||
LICENSE+="
|
||||
0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0
|
||||
CC0-1.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 ZLIB
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/numpy
|
||||
)
|
||||
"
|
||||
DEPEND="app-arch/zstd:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
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() {
|
||||
# zstd-sys https://wiki.gentoo.org/wiki/Project:Rust/sys_crates#zstd-sys
|
||||
export ZSTD_SYS_USE_PKG_CONFIG=1
|
||||
|
||||
cargo_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x CONFIG_DOC_PATH="${WORKDIR}/${P}/website/docs/configuration.mdx"
|
||||
local -x ERROR_KINDS_DOC_PATH="${WORKDIR}/${P}/website/docs/error-kinds.mdx"
|
||||
|
||||
local -x TEST_FILES_PATH="${S}/lib/test/lsp/lsp_interaction/test_files"
|
||||
|
||||
local -x PYDANTIC_TEST_PATH="${S}/lib/test/pydantic/third-party"
|
||||
local -x DJANGO_TEST_PATH="${S}/lib/test/django/third-party"
|
||||
local -x FACTORY_BOY_TEST_PATH="${S}/lib/test/factory_boy/third-party"
|
||||
local -x ATTRS_TEST_PATH="${S}/lib/test/attrs/third-party"
|
||||
local -x MARSHMALLOW_TEST_PATH="${S}/lib/test/marshmallow/third-party"
|
||||
|
||||
local -x GLEAN_SNAPSHOTS_PATH="${S}/lib/report/glean/snapshots"
|
||||
local -x REPORT_TEST_PATH="${S}/lib/test/report/test_files"
|
||||
local -x STUBGEN_TEST_PATH="${S}/lib/test/stubgen"
|
||||
|
||||
local -x COVERAGE_TEST_PATH="${S}/lib/test/coverage/test_files"
|
||||
local -x SHAPE_DSL_TEST_PATH="${WORKDIR}/${P}/tensor-shapes"
|
||||
|
||||
cargo_src_test --no-fail-fast
|
||||
}
|
||||
Reference in new issue
Block a user