224 lines
4.2 KiB
Bash
224 lines
4.2 KiB
Bash
|
# Copyright 2024 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
CRATES="
|
||
|
aho-corasick@1.1.3
|
||
|
android-tzdata@0.1.1
|
||
|
android_system_properties@0.1.5
|
||
|
ansi_term@0.12.1
|
||
|
anstream@0.6.14
|
||
|
anstyle@1.0.7
|
||
|
anstyle-parse@0.2.4
|
||
|
anstyle-query@1.1.0
|
||
|
anstyle-wincon@3.0.3
|
||
|
arrayref@0.3.7
|
||
|
arrayvec@0.7.4
|
||
|
atty@0.2.14
|
||
|
autocfg@1.3.0
|
||
|
bitflags@1.3.2
|
||
|
bitflags@2.5.0
|
||
|
blake3@1.5.1
|
||
|
block-buffer@0.10.4
|
||
|
bstr@0.2.17
|
||
|
bumpalo@3.16.0
|
||
|
camino@1.1.7
|
||
|
cc@1.0.98
|
||
|
cfg-if@1.0.0
|
||
|
cfg_aliases@0.1.1
|
||
|
chrono@0.4.38
|
||
|
clap@2.34.0
|
||
|
clap@4.5.4
|
||
|
clap_builder@4.5.2
|
||
|
clap_complete@4.5.2
|
||
|
clap_lex@0.7.0
|
||
|
clap_mangen@0.2.20
|
||
|
colorchoice@1.0.1
|
||
|
constant_time_eq@0.3.0
|
||
|
core-foundation-sys@0.8.6
|
||
|
cpufeatures@0.2.12
|
||
|
cradle@0.2.2
|
||
|
crossbeam-deque@0.8.5
|
||
|
crossbeam-epoch@0.9.18
|
||
|
crossbeam-utils@0.8.20
|
||
|
crypto-common@0.1.6
|
||
|
ctrlc@3.4.4
|
||
|
derivative@2.2.0
|
||
|
diff@0.1.13
|
||
|
digest@0.10.7
|
||
|
dirs@5.0.1
|
||
|
dirs-sys@0.4.1
|
||
|
dotenvy@0.15.7
|
||
|
edit-distance@2.1.0
|
||
|
either@1.12.0
|
||
|
env_filter@0.1.0
|
||
|
env_logger@0.11.3
|
||
|
errno@0.3.9
|
||
|
executable-path@1.0.0
|
||
|
fastrand@2.1.0
|
||
|
generic-array@0.14.7
|
||
|
getopts@0.2.21
|
||
|
getrandom@0.2.15
|
||
|
heck@0.3.3
|
||
|
heck@0.5.0
|
||
|
hermit-abi@0.1.19
|
||
|
hermit-abi@0.3.9
|
||
|
home@0.5.9
|
||
|
humantime@2.1.0
|
||
|
iana-time-zone@0.1.60
|
||
|
iana-time-zone-haiku@0.1.2
|
||
|
is_terminal_polyfill@1.70.0
|
||
|
itoa@1.0.11
|
||
|
js-sys@0.3.69
|
||
|
lazy_static@1.4.0
|
||
|
lexiclean@0.0.1
|
||
|
libc@0.2.155
|
||
|
libredox@0.1.3
|
||
|
linux-raw-sys@0.4.14
|
||
|
log@0.4.21
|
||
|
memchr@2.7.2
|
||
|
memmap2@0.9.4
|
||
|
nix@0.28.0
|
||
|
num-traits@0.2.19
|
||
|
num_cpus@1.16.0
|
||
|
once_cell@1.19.0
|
||
|
option-ext@0.2.0
|
||
|
percent-encoding@2.3.1
|
||
|
ppv-lite86@0.2.17
|
||
|
pretty_assertions@1.4.0
|
||
|
proc-macro-error@1.0.4
|
||
|
proc-macro-error-attr@1.0.4
|
||
|
proc-macro2@1.0.85
|
||
|
pulldown-cmark@0.9.6
|
||
|
pulldown-cmark-to-cmark@10.0.4
|
||
|
quote@1.0.36
|
||
|
rand@0.8.5
|
||
|
rand_chacha@0.3.1
|
||
|
rand_core@0.6.4
|
||
|
rayon@1.10.0
|
||
|
rayon-core@1.12.1
|
||
|
redox_users@0.4.5
|
||
|
regex@1.10.4
|
||
|
regex-automata@0.1.10
|
||
|
regex-automata@0.4.6
|
||
|
regex-syntax@0.8.3
|
||
|
roff@0.2.1
|
||
|
rustix@0.38.34
|
||
|
rustversion@1.0.17
|
||
|
ryu@1.0.18
|
||
|
semver@1.0.23
|
||
|
serde@1.0.203
|
||
|
serde_derive@1.0.203
|
||
|
serde_json@1.0.117
|
||
|
sha2@0.10.8
|
||
|
shellexpand@3.1.0
|
||
|
similar@2.5.0
|
||
|
snafu@0.8.3
|
||
|
snafu-derive@0.8.3
|
||
|
strsim@0.8.0
|
||
|
strsim@0.11.1
|
||
|
structopt@0.3.26
|
||
|
structopt-derive@0.4.18
|
||
|
strum@0.26.2
|
||
|
strum_macros@0.26.4
|
||
|
syn@1.0.109
|
||
|
syn@2.0.66
|
||
|
target@2.1.0
|
||
|
tempfile@3.10.1
|
||
|
temptree@0.2.0
|
||
|
terminal_size@0.3.0
|
||
|
textwrap@0.11.0
|
||
|
thiserror@1.0.61
|
||
|
thiserror-impl@1.0.61
|
||
|
typed-arena@2.0.2
|
||
|
typenum@1.17.0
|
||
|
unicase@2.7.0
|
||
|
unicode-ident@1.0.12
|
||
|
unicode-segmentation@1.11.0
|
||
|
unicode-width@0.1.13
|
||
|
utf8parse@0.2.1
|
||
|
uuid@1.8.0
|
||
|
vec_map@0.8.2
|
||
|
version_check@0.9.4
|
||
|
wasi@0.11.0+wasi-snapshot-preview1
|
||
|
wasm-bindgen@0.2.92
|
||
|
wasm-bindgen-backend@0.2.92
|
||
|
wasm-bindgen-macro@0.2.92
|
||
|
wasm-bindgen-macro-support@0.2.92
|
||
|
wasm-bindgen-shared@0.2.92
|
||
|
which@6.0.1
|
||
|
winapi@0.3.9
|
||
|
winapi-i686-pc-windows-gnu@0.4.0
|
||
|
winapi-x86_64-pc-windows-gnu@0.4.0
|
||
|
windows-core@0.52.0
|
||
|
windows-sys@0.48.0
|
||
|
windows-sys@0.52.0
|
||
|
windows-targets@0.48.5
|
||
|
windows-targets@0.52.5
|
||
|
windows_aarch64_gnullvm@0.48.5
|
||
|
windows_aarch64_gnullvm@0.52.5
|
||
|
windows_aarch64_msvc@0.48.5
|
||
|
windows_aarch64_msvc@0.52.5
|
||
|
windows_i686_gnu@0.48.5
|
||
|
windows_i686_gnu@0.52.5
|
||
|
windows_i686_gnullvm@0.52.5
|
||
|
windows_i686_msvc@0.48.5
|
||
|
windows_i686_msvc@0.52.5
|
||
|
windows_x86_64_gnu@0.48.5
|
||
|
windows_x86_64_gnu@0.52.5
|
||
|
windows_x86_64_gnullvm@0.48.5
|
||
|
windows_x86_64_gnullvm@0.52.5
|
||
|
windows_x86_64_msvc@0.48.5
|
||
|
windows_x86_64_msvc@0.52.5
|
||
|
winsafe@0.0.19
|
||
|
yansi@0.5.1
|
||
|
${PN}@${PV}
|
||
|
"
|
||
|
|
||
|
inherit cargo shell-completion toolchain-funcs
|
||
|
|
||
|
DESCRIPTION="Just a command runner (with syntax inspired by 'make')"
|
||
|
HOMEPAGE="
|
||
|
https://just.systems/
|
||
|
https://crates.io/crates/just
|
||
|
https://github.com/casey/just
|
||
|
"
|
||
|
SRC_URI="${CARGO_CRATE_URIS}"
|
||
|
|
||
|
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 CC0-1.0 MIT Unicode-DFS-2016 Unlicense"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||
|
|
||
|
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||
|
|
||
|
src_test() {
|
||
|
# $USER must be set or tests fail Bug #890889
|
||
|
export USER=portage
|
||
|
default
|
||
|
}
|
||
|
|
||
|
src_prepare() {
|
||
|
default
|
||
|
tc-export CC
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
local DOCS=( README.md )
|
||
|
|
||
|
cargo_src_install
|
||
|
|
||
|
#doman man/*
|
||
|
|
||
|
einstalldocs
|
||
|
|
||
|
# bash-completion
|
||
|
#newbashcomp "completions/${PN}.bash" "${PN}"
|
||
|
|
||
|
# zsh-completion
|
||
|
#newzshcomp "completions/${PN}.zsh" "_${PN}"
|
||
|
|
||
|
# fish-completion
|
||
|
#dofishcomp "completions/${PN}.fish"
|
||
|
}
|