236 lines
4.8 KiB
Bash
236 lines
4.8 KiB
Bash
# Copyright 2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# Auto-Generated by cargo-ebuild 0.5.4
|
|
|
|
EAPI=8
|
|
|
|
CRATES="
|
|
adler-1.0.2
|
|
ahash-0.7.6
|
|
aho-corasick-0.7.18
|
|
android_system_properties-0.1.4
|
|
ansi_term-0.12.1
|
|
assert-json-diff-2.0.1
|
|
attohttpc-0.24.0
|
|
atty-0.2.14
|
|
autocfg-0.1.4
|
|
autocfg-1.0.0
|
|
base64-0.13.1
|
|
bitflags-1.3.2
|
|
block-buffer-0.7.3
|
|
block-padding-0.1.4
|
|
bumpalo-3.12.0
|
|
byte-tools-0.3.1
|
|
byteorder-1.3.2
|
|
bytes-1.1.0
|
|
bzip2-0.3.3
|
|
bzip2-sys-0.1.7
|
|
cc-1.0.73
|
|
cfg-if-0.1.10
|
|
cfg-if-1.0.0
|
|
chain-map-0.1.0
|
|
chrono-0.4.23
|
|
ci_info-0.14.9
|
|
clap-2.34.0
|
|
cmdline_words_parser-0.2.1
|
|
colored-2.0.0
|
|
console-0.15.5
|
|
core-foundation-0.9.3
|
|
core-foundation-sys-0.8.3
|
|
crc32fast-1.2.0
|
|
ctrlc-3.2.4
|
|
digest-0.8.0
|
|
dirs-4.0.0
|
|
dirs-sys-0.3.6
|
|
dunce-1.0.3
|
|
either-1.6.1
|
|
encode_unicode-0.3.5
|
|
envmnt-0.10.0
|
|
envoy-0.1.3
|
|
fake-simd-0.1.2
|
|
fastrand-1.6.0
|
|
filetime-0.2.16
|
|
flate2-1.0.24
|
|
fnv-1.0.6
|
|
form_urlencoded-1.0.1
|
|
fs2-0.4.3
|
|
fsio-0.3.0
|
|
generic-array-0.12.4
|
|
getrandom-0.2.3
|
|
hamcrest2-0.3.0
|
|
hashbrown-0.12.3
|
|
heck-0.3.1
|
|
hermit-abi-0.1.19
|
|
http-0.2.8
|
|
httparse-1.3.3
|
|
httpdate-0.3.2
|
|
hyperx-1.4.0
|
|
iana-time-zone-0.1.45
|
|
idna-0.2.0
|
|
indexmap-1.9.2
|
|
indicatif-0.17.3
|
|
instant-0.1.12
|
|
itoa-0.4.4
|
|
itoa-1.0.1
|
|
js-sys-0.3.59
|
|
language-tags-0.3.2
|
|
lazy_static-1.4.0
|
|
lazycell-1.3.0
|
|
libc-0.2.138
|
|
log-0.4.17
|
|
maplit-1.0.1
|
|
matches-0.1.8
|
|
maybe-uninit-2.0.0
|
|
memchr-2.4.1
|
|
mime-0.3.13
|
|
miniz_oxide-0.5.4
|
|
mockito-0.31.1
|
|
msdos_time-0.1.6
|
|
nix-0.26.1
|
|
num-0.2.0
|
|
num-bigint-0.2.3
|
|
num-complex-0.2.3
|
|
num-integer-0.1.41
|
|
num-iter-0.1.39
|
|
num-rational-0.2.2
|
|
num-traits-0.2.8
|
|
number_prefix-0.4.0
|
|
once_cell-1.17.0
|
|
opaque-debug-0.2.2
|
|
openssl-probe-0.1.5
|
|
os_info-3.5.1
|
|
percent-encoding-2.1.0
|
|
pest-2.1.1
|
|
pest_derive-2.1.0
|
|
pest_generator-2.1.0
|
|
pest_meta-2.1.1
|
|
podio-0.1.6
|
|
portable-atomic-0.3.15
|
|
ppv-lite86-0.2.8
|
|
proc-macro2-0.4.30
|
|
proc-macro2-1.0.47
|
|
quote-0.6.12
|
|
quote-1.0.2
|
|
rand-0.8.4
|
|
rand_chacha-0.3.1
|
|
rand_core-0.6.3
|
|
rand_hc-0.3.1
|
|
readext-0.1.0
|
|
redox_syscall-0.2.10
|
|
redox_users-0.4.0
|
|
regex-1.7.1
|
|
regex-syntax-0.6.27
|
|
remove_dir_all-0.5.2
|
|
retry-2.0.0
|
|
ring-0.16.20
|
|
rustls-0.20.6
|
|
rustls-native-certs-0.6.2
|
|
rustls-pemfile-1.0.1
|
|
ryu-1.0.6
|
|
same-file-1.0.5
|
|
schannel-0.1.20
|
|
sct-0.7.0
|
|
security-framework-2.7.0
|
|
security-framework-sys-2.6.1
|
|
serde-1.0.152
|
|
serde_derive-1.0.152
|
|
serde_json-1.0.91
|
|
serde_urlencoded-0.7.0
|
|
sha-1-0.8.1
|
|
similar-2.1.0
|
|
smallvec-0.6.14
|
|
smawk-0.3.1
|
|
spin-0.5.2
|
|
static_assertions-1.1.0
|
|
strsim-0.8.0
|
|
structopt-0.2.18
|
|
structopt-derive-0.2.18
|
|
syn-0.15.36
|
|
syn-1.0.105
|
|
tar-0.4.38
|
|
tee-0.1.0
|
|
tempfile-3.3.0
|
|
term_size-0.3.2
|
|
textwrap-0.11.0
|
|
textwrap-0.16.0
|
|
thiserror-1.0.38
|
|
thiserror-impl-1.0.38
|
|
time-0.1.44
|
|
typenum-1.14.0
|
|
ucd-trie-0.1.1
|
|
unicase-2.6.0
|
|
unicode-bidi-0.3.4
|
|
unicode-ident-1.0.5
|
|
unicode-linebreak-0.1.4
|
|
unicode-normalization-0.1.8
|
|
unicode-segmentation-1.3.0
|
|
unicode-width-0.1.10
|
|
unicode-xid-0.1.0
|
|
untrusted-0.7.1
|
|
url-2.3.0
|
|
vec_map-0.8.1
|
|
verbatim-0.1.1
|
|
version_check-0.9.1
|
|
walkdir-2.3.2
|
|
wasi-0.10.0+wasi-snapshot-preview1
|
|
wasm-bindgen-0.2.82
|
|
wasm-bindgen-backend-0.2.82
|
|
wasm-bindgen-macro-0.2.82
|
|
wasm-bindgen-macro-support-0.2.82
|
|
wasm-bindgen-shared-0.2.82
|
|
web-sys-0.3.59
|
|
webpki-0.22.0
|
|
which-4.4.0
|
|
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.36.1
|
|
windows-sys-0.42.0
|
|
windows_aarch64_gnullvm-0.42.0
|
|
windows_aarch64_msvc-0.36.1
|
|
windows_aarch64_msvc-0.42.0
|
|
windows_i686_gnu-0.36.1
|
|
windows_i686_gnu-0.42.0
|
|
windows_i686_msvc-0.36.1
|
|
windows_i686_msvc-0.42.0
|
|
windows_x86_64_gnu-0.36.1
|
|
windows_x86_64_gnu-0.42.0
|
|
windows_x86_64_gnullvm-0.42.0
|
|
windows_x86_64_msvc-0.36.1
|
|
windows_x86_64_msvc-0.42.0
|
|
winreg-0.10.1
|
|
xattr-0.2.2
|
|
zip-0.2.8
|
|
"
|
|
|
|
declare -A GIT_CRATES=(
|
|
[semver]="https://github.com/mikrostew/semver;7583eb352dc181ccd09978fd2b16461c1b1669c1;semver-%commit%"
|
|
[semver-parser]="https://github.com/mikrostew/semver-parser;f5c74268a09eef16a289a667ca7b4925e690fe13;semver-parser-%commit%"
|
|
[detect-indent]="https://github.com/stefanpenner/detect-indent-rs;f645bcc81bfb1f9745c4a4dec7c7f6faf3f84ec5;detect-indent-rs-%commit%"
|
|
)
|
|
|
|
inherit cargo
|
|
|
|
DESCRIPTION="JavaScript toolchain manager"
|
|
# Double check the homepage as the cargo_metadata crate
|
|
# does not provide this value so instead repository is used
|
|
HOMEPAGE="https://volta.sh"
|
|
SRC_URI="https://github.com/volta-cli/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
|
$(cargo_crate_uris)"
|
|
|
|
# License set may be more restrictive as OR is not respected
|
|
# use cargo-license for a more accurate license picture
|
|
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 CC0-1.0 ISC MIT MIT-0 MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND=""
|
|
|
|
# rust does not use *FLAGS from make.conf, silence portage warning
|
|
# update with proper path to binaries this crate installs, omit leading /
|
|
QA_FLAGS_IGNORED="usr/bin/${PN}"
|