This repository has been archived by the owner on Jan 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rust-analyzer-2022.11.07.ebuild
215 lines (206 loc) · 3.82 KB
/
rust-analyzer-2022.11.07.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
addr2line-0.17.0
adler-1.0.2
always-assert-0.1.2
ansi_term-0.12.1
anyhow-1.0.65
anymap-1.0.0-beta.2
arbitrary-1.1.7
arrayvec-0.7.2
atty-0.2.14
autocfg-1.1.0
backtrace-0.3.66
bitflags-1.3.2
camino-1.1.1
cargo-platform-0.1.2
cargo_metadata-0.15.0
cc-1.0.73
cfg-if-1.0.0
chalk-derive-0.86.0
chalk-ir-0.86.0
chalk-recursive-0.86.0
chalk-solve-0.86.0
countme-3.0.1
cov-mark-2.0.0-pre.1
crc32fast-1.3.2
crossbeam-channel-0.5.6
crossbeam-deque-0.8.2
crossbeam-epoch-0.9.11
crossbeam-utils-0.8.12
dashmap-5.4.0
derive_arbitrary-1.1.6
dissimilar-1.0.4
dot-0.1.4
drop_bomb-0.1.5
either-1.8.0
ena-0.14.0
expect-test-1.4.0
filetime-0.2.17
fixedbitset-0.2.0
flate2-1.0.24
form_urlencoded-1.1.0
fs_extra-1.2.0
fsevent-sys-4.1.0
fst-0.4.7
gimli-0.26.2
hashbrown-0.12.3
heck-0.3.3
hermit-abi-0.1.19
home-0.5.4
idna-0.3.0
indexmap-1.9.1
inotify-0.9.6
inotify-sys-0.1.5
instant-0.1.12
itertools-0.10.5
itoa-1.0.4
jod-thread-0.1.2
kqueue-1.0.6
kqueue-sys-1.0.3
lazy_static-1.4.0
libc-0.2.135
libloading-0.7.3
libmimalloc-sys-0.1.26
lock_api-0.4.9
log-0.4.17
lsp-types-0.93.2
matchers-0.1.0
memchr-2.5.0
memmap2-0.5.7
memoffset-0.6.5
mimalloc-0.1.30
miniz_oxide-0.5.4
mio-0.8.4
miow-0.4.0
notify-5.0.0
num_cpus-1.13.1
object-0.29.0
once_cell-1.15.0
oorandom-11.1.3
parking_lot-0.11.2
parking_lot-0.12.1
parking_lot_core-0.8.5
parking_lot_core-0.9.3
paste-1.0.9
percent-encoding-2.2.0
perf-event-0.4.7
perf-event-open-sys-1.0.1
petgraph-0.5.1
pin-project-lite-0.2.9
proc-macro2-1.0.47
protobuf-3.1.0
protobuf-support-3.1.0
pulldown-cmark-0.9.2
pulldown-cmark-to-cmark-10.0.4
quote-1.0.21
rayon-1.5.3
rayon-core-1.9.3
redox_syscall-0.2.16
regex-1.6.0
regex-automata-0.1.10
regex-syntax-0.6.27
rowan-0.15.10
rustc-ap-rustc_lexer-725.0.0
rustc-demangle-0.1.21
rustc-hash-1.1.0
ryu-1.0.11
salsa-0.17.0-pre.2
salsa-macros-0.17.0-pre.2
same-file-1.0.6
scip-0.1.1
scoped-tls-1.0.0
scopeguard-1.1.0
semver-1.0.14
serde-1.0.145
serde_derive-1.0.145
serde_json-1.0.86
serde_repr-0.1.9
sharded-slab-0.1.4
smallvec-1.10.0
smol_str-0.1.23
snap-1.0.5
syn-1.0.102
synstructure-0.12.6
text-size-1.1.0
thiserror-1.0.37
thiserror-impl-1.0.37
thread_local-1.1.4
threadpool-1.8.1
tikv-jemalloc-ctl-0.5.0
tikv-jemalloc-sys-0.5.2+5.3.0-patched
tikv-jemallocator-0.5.0
tinyvec-1.6.0
tinyvec_macros-0.1.0
tracing-0.1.37
tracing-attributes-0.1.23
tracing-core-0.1.30
tracing-log-0.1.3
tracing-subscriber-0.3.16
tracing-tree-0.2.1
typed-arena-2.0.1
ungrammar-1.16.1
unicase-2.6.0
unicode-bidi-0.3.8
unicode-ident-1.0.5
unicode-normalization-0.1.22
unicode-segmentation-1.10.0
unicode-xid-0.2.4
url-2.3.1
valuable-0.1.0
version_check-0.9.4
walkdir-2.3.2
wasi-0.11.0+wasi-snapshot-preview1
winapi-0.3.9
winapi-i686-pc-windows-gnu-0.4.0
winapi-util-0.1.5
winapi-x86_64-pc-windows-gnu-0.4.0
windows-sys-0.28.0
windows-sys-0.36.1
windows_aarch64_msvc-0.28.0
windows_aarch64_msvc-0.36.1
windows_i686_gnu-0.28.0
windows_i686_gnu-0.36.1
windows_i686_msvc-0.28.0
windows_i686_msvc-0.36.1
windows_x86_64_gnu-0.28.0
windows_x86_64_gnu-0.36.1
windows_x86_64_msvc-0.28.0
windows_x86_64_msvc-0.36.1
write-json-0.1.2
xflags-0.3.0
xflags-macros-0.3.0
xshell-0.2.2
xshell-macros-0.2.2
xtask-0.1.0
"
inherit cargo
DESCRIPTION="A Rust compiler front-end for IDEs"
HOMEPAGE="https://rust-analyzer.github.io/"
if [[ "${PV}" == 9999 ]]
then
inherit git-r3
EGIT_REPO_URI="https://github.com/rust-lang/${PN}"
src_unpack() {
git-r3_src_unpack
cargo_live_src_unpack
}
else
MY_PV="${PV//./-}"
SRC_URI="
https://github.com/rust-lang/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz
$(cargo_crate_uris $CRATES)
"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}-${MY_PV}"
fi
LICENSE="Apache-2.0 MIT"
SLOT="0"
RESTRICT=mirror
RDEPEND="dev-lang/rust[rust-src]"
DEPEND="${RDEPEND}"
src_install() {
cargo_src_install --path "crates/rust-analyzer"
}