mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
app-misc/onefetch: add 2.21.0
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
517
app-misc/onefetch/onefetch-2.21.0.ebuild
Normal file
517
app-misc/onefetch/onefetch-2.21.0.ebuild
Normal file
@@ -0,0 +1,517 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Autogenerated by pycargoebuild 0.7
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
addr2line@0.19.0
|
||||
adler@1.0.2
|
||||
ahash@0.7.7
|
||||
ahash@0.8.7
|
||||
aho-corasick@0.7.20
|
||||
aho-corasick@1.1.2
|
||||
allocator-api2@0.2.16
|
||||
android-tzdata@0.1.1
|
||||
android_system_properties@0.1.5
|
||||
anes@0.1.6
|
||||
ansi_term@0.12.1
|
||||
anstream@0.6.11
|
||||
anstyle-parse@0.2.1
|
||||
anstyle-query@1.0.0
|
||||
anstyle-wincon@3.0.1
|
||||
anstyle@1.0.1
|
||||
anyhow@1.0.83
|
||||
arc-swap@1.6.0
|
||||
arrayvec@0.7.4
|
||||
askalono@0.4.6
|
||||
atty@0.2.14
|
||||
autocfg@1.1.0
|
||||
backtrace@0.3.67
|
||||
base64@0.22.1
|
||||
bit_field@0.10.2
|
||||
bitflags@1.3.2
|
||||
bitflags@2.4.1
|
||||
bitvec@1.0.1
|
||||
block-buffer@0.10.4
|
||||
borsh-derive@1.3.0
|
||||
borsh@1.3.0
|
||||
bstr@1.8.0
|
||||
btoi@0.4.3
|
||||
bumpalo@3.13.0
|
||||
byte-unit@5.1.4
|
||||
bytecheck@0.6.11
|
||||
bytecheck_derive@0.6.11
|
||||
bytecount@0.6.8
|
||||
bytemuck@1.13.1
|
||||
byteorder@1.4.3
|
||||
bytes@1.5.0
|
||||
byteyarn@0.2.3
|
||||
cargo_toml@0.20.2
|
||||
cast@0.3.0
|
||||
cc@1.0.79
|
||||
cfg-if@1.0.0
|
||||
cfg_aliases@0.1.1
|
||||
chrono-tz-build@0.2.0
|
||||
chrono-tz@0.8.3
|
||||
chrono@0.4.26
|
||||
ciborium-io@0.2.1
|
||||
ciborium-ll@0.2.1
|
||||
ciborium@0.2.1
|
||||
clap@2.34.0
|
||||
clap@4.5.4
|
||||
clap_builder@4.5.2
|
||||
clap_complete@4.5.2
|
||||
clap_derive@4.5.4
|
||||
clap_lex@0.7.0
|
||||
clru@0.6.1
|
||||
cmake@0.1.50
|
||||
color_quant@1.1.0
|
||||
colorchoice@1.0.0
|
||||
console@0.15.7
|
||||
core-foundation-sys@0.8.4
|
||||
cpufeatures@0.2.8
|
||||
crc-catalog@2.2.0
|
||||
crc32fast@1.3.2
|
||||
crc@3.0.1
|
||||
criterion-plot@0.5.0
|
||||
criterion@0.5.1
|
||||
crossbeam-channel@0.5.12
|
||||
crossbeam-deque@0.8.3
|
||||
crossbeam-epoch@0.9.15
|
||||
crossbeam-queue@0.3.8
|
||||
crossbeam-utils@0.8.19
|
||||
crossbeam@0.8.2
|
||||
crunchy@0.2.2
|
||||
crypto-common@0.1.6
|
||||
dashmap@4.0.2
|
||||
dashmap@5.5.3
|
||||
deranged@0.3.9
|
||||
deunicode@0.4.3
|
||||
diff@0.1.13
|
||||
digest@0.10.7
|
||||
dirs-sys@0.3.7
|
||||
dirs@3.0.2
|
||||
dunce@1.0.4
|
||||
either@1.8.1
|
||||
enable-ansi-support@0.2.1
|
||||
encode_unicode@0.3.6
|
||||
encoding_rs@0.8.32
|
||||
encoding_rs_io@0.1.7
|
||||
env_logger@0.8.4
|
||||
equivalent@1.0.0
|
||||
erased-serde@0.4.0
|
||||
errno@0.3.8
|
||||
exr@1.6.4
|
||||
faster-hex@0.9.0
|
||||
fastrand@2.0.1
|
||||
fdeflate@0.3.0
|
||||
filetime@0.2.21
|
||||
flate2@1.0.26
|
||||
flume@0.10.14
|
||||
fnv@1.0.7
|
||||
form_urlencoded@1.2.1
|
||||
fs_extra@1.3.0
|
||||
funty@2.0.0
|
||||
futures-channel@0.3.28
|
||||
futures-core@0.3.28
|
||||
futures-executor@0.3.28
|
||||
futures-io@0.3.28
|
||||
futures-macro@0.3.28
|
||||
futures-sink@0.3.28
|
||||
futures-task@0.3.28
|
||||
futures-timer@3.0.2
|
||||
futures-util@0.3.28
|
||||
futures@0.3.28
|
||||
generic-array@0.14.7
|
||||
getrandom@0.2.10
|
||||
gif@0.13.1
|
||||
gimli@0.27.3
|
||||
gix-actor@0.27.0
|
||||
gix-actor@0.28.1
|
||||
gix-actor@0.31.1
|
||||
gix-attributes@0.19.0
|
||||
gix-attributes@0.22.2
|
||||
gix-bitmap@0.2.11
|
||||
gix-chunk@0.4.8
|
||||
gix-command@0.3.6
|
||||
gix-commitgraph@0.21.0
|
||||
gix-commitgraph@0.24.2
|
||||
gix-config-value@0.14.6
|
||||
gix-config@0.36.1
|
||||
gix-date@0.8.5
|
||||
gix-diff@0.43.0
|
||||
gix-dir@0.4.1
|
||||
gix-discover@0.26.0
|
||||
gix-discover@0.31.0
|
||||
gix-features@0.35.0
|
||||
gix-features@0.36.1
|
||||
gix-features@0.38.1
|
||||
gix-filter@0.11.1
|
||||
gix-fs@0.10.2
|
||||
gix-fs@0.7.0
|
||||
gix-fs@0.8.1
|
||||
gix-glob@0.13.0
|
||||
gix-glob@0.16.2
|
||||
gix-hash@0.13.3
|
||||
gix-hash@0.14.2
|
||||
gix-hashtable@0.4.1
|
||||
gix-hashtable@0.5.2
|
||||
gix-ignore@0.11.2
|
||||
gix-ignore@0.8.0
|
||||
gix-index@0.25.0
|
||||
gix-index@0.32.1
|
||||
gix-lock@10.0.0
|
||||
gix-lock@11.0.1
|
||||
gix-lock@13.1.1
|
||||
gix-macros@0.1.4
|
||||
gix-mailmap@0.23.0
|
||||
gix-object@0.37.0
|
||||
gix-object@0.38.0
|
||||
gix-object@0.42.1
|
||||
gix-odb@0.60.0
|
||||
gix-pack@0.50.0
|
||||
gix-packetline-blocking@0.17.4
|
||||
gix-path@0.10.7
|
||||
gix-pathspec@0.7.4
|
||||
gix-quote@0.4.12
|
||||
gix-ref@0.38.0
|
||||
gix-ref@0.43.0
|
||||
gix-refspec@0.23.0
|
||||
gix-revision@0.27.0
|
||||
gix-revwalk@0.13.0
|
||||
gix-revwalk@0.8.0
|
||||
gix-sec@0.10.6
|
||||
gix-status@0.9.0
|
||||
gix-submodule@0.10.0
|
||||
gix-tempfile@10.0.0
|
||||
gix-tempfile@11.0.1
|
||||
gix-tempfile@13.1.1
|
||||
gix-testtools@0.13.0
|
||||
gix-trace@0.1.9
|
||||
gix-traverse@0.33.0
|
||||
gix-traverse@0.39.0
|
||||
gix-url@0.27.3
|
||||
gix-utils@0.1.12
|
||||
gix-validate@0.8.4
|
||||
gix-worktree@0.26.0
|
||||
gix-worktree@0.33.1
|
||||
gix@0.62.0
|
||||
glob@0.3.1
|
||||
globset@0.4.14
|
||||
globwalk@0.8.1
|
||||
grep-matcher@0.1.6
|
||||
grep-searcher@0.1.11
|
||||
half@1.8.2
|
||||
half@2.3.1
|
||||
hashbrown@0.12.3
|
||||
hashbrown@0.14.3
|
||||
heck@0.4.1
|
||||
heck@0.5.0
|
||||
hermit-abi@0.1.19
|
||||
hermit-abi@0.3.1
|
||||
home@0.5.5
|
||||
human-panic@1.2.1
|
||||
humansize@2.1.3
|
||||
humantime@2.1.0
|
||||
iana-time-zone-haiku@0.1.2
|
||||
iana-time-zone@0.1.57
|
||||
idna@0.5.0
|
||||
ignore@0.4.20
|
||||
image@0.24.9
|
||||
imara-diff@0.1.5
|
||||
indexmap@2.2.6
|
||||
insta@1.38.0
|
||||
instant@0.1.12
|
||||
inventory@0.3.11
|
||||
io-close@0.3.7
|
||||
io-lifetimes@1.0.11
|
||||
is-terminal@0.4.7
|
||||
is_ci@1.1.1
|
||||
itertools@0.10.5
|
||||
itoa@1.0.6
|
||||
jobserver@0.1.26
|
||||
jpeg-decoder@0.3.0
|
||||
js-sys@0.3.64
|
||||
jwalk@0.8.1
|
||||
kstring@2.0.0
|
||||
lazy_static@1.4.0
|
||||
lebe@0.5.2
|
||||
libc@0.2.154
|
||||
libm@0.2.7
|
||||
libz-ng-sys@1.1.9
|
||||
linked-hash-map@0.5.6
|
||||
linux-raw-sys@0.3.8
|
||||
linux-raw-sys@0.4.12
|
||||
lock_api@0.4.10
|
||||
log@0.4.20
|
||||
lzma-sys@0.1.20
|
||||
memchr@2.6.3
|
||||
memmap2@0.5.10
|
||||
memmap2@0.7.1
|
||||
memmap2@0.9.0
|
||||
memoffset@0.9.0
|
||||
miniz_oxide@0.6.2
|
||||
miniz_oxide@0.7.1
|
||||
nanorand@0.7.0
|
||||
npm-package-json@0.1.3
|
||||
num-conv@0.1.0
|
||||
num-format@0.4.4
|
||||
num-traits@0.2.15
|
||||
num_cpus@1.16.0
|
||||
num_threads@0.1.6
|
||||
object@0.30.4
|
||||
once_cell@1.18.0
|
||||
oorandom@11.1.3
|
||||
os_info@3.7.0
|
||||
owo-colors@3.5.0
|
||||
parking_lot@0.11.2
|
||||
parking_lot@0.12.2
|
||||
parking_lot_core@0.8.6
|
||||
parking_lot_core@0.9.8
|
||||
parse-zoneinfo@0.3.0
|
||||
paste@1.0.12
|
||||
percent-encoding@2.3.1
|
||||
pest@2.7.0
|
||||
pest_derive@2.7.0
|
||||
pest_generator@2.7.0
|
||||
pest_meta@2.7.0
|
||||
phf@0.11.2
|
||||
phf_codegen@0.11.2
|
||||
phf_generator@0.11.2
|
||||
phf_shared@0.11.2
|
||||
pin-project-internal@1.1.1
|
||||
pin-project-lite@0.2.9
|
||||
pin-project@1.1.1
|
||||
pin-utils@0.1.0
|
||||
pkg-config@0.3.27
|
||||
plotters-backend@0.3.5
|
||||
plotters-svg@0.3.5
|
||||
plotters@0.3.5
|
||||
png@0.17.9
|
||||
powerfmt@0.2.0
|
||||
ppv-lite86@0.2.17
|
||||
pretty_assertions@1.4.0
|
||||
proc-macro-crate@2.0.0
|
||||
proc-macro-error-attr@1.0.4
|
||||
proc-macro-error@1.0.4
|
||||
proc-macro2@1.0.79
|
||||
prodash@26.2.2
|
||||
prodash@28.0.0
|
||||
ptr_meta@0.1.4
|
||||
ptr_meta_derive@0.1.4
|
||||
qoi@0.4.1
|
||||
quote@1.0.35
|
||||
radium@0.7.0
|
||||
rand@0.8.5
|
||||
rand_chacha@0.3.1
|
||||
rand_core@0.6.4
|
||||
rayon-core@1.11.0
|
||||
rayon@1.7.0
|
||||
redox_syscall@0.2.16
|
||||
redox_syscall@0.3.5
|
||||
redox_users@0.4.3
|
||||
regex-automata@0.4.6
|
||||
regex-syntax@0.8.2
|
||||
regex@1.10.4
|
||||
relative-path@1.8.0
|
||||
rend@0.4.1
|
||||
rkyv@0.7.43
|
||||
rkyv_derive@0.7.43
|
||||
rmp-serde@0.14.4
|
||||
rmp@0.8.11
|
||||
rstest@0.19.0
|
||||
rstest_macros@0.19.0
|
||||
rust_decimal@1.33.1
|
||||
rustc-demangle@0.1.23
|
||||
rustc_version@0.4.0
|
||||
rustix@0.37.25
|
||||
rustix@0.38.31
|
||||
rustversion@1.0.12
|
||||
ryu@1.0.13
|
||||
same-file@1.0.6
|
||||
scopeguard@1.1.0
|
||||
seahash@4.1.0
|
||||
semver@1.0.17
|
||||
serde@1.0.200
|
||||
serde_derive@1.0.200
|
||||
serde_json@1.0.116
|
||||
serde_spanned@0.6.4
|
||||
serde_yaml@0.9.34+deprecated
|
||||
sha1_smol@1.0.0
|
||||
sha2@0.10.7
|
||||
shell-words@1.1.0
|
||||
signal-hook-registry@1.4.1
|
||||
signal-hook@0.3.15
|
||||
simd-adler32@0.3.5
|
||||
simdutf8@0.1.4
|
||||
similar@2.2.1
|
||||
siphasher@0.3.10
|
||||
slab@0.4.8
|
||||
slug@0.1.4
|
||||
smallvec@1.10.0
|
||||
spin@0.9.8
|
||||
static_assertions@1.1.0
|
||||
strsim@0.11.0
|
||||
strsim@0.8.0
|
||||
strum@0.25.0
|
||||
strum_macros@0.25.0
|
||||
syn@1.0.109
|
||||
syn@2.0.53
|
||||
syn_derive@0.1.8
|
||||
tap@1.0.1
|
||||
tar@0.4.38
|
||||
tempfile@3.10.1
|
||||
tera@1.19.1
|
||||
term_size@0.3.2
|
||||
termcolor@1.2.0
|
||||
textwrap@0.11.0
|
||||
thiserror-impl@1.0.47
|
||||
thiserror@1.0.47
|
||||
thread_local@1.1.4
|
||||
tiff@0.9.0
|
||||
time-core@0.1.2
|
||||
time-humanize@0.1.3
|
||||
time-macros@0.2.18
|
||||
time@0.3.36
|
||||
tinytemplate@1.2.1
|
||||
tinyvec@1.6.0
|
||||
tinyvec_macros@0.1.1
|
||||
tokei@12.1.2
|
||||
toml@0.5.11
|
||||
toml@0.7.5
|
||||
toml@0.8.6
|
||||
toml_datetime@0.6.5
|
||||
toml_edit@0.19.11
|
||||
toml_edit@0.20.7
|
||||
typenum@1.16.0
|
||||
typetag-impl@0.2.16
|
||||
typetag@0.2.16
|
||||
ucd-trie@0.1.5
|
||||
uluru@3.0.0
|
||||
unic-char-property@0.9.0
|
||||
unic-char-range@0.9.0
|
||||
unic-common@0.9.0
|
||||
unic-segment@0.9.0
|
||||
unic-ucd-segment@0.9.0
|
||||
unic-ucd-version@0.9.0
|
||||
unicode-bidi@0.3.13
|
||||
unicode-bom@2.0.2
|
||||
unicode-ident@1.0.9
|
||||
unicode-normalization@0.1.22
|
||||
unicode-width@0.1.10
|
||||
unsafe-libyaml@0.2.11
|
||||
url@2.5.0
|
||||
utf8-width@0.1.6
|
||||
utf8parse@0.2.1
|
||||
uuid@1.4.0
|
||||
vec_map@0.8.2
|
||||
version_check@0.9.4
|
||||
walkdir@2.3.3
|
||||
wasi@0.11.0+wasi-snapshot-preview1
|
||||
wasm-bindgen-backend@0.2.87
|
||||
wasm-bindgen-macro-support@0.2.87
|
||||
wasm-bindgen-macro@0.2.87
|
||||
wasm-bindgen-shared@0.2.87
|
||||
wasm-bindgen@0.2.87
|
||||
web-sys@0.3.64
|
||||
weezl@0.1.8
|
||||
winapi-i686-pc-windows-gnu@0.4.0
|
||||
winapi-util@0.1.5
|
||||
winapi-x86_64-pc-windows-gnu@0.4.0
|
||||
winapi@0.3.9
|
||||
windows-sys@0.42.0
|
||||
windows-sys@0.45.0
|
||||
windows-sys@0.48.0
|
||||
windows-sys@0.52.0
|
||||
windows-targets@0.42.2
|
||||
windows-targets@0.48.1
|
||||
windows-targets@0.52.0
|
||||
windows@0.48.0
|
||||
windows_aarch64_gnullvm@0.42.2
|
||||
windows_aarch64_gnullvm@0.48.0
|
||||
windows_aarch64_gnullvm@0.52.0
|
||||
windows_aarch64_msvc@0.42.2
|
||||
windows_aarch64_msvc@0.48.0
|
||||
windows_aarch64_msvc@0.52.0
|
||||
windows_i686_gnu@0.42.2
|
||||
windows_i686_gnu@0.48.0
|
||||
windows_i686_gnu@0.52.0
|
||||
windows_i686_msvc@0.42.2
|
||||
windows_i686_msvc@0.48.0
|
||||
windows_i686_msvc@0.52.0
|
||||
windows_x86_64_gnu@0.42.2
|
||||
windows_x86_64_gnu@0.48.0
|
||||
windows_x86_64_gnu@0.52.0
|
||||
windows_x86_64_gnullvm@0.42.2
|
||||
windows_x86_64_gnullvm@0.48.0
|
||||
windows_x86_64_gnullvm@0.52.0
|
||||
windows_x86_64_msvc@0.42.2
|
||||
windows_x86_64_msvc@0.48.0
|
||||
windows_x86_64_msvc@0.52.0
|
||||
winnow@0.4.7
|
||||
winnow@0.5.27
|
||||
winnow@0.6.5
|
||||
winres@0.1.12
|
||||
wyz@0.5.1
|
||||
xz2@0.1.7
|
||||
yansi@0.5.1
|
||||
zerocopy-derive@0.7.32
|
||||
zerocopy@0.7.32
|
||||
zstd-safe@5.0.2+zstd.1.5.2
|
||||
zstd-sys@2.0.8+zstd.1.5.5
|
||||
zstd@0.11.2+zstd.1.5.2
|
||||
zune-inflate@0.2.54
|
||||
"
|
||||
|
||||
inherit cargo shell-completion
|
||||
|
||||
DESCRIPTION="Command-line Git information tool"
|
||||
HOMEPAGE="https://onefetch.dev"
|
||||
SRC_URI="https://github.com/o2sh/onefetch/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
https://git.sr.ht/~antecrescent/gentoo-files/blob/main/app-misc/onefetch/${P}-shellcomp.tar.xz
|
||||
${CARGO_CRATE_URIS}
|
||||
"
|
||||
LICENSE="MIT"
|
||||
# Dependent crate licenses
|
||||
LICENSE+=" Apache-2.0 BSD ISC MPL-2.0 Unicode-DFS-2016 ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-arch/zstd:="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-build/cmake
|
||||
virtual/pkgconfig
|
||||
>=virtual/rust-1.74.0
|
||||
test? (
|
||||
app-arch/xz-utils
|
||||
dev-vcs/git
|
||||
${RDEPEND}
|
||||
)
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/onefetch"
|
||||
|
||||
pkg_setup() {
|
||||
export ZSTD_SYS_USE_PKG_CONFIG=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doman docs/onefetch.1
|
||||
dodoc {CHANGELOG,README}.md
|
||||
|
||||
dobashcomp "${WORKDIR}"/completions/onefetch
|
||||
dofishcomp "${WORKDIR}"/completions/onefetch.fish
|
||||
dozshcomp "${WORKDIR}"/completions/_onefetch
|
||||
cargo_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Onefetch supports displaying images using x11-terms/kitty or any terminal emulator"
|
||||
elog "which supports the SIXEL graphics format or iTerm2's Inline Images Protocol."
|
||||
elog "See also: https://github.com/o2sh/onefetch/wiki/images-in-the-terminal"
|
||||
}
|
||||
Reference in New Issue
Block a user