1 |
commit: ee5e93896f6e73cb3cc03857923b5a4fee5fea34 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 18 01:01:21 2021 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 18 01:23:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee5e9389 |
7 |
|
8 |
dev-util/rustup: bump to 1.23.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
12 |
|
13 |
dev-util/rustup/Manifest | 1 + |
14 |
dev-util/rustup/rustup-1.23.1.ebuild | 357 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 358 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/rustup/Manifest b/dev-util/rustup/Manifest |
18 |
index 5b51236efb9..6847112786d 100644 |
19 |
--- a/dev-util/rustup/Manifest |
20 |
+++ b/dev-util/rustup/Manifest |
21 |
@@ -257,6 +257,7 @@ DIST rustc_version-0.2.3.crate 10210 BLAKE2B 1f707d1c66d907c9b1d2ef6d0bc6bc9c899 |
22 |
DIST rustup-1.22.1.tar.gz 649454 BLAKE2B 86d9721a14794d6138c3cd8ab743592ecb35922633342fd52d904b2186bd35688d3fd9dd38e7c3a05d5342364c2a072a660672aead1af6d9f0f3ed21c7f7595c SHA512 14a978a3cf699956722d8443070b9f8a043f1252cc1a7ed300b14637a0e6d654f34088d4403790c676500cbab327e30fdb7f81be0b9bde29e552143f26912ac7 |
23 |
DIST rustup-1.22.1_home_crate.tar.gz 10281 BLAKE2B 283ea853ff98658507194902b501cc0c6438bc2dde1007f579fbaf92917b906e5b9ccb322dc4d34fc01e08809d24194db10ea9c5177c0593ffc94bbfc934353d SHA512 39343c2c05adbbcd6a4a581abdddfc2801d9b052894b1edf3df304526045252b9b16b93c9db4fa248f308b762084cc7b97c3163c47d0ae4776b96be155836985 |
24 |
DIST rustup-1.23.0.tar.gz 673455 BLAKE2B 08549f46a880d75df6a9e7f841c82445644e3f2bfc6fa9f40ed18c5e410b013ca33f499524bc1e734a00e380daec8d849f747df8fc01089315a0c031a62eac59 SHA512 bc1c0de67d485702ca0333e79189ce9769d8c209a637b6476aa9de8b73d49366fdc8f35ae5b92a384e7ed2c86121aa7326ddf17551fab7f4faf33836246774ec |
25 |
+DIST rustup-1.23.1.tar.gz 674240 BLAKE2B 39d08380a4f478e08bb8181b321d556f94a0abb7c6ea3b3b324aa44d33a738b877d8ae17a9436b77c7f577ce26c0e52ecc881e53a802c62f87569b74ca1b8c2a SHA512 6d3048cd38ce4fa0a5a6b84f8dc3e6b60af4b70cbaceddc209e1f2ce4d96062d666f53e754452aa591cd54c5822ee1eb4089586493959ac8b7811cadc2a78e05 |
26 |
DIST ryu-1.0.5.crate 49570 BLAKE2B 3bfba4a5f290a429de7ac3b86823b2a973f40eb6f48c15329173d95964d31ada36f2618be4b36774a03f97f2ce61364900c6a3ad5465a294e2df311a1f4104ed SHA512 d1708ffa3112a684edf2956b6730ead040401d38f1457cde074eaaa59c249007dc8b925629e7f6df89f7ea757e9d0826649d685cc8ede0a04d50296048bf476c |
27 |
DIST safemem-0.3.3.crate 7778 BLAKE2B 6ebc0e234054919687e8a369bc30ca6b007d0e4f8147157ba1a90c290b7f0b490e5c21a6d4406671e26ac073f9e4e06a2bc9b1f21eb152b05c4022a3a4ef3793 SHA512 2e4852ca91160f9f1e764b75145d794726a5f6c162cc99ecbf9cae20474a06cb3a0dfc245b895c51342240f6875423010b33e36d038b8b419a37e4820a9caf72 |
28 |
DIST same-file-1.0.6.crate 10183 BLAKE2B a320c8343e0b38078ba81c4f0159d886bf47764c74efe0d7cd2b3218426e8341b51e523c00a9e5fbc2ee1057618296bd70b576c68751bd55d6ddb352defaca15 SHA512 3ba35309742c8db63210d9ea78bff4ecd80471d69e6238eb96c7bf0673814f221e2d838fe6311bfc5a0e71b4a7ccba33e07859c0b9cff2171969ff08a4214a7c |
29 |
|
30 |
diff --git a/dev-util/rustup/rustup-1.23.1.ebuild b/dev-util/rustup/rustup-1.23.1.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..2e5a86e9525 |
33 |
--- /dev/null |
34 |
+++ b/dev-util/rustup/rustup-1.23.1.ebuild |
35 |
@@ -0,0 +1,357 @@ |
36 |
+# Copyright 2020-2021 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+CRATES=" |
42 |
+addr2line-0.13.0 |
43 |
+adler-0.2.3 |
44 |
+aes-0.5.0 |
45 |
+aesni-0.8.0 |
46 |
+aes-soft-0.5.0 |
47 |
+aho-corasick-0.7.14 |
48 |
+ansi_term-0.11.0 |
49 |
+anyhow-1.0.33 |
50 |
+async-compression-0.3.5 |
51 |
+atty-0.2.14 |
52 |
+autocfg-0.1.7 |
53 |
+autocfg-1.0.1 |
54 |
+backtrace-0.3.53 |
55 |
+base64-0.12.3 |
56 |
+bitfield-0.13.2 |
57 |
+bitflags-1.2.1 |
58 |
+block-buffer-0.7.3 |
59 |
+block-buffer-0.9.0 |
60 |
+block-cipher-0.8.0 |
61 |
+block-modes-0.6.1 |
62 |
+block-padding-0.1.5 |
63 |
+block-padding-0.2.1 |
64 |
+blowfish-0.6.0 |
65 |
+buf_redux-0.8.4 |
66 |
+bumpalo-3.4.0 |
67 |
+byteorder-1.3.4 |
68 |
+bytes-0.4.12 |
69 |
+bytes-0.5.6 |
70 |
+byte-tools-0.3.1 |
71 |
+cast5-0.8.0 |
72 |
+cc-1.0.61 |
73 |
+cfb-mode-0.5.0 |
74 |
+cfg-if-0.1.10 |
75 |
+cfg-if-1.0.0 |
76 |
+chrono-0.4.19 |
77 |
+circular-0.3.0 |
78 |
+clap-2.33.3 |
79 |
+clear_on_drop-0.2.4 |
80 |
+core-foundation-0.7.0 |
81 |
+core-foundation-sys-0.7.0 |
82 |
+cpuid-bool-0.1.2 |
83 |
+crc24-0.1.6 |
84 |
+crc32fast-1.2.0 |
85 |
+crossbeam-channel-0.4.4 |
86 |
+crossbeam-deque-0.7.3 |
87 |
+crossbeam-epoch-0.8.2 |
88 |
+crossbeam-utils-0.7.2 |
89 |
+curl-0.4.34 |
90 |
+curl-sys-0.4.38+curl-7.73.0 |
91 |
+curve25519-dalek-3.0.0 |
92 |
+darling-0.10.2 |
93 |
+darling_core-0.10.2 |
94 |
+darling_macro-0.10.2 |
95 |
+derive_builder-0.9.0 |
96 |
+derive_builder_core-0.9.0 |
97 |
+des-0.5.0 |
98 |
+digest-0.8.1 |
99 |
+digest-0.9.0 |
100 |
+dtoa-0.4.6 |
101 |
+ed25519-1.0.3 |
102 |
+ed25519-dalek-1.0.1 |
103 |
+effective-limits-0.5.2 |
104 |
+either-1.6.1 |
105 |
+encoding_rs-0.8.24 |
106 |
+env_proxy-0.4.1 |
107 |
+error-chain-0.12.4 |
108 |
+fake-simd-0.1.2 |
109 |
+filetime-0.2.12 |
110 |
+flate2-1.0.18 |
111 |
+fnv-1.0.7 |
112 |
+foreign-types-0.3.2 |
113 |
+foreign-types-shared-0.1.1 |
114 |
+fuchsia-zircon-0.3.3 |
115 |
+fuchsia-zircon-sys-0.3.3 |
116 |
+futures-0.3.6 |
117 |
+futures-channel-0.3.6 |
118 |
+futures-core-0.3.6 |
119 |
+futures-executor-0.3.6 |
120 |
+futures-io-0.3.6 |
121 |
+futures-macro-0.3.6 |
122 |
+futures-sink-0.3.6 |
123 |
+futures-task-0.3.6 |
124 |
+futures-util-0.3.6 |
125 |
+generic-array-0.12.3 |
126 |
+generic-array-0.14.4 |
127 |
+getrandom-0.1.15 |
128 |
+gimli-0.22.0 |
129 |
+git-testament-0.1.9 |
130 |
+git-testament-derive-0.1.10 |
131 |
+h2-0.2.6 |
132 |
+hashbrown-0.9.1 |
133 |
+hermit-abi-0.1.17 |
134 |
+hex-0.4.2 |
135 |
+http-0.2.1 |
136 |
+httparse-1.3.4 |
137 |
+http-body-0.3.1 |
138 |
+httpdate-0.3.2 |
139 |
+hyper-0.13.8 |
140 |
+hyper-tls-0.4.3 |
141 |
+ident_case-1.0.1 |
142 |
+idna-0.2.0 |
143 |
+indexmap-1.6.0 |
144 |
+iovec-0.1.4 |
145 |
+ipnet-2.3.0 |
146 |
+itoa-0.4.6 |
147 |
+js-sys-0.3.45 |
148 |
+keccak-0.1.0 |
149 |
+kernel32-sys-0.2.2 |
150 |
+lazy_static-1.4.0 |
151 |
+libc-0.2.79 |
152 |
+libm-0.2.1 |
153 |
+libz-sys-1.1.2 |
154 |
+log-0.4.11 |
155 |
+lzma-sys-0.1.17 |
156 |
+maplit-1.0.2 |
157 |
+matches-0.1.8 |
158 |
+maybe-uninit-2.0.0 |
159 |
+md-5-0.9.1 |
160 |
+memchr-2.3.3 |
161 |
+memoffset-0.5.6 |
162 |
+mime-0.3.16 |
163 |
+mime_guess-2.0.3 |
164 |
+miniz_oxide-0.4.3 |
165 |
+mio-0.6.22 |
166 |
+miow-0.2.1 |
167 |
+native-tls-0.2.4 |
168 |
+net2-0.2.35 |
169 |
+nom-4.2.3 |
170 |
+num-bigint-0.2.6 |
171 |
+num-bigint-dig-0.6.0 |
172 |
+num_cpus-1.13.0 |
173 |
+num-derive-0.3.2 |
174 |
+num-integer-0.1.43 |
175 |
+num-iter-0.1.41 |
176 |
+num-traits-0.2.12 |
177 |
+object-0.21.1 |
178 |
+once_cell-1.4.1 |
179 |
+opaque-debug-0.2.3 |
180 |
+opaque-debug-0.3.0 |
181 |
+opener-0.4.1 |
182 |
+openssl-0.10.30 |
183 |
+openssl-probe-0.1.2 |
184 |
+openssl-src-111.12.0+1.1.1h |
185 |
+openssl-sys-0.9.58 |
186 |
+pem-0.8.1 |
187 |
+percent-encoding-2.1.0 |
188 |
+pest-2.1.3 |
189 |
+pest_derive-2.1.0 |
190 |
+pest_generator-2.1.3 |
191 |
+pest_meta-2.1.3 |
192 |
+pgp-0.7.1 |
193 |
+pin-project-0.4.27 |
194 |
+pin-project-internal-0.4.27 |
195 |
+pin-project-lite-0.1.10 |
196 |
+pin-utils-0.1.0 |
197 |
+pkg-config-0.3.19 |
198 |
+ppv-lite86-0.2.9 |
199 |
+proc-macro2-1.0.24 |
200 |
+proc-macro-hack-0.5.18 |
201 |
+proc-macro-nested-0.1.6 |
202 |
+pulldown-cmark-0.8.0 |
203 |
+quote-1.0.7 |
204 |
+rand-0.7.3 |
205 |
+rand_chacha-0.2.2 |
206 |
+rand_core-0.5.1 |
207 |
+rand_hc-0.2.0 |
208 |
+rayon-1.4.1 |
209 |
+rayon-core-1.8.1 |
210 |
+redox_syscall-0.1.57 |
211 |
+regex-1.4.1 |
212 |
+regex-syntax-0.6.20 |
213 |
+remove_dir_all-0.5.3 |
214 |
+remove_dir_all-0.6.1 |
215 |
+reqwest-0.10.8 |
216 |
+retry-1.1.0 |
217 |
+ripemd160-0.9.1 |
218 |
+rsa-0.3.0 |
219 |
+rs_tracing-1.0.1 |
220 |
+rustc-demangle-0.1.17 |
221 |
+ryu-1.0.5 |
222 |
+safemem-0.3.3 |
223 |
+same-file-1.0.6 |
224 |
+schannel-0.1.19 |
225 |
+scopeguard-1.1.0 |
226 |
+security-framework-0.4.4 |
227 |
+security-framework-sys-0.4.3 |
228 |
+semver-0.11.0 |
229 |
+semver-parser-0.10.0 |
230 |
+serde-1.0.117 |
231 |
+serde_derive-1.0.117 |
232 |
+serde_json-1.0.59 |
233 |
+serde_urlencoded-0.6.1 |
234 |
+sha-1-0.8.2 |
235 |
+sha-1-0.9.1 |
236 |
+sha2-0.9.1 |
237 |
+sha3-0.9.1 |
238 |
+signature-1.2.2 |
239 |
+simple_asn1-0.4.1 |
240 |
+slab-0.4.2 |
241 |
+smallvec-1.4.2 |
242 |
+socket2-0.3.15 |
243 |
+spin-0.5.2 |
244 |
+stream-cipher-0.7.1 |
245 |
+strsim-0.10.0 |
246 |
+strsim-0.8.0 |
247 |
+strsim-0.9.3 |
248 |
+subtle-2.3.0 |
249 |
+syn-1.0.45 |
250 |
+synstructure-0.12.4 |
251 |
+sys-info-0.6.1 |
252 |
+tar-0.4.30 |
253 |
+tempfile-3.1.0 |
254 |
+term-0.5.1 |
255 |
+textwrap-0.11.0 |
256 |
+thiserror-1.0.21 |
257 |
+thiserror-impl-1.0.21 |
258 |
+thread_local-1.0.1 |
259 |
+threadpool-1.8.1 |
260 |
+time-0.1.44 |
261 |
+tinyvec-0.3.4 |
262 |
+tokio-0.2.22 |
263 |
+tokio-socks-0.2.2 |
264 |
+tokio-tls-0.3.1 |
265 |
+tokio-util-0.3.1 |
266 |
+toml-0.5.7 |
267 |
+tower-service-0.3.0 |
268 |
+tracing-0.1.21 |
269 |
+tracing-core-0.1.17 |
270 |
+try_from-0.3.2 |
271 |
+try-lock-0.2.3 |
272 |
+twofish-0.4.0 |
273 |
+typenum-1.12.0 |
274 |
+ucd-trie-0.1.3 |
275 |
+unicase-2.6.0 |
276 |
+unicode-bidi-0.3.4 |
277 |
+unicode-normalization-0.1.13 |
278 |
+unicode-width-0.1.8 |
279 |
+unicode-xid-0.2.1 |
280 |
+url-2.1.1 |
281 |
+vcpkg-0.2.10 |
282 |
+vec_map-0.8.2 |
283 |
+version_check-0.1.5 |
284 |
+version_check-0.9.2 |
285 |
+wait-timeout-0.2.0 |
286 |
+walkdir-2.3.1 |
287 |
+want-0.3.0 |
288 |
+wasi-0.10.0+wasi-snapshot-preview1 |
289 |
+wasi-0.9.0+wasi-snapshot-preview1 |
290 |
+wasm-bindgen-0.2.68 |
291 |
+wasm-bindgen-backend-0.2.68 |
292 |
+wasm-bindgen-futures-0.4.18 |
293 |
+wasm-bindgen-macro-0.2.68 |
294 |
+wasm-bindgen-macro-support-0.2.68 |
295 |
+wasm-bindgen-shared-0.2.68 |
296 |
+web-sys-0.3.45 |
297 |
+winapi-0.2.8 |
298 |
+winapi-0.3.9 |
299 |
+winapi-build-0.1.1 |
300 |
+winapi-i686-pc-windows-gnu-0.4.0 |
301 |
+winapi-util-0.1.5 |
302 |
+winapi-x86_64-pc-windows-gnu-0.4.0 |
303 |
+winreg-0.7.0 |
304 |
+ws2_32-sys-0.2.1 |
305 |
+x25519-dalek-1.1.0 |
306 |
+xattr-0.2.2 |
307 |
+xz2-0.1.6 |
308 |
+zeroize-1.1.1 |
309 |
+zeroize_derive-1.0.1 |
310 |
+" |
311 |
+ |
312 |
+inherit bash-completion-r1 cargo prefix |
313 |
+ |
314 |
+DESCRIPTION="Rust toolchain installer" |
315 |
+HOMEPAGE="https://rust-lang.github.io/rustup/" |
316 |
+ |
317 |
+if [[ ${PV} == "9999" ]] ; then |
318 |
+ inherit git-r3 |
319 |
+ EGIT_REPO_URI="https://github.com/rust-lang/${PN}.git" |
320 |
+else |
321 |
+ HOME_COMMIT="a243ee2fbee6022c57d56f5aa79aefe194eabe53" |
322 |
+ SRC_URI="https://github.com/rust-lang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz |
323 |
+ https://github.com/rbtcollins/home/archive/${HOME_COMMIT}.tar.gz -> home-${HOME_COMMIT}.tar.gz |
324 |
+ $(cargo_crate_uris ${CRATES})" |
325 |
+ KEYWORDS="~amd64 ~arm64 ~ppc64" |
326 |
+fi |
327 |
+ |
328 |
+LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 CC0-1.0 MIT Unlicense ZLIB" |
329 |
+SLOT="0" |
330 |
+IUSE="" |
331 |
+ |
332 |
+DEPEND=" |
333 |
+ app-arch/xz-utils |
334 |
+ net-misc/curl:=[http2,ssl] |
335 |
+ dev-libs/openssl:0= |
336 |
+" |
337 |
+RDEPEND="${DEPEND}" |
338 |
+BDEPEND="virtual/rust" |
339 |
+ |
340 |
+QA_FLAGS_IGNORED="usr/bin/.*" |
341 |
+ |
342 |
+# uses network |
343 |
+RESTRICT="test" |
344 |
+ |
345 |
+src_unpack() { |
346 |
+ if [[ "${PV}" == *9999* ]]; then |
347 |
+ git-r3_src_unpack |
348 |
+ cargo_live_src_unpack |
349 |
+ else |
350 |
+ cargo_src_unpack |
351 |
+ # patch git dep to use pre-fetched tarball |
352 |
+ #echo "" >> "${P}/Cargo.toml" |
353 |
+ #echo '[patch."https://github.com/rbtcollins/home"]' >> "${P}/Cargo.toml" |
354 |
+ local home_path="home = { path = '"${WORKDIR}/home-${HOME_COMMIT}"' }" |
355 |
+ sed -i "s@^home =.*@${home_path}@" "${P}/Cargo.toml" || die |
356 |
+ fi |
357 |
+} |
358 |
+ |
359 |
+src_configure() { |
360 |
+ local myfeatures=( no-self-update ) |
361 |
+ cargo_src_configure |
362 |
+} |
363 |
+ |
364 |
+src_compile() { |
365 |
+ export OPENSSL_NO_VENDOR=true |
366 |
+ cargo_src_compile |
367 |
+} |
368 |
+ |
369 |
+src_install() { |
370 |
+ cargo_src_install |
371 |
+ einstalldocs |
372 |
+ newbin "$(prefixify_ro "${FILESDIR}"/symlink_rustup.sh)" rustup-init-gentoo |
373 |
+ |
374 |
+ ln -s "${ED}/usr/bin/rustup-init" rustup || die |
375 |
+ ./rustup completions bash rustup > "${T}/rustup" || die |
376 |
+ ./rustup completions zsh rustup > "${T}/_rustup" || die |
377 |
+ |
378 |
+ dobashcomp "${T}/rustup" |
379 |
+ |
380 |
+ insinto /usr/share/zsh/site-functions |
381 |
+ doins "${T}/_rustup" |
382 |
+} |
383 |
+ |
384 |
+pkg_postinst() { |
385 |
+ einfo "No rustup toolchains installed by default" |
386 |
+ einfo "eselect activated system rust toolchain can be added to rustup by running" |
387 |
+ einfo "helper script installed as ${EPREFIX}/usr/bin/rustup-init-gentoo" |
388 |
+ einfo "it will create symlinks to system-installed rustup in home directory" |
389 |
+ einfo "and rustup updates will be managed by portage" |
390 |
+ einfo "please delete current rustup binaries from ~/.cargo/bin/ (if any)" |
391 |
+ einfo "before running rustup-init-gentoo" |
392 |
+} |