mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
371 lines
7.1 KiB
Bash
371 lines
7.1 KiB
Bash
# Copyright 2022-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# Autogenerated by pycargoebuild 0.13.2
|
|
|
|
EAPI=8
|
|
|
|
CRATES="
|
|
adler2@2.0.1
|
|
aho-corasick@1.1.4
|
|
android_system_properties@0.1.5
|
|
ansi_colours@1.2.3
|
|
ansi_term@0.12.1
|
|
anstream@1.0.0
|
|
anstyle-parse@0.2.7
|
|
anstyle-parse@1.0.0
|
|
anstyle-query@1.1.5
|
|
anstyle-wincon@3.0.11
|
|
anstyle@1.0.14
|
|
anyhow@1.0.102
|
|
approx@0.5.1
|
|
autocfg@1.5.0
|
|
base64@0.22.1
|
|
bat@0.26.1
|
|
bincode@1.3.3
|
|
bitflags@2.11.0
|
|
block2@0.6.2
|
|
box_drawing@0.1.2
|
|
bstr@1.12.1
|
|
bumpalo@3.20.2
|
|
by_address@1.2.1
|
|
bytelines@2.5.0
|
|
bytemuck@1.25.0
|
|
bytesize@1.3.3
|
|
cc@1.2.59
|
|
cfg-if@1.0.4
|
|
cfg_aliases@0.2.1
|
|
chrono-humanize@0.2.3
|
|
chrono@0.4.44
|
|
clap@4.6.0
|
|
clap_builder@4.6.0
|
|
clap_complete@4.6.0
|
|
clap_derive@4.6.0
|
|
clap_lex@1.1.0
|
|
clircle@0.6.1
|
|
colorchoice@1.0.5
|
|
console@0.15.11
|
|
console@0.16.3
|
|
content_inspector@0.2.4
|
|
core-foundation-sys@0.8.7
|
|
crc32fast@1.5.0
|
|
crossbeam-channel@0.5.15
|
|
crossbeam-utils@0.8.21
|
|
crossterm@0.27.0
|
|
crossterm_winapi@0.9.1
|
|
ctrlc@3.5.2
|
|
darling@0.23.0
|
|
darling_core@0.23.0
|
|
darling_macro@0.23.0
|
|
deranged@0.5.8
|
|
diff@0.1.13
|
|
dirs-sys@0.5.0
|
|
dirs@6.0.0
|
|
dispatch2@0.3.1
|
|
displaydoc@0.2.5
|
|
either@1.15.0
|
|
encode_unicode@1.0.0
|
|
encoding_rs@0.8.35
|
|
equivalent@1.0.2
|
|
errno@0.3.14
|
|
etcetera@0.11.0
|
|
fast-srgb8@1.0.0
|
|
fastrand@2.4.1
|
|
find-msvc-tools@0.1.9
|
|
flate2@1.1.9
|
|
fnv@1.0.7
|
|
foldhash@0.1.5
|
|
form_urlencoded@1.2.2
|
|
futures-channel@0.3.32
|
|
futures-core@0.3.32
|
|
futures-executor@0.3.32
|
|
futures-io@0.3.32
|
|
futures-macro@0.3.32
|
|
futures-sink@0.3.32
|
|
futures-task@0.3.32
|
|
futures-timer@3.0.3
|
|
futures-util@0.3.32
|
|
futures@0.3.32
|
|
getrandom@0.2.17
|
|
getrandom@0.3.4
|
|
getrandom@0.4.2
|
|
git2@0.20.4
|
|
glob@0.3.3
|
|
globset@0.4.18
|
|
grep-cli@0.1.12
|
|
hashbrown@0.15.5
|
|
hashbrown@0.16.1
|
|
heck@0.5.0
|
|
iana-time-zone-haiku@0.1.2
|
|
iana-time-zone@0.1.65
|
|
icu_collections@2.2.0
|
|
icu_locale_core@2.2.0
|
|
icu_normalizer@2.2.0
|
|
icu_normalizer_data@2.2.0
|
|
icu_properties@2.2.0
|
|
icu_properties_data@2.2.0
|
|
icu_provider@2.2.0
|
|
id-arena@2.3.0
|
|
ident_case@1.0.1
|
|
idna@1.1.0
|
|
idna_adapter@1.2.1
|
|
indexmap@2.13.1
|
|
insta@1.47.2
|
|
is_terminal_polyfill@1.70.2
|
|
itertools@0.10.5
|
|
itertools@0.14.0
|
|
itoa@1.0.18
|
|
jobserver@0.1.34
|
|
js-sys@0.3.94
|
|
lazy_static@1.5.0
|
|
leb128fmt@0.1.0
|
|
libc@0.2.184
|
|
libgit2-sys@0.18.3+1.9.2
|
|
libredox@0.1.15
|
|
libz-sys@1.1.28
|
|
linked-hash-map@0.5.6
|
|
linux-raw-sys@0.12.1
|
|
litemap@0.8.2
|
|
lock_api@0.4.14
|
|
log@0.4.29
|
|
memchr@2.8.0
|
|
miniz_oxide@0.8.9
|
|
minus@5.6.1
|
|
mio@0.8.11
|
|
mio@1.2.0
|
|
nix@0.31.2
|
|
ntapi@0.4.3
|
|
nu-ansi-term@0.50.3
|
|
num-conv@0.2.1
|
|
num-traits@0.2.19
|
|
objc2-encode@4.1.0
|
|
objc2@0.6.4
|
|
once_cell@1.21.4
|
|
once_cell_polyfill@1.70.2
|
|
onig@6.5.1
|
|
onig_sys@69.9.1
|
|
option-ext@0.2.0
|
|
palette@0.7.6
|
|
palette_derive@0.7.6
|
|
parking_lot@0.12.5
|
|
parking_lot_core@0.9.12
|
|
path_abs@0.5.1
|
|
pathdiff@0.2.3
|
|
percent-encoding@2.3.2
|
|
phf@0.11.3
|
|
phf_generator@0.11.3
|
|
phf_macros@0.11.3
|
|
phf_shared@0.11.3
|
|
pin-project-lite@0.2.17
|
|
pkg-config@0.3.32
|
|
plist@1.8.0
|
|
potential_utf@0.1.5
|
|
powerfmt@0.2.0
|
|
pretty_assertions@1.4.1
|
|
prettyplease@0.2.37
|
|
proc-macro-crate@3.5.0
|
|
proc-macro2@1.0.106
|
|
quick-xml@0.38.4
|
|
quote@1.0.45
|
|
r-efi@5.3.0
|
|
r-efi@6.0.0
|
|
rand@0.8.5
|
|
rand_core@0.6.4
|
|
redox_syscall@0.5.18
|
|
redox_users@0.5.2
|
|
regex-automata@0.4.14
|
|
regex-syntax@0.8.10
|
|
regex@1.12.3
|
|
relative-path@1.9.3
|
|
rgb@0.8.53
|
|
rstest@0.21.0
|
|
rstest_macros@0.21.0
|
|
rustc_version@0.4.1
|
|
rustix@1.1.4
|
|
rustversion@1.0.22
|
|
ryu@1.0.23
|
|
same-file@1.0.6
|
|
scopeguard@1.2.0
|
|
semver@1.0.28
|
|
serde@1.0.228
|
|
serde_core@1.0.228
|
|
serde_derive@1.0.228
|
|
serde_json@1.0.149
|
|
serde_spanned@1.1.1
|
|
serde_with@3.18.0
|
|
serde_with_macros@3.18.0
|
|
serde_yaml@0.9.34+deprecated
|
|
shell-words@1.1.1
|
|
shlex@1.3.0
|
|
signal-hook-mio@0.2.5
|
|
signal-hook-registry@1.4.8
|
|
signal-hook@0.3.18
|
|
simd-adler32@0.3.9
|
|
similar@2.7.0
|
|
siphasher@1.0.2
|
|
slab@0.4.12
|
|
smallvec@1.15.1
|
|
smol_str@0.1.24
|
|
stable_deref_trait@1.2.1
|
|
std_prelude@0.2.12
|
|
strsim@0.11.1
|
|
syn@2.0.117
|
|
synstructure@0.13.2
|
|
syntect@5.3.0
|
|
sysinfo@0.29.11
|
|
tempfile@3.27.0
|
|
termcolor@1.4.1
|
|
terminal-colorsaurus@0.4.8
|
|
terminal-colorsaurus@1.0.3
|
|
terminal-trx@0.2.6
|
|
terminal_size@0.4.4
|
|
textwrap@0.16.2
|
|
thiserror-impl@1.0.69
|
|
thiserror-impl@2.0.18
|
|
thiserror@1.0.69
|
|
thiserror@2.0.18
|
|
time-core@0.1.8
|
|
time-macros@0.2.27
|
|
time@0.3.47
|
|
tinystr@0.8.3
|
|
toml@0.9.12+spec-1.1.0
|
|
toml_datetime@0.7.5+spec-1.1.0
|
|
toml_datetime@1.1.1+spec-1.1.0
|
|
toml_edit@0.25.10+spec-1.1.0
|
|
toml_parser@1.1.2+spec-1.1.0
|
|
toml_writer@1.1.1+spec-1.1.0
|
|
unicode-ident@1.0.24
|
|
unicode-segmentation@1.13.2
|
|
unicode-width@0.1.14
|
|
unicode-width@0.2.2
|
|
unicode-xid@0.2.6
|
|
unsafe-libyaml@0.2.11
|
|
url@2.5.8
|
|
utf8_iter@1.0.4
|
|
utf8parse@0.2.2
|
|
vcpkg@0.2.15
|
|
walkdir@2.5.0
|
|
wasi@0.11.1+wasi-snapshot-preview1
|
|
wasip2@1.0.2+wasi-0.2.9
|
|
wasip3@0.4.0+wasi-0.3.0-rc-2026-01-06
|
|
wasm-bindgen-macro-support@0.2.117
|
|
wasm-bindgen-macro@0.2.117
|
|
wasm-bindgen-shared@0.2.117
|
|
wasm-bindgen@0.2.117
|
|
wasm-encoder@0.244.0
|
|
wasm-metadata@0.244.0
|
|
wasmparser@0.244.0
|
|
wild@2.2.1
|
|
winapi-i686-pc-windows-gnu@0.4.0
|
|
winapi-util@0.1.11
|
|
winapi-x86_64-pc-windows-gnu@0.4.0
|
|
winapi@0.3.9
|
|
windows-core@0.56.0
|
|
windows-core@0.62.2
|
|
windows-implement@0.56.0
|
|
windows-implement@0.60.2
|
|
windows-interface@0.56.0
|
|
windows-interface@0.59.3
|
|
windows-link@0.2.1
|
|
windows-result@0.1.2
|
|
windows-result@0.4.1
|
|
windows-strings@0.5.1
|
|
windows-sys@0.48.0
|
|
windows-sys@0.59.0
|
|
windows-sys@0.61.2
|
|
windows-targets@0.48.5
|
|
windows-targets@0.52.6
|
|
windows@0.56.0
|
|
windows_aarch64_gnullvm@0.48.5
|
|
windows_aarch64_gnullvm@0.52.6
|
|
windows_aarch64_msvc@0.48.5
|
|
windows_aarch64_msvc@0.52.6
|
|
windows_i686_gnu@0.48.5
|
|
windows_i686_gnu@0.52.6
|
|
windows_i686_gnullvm@0.52.6
|
|
windows_i686_msvc@0.48.5
|
|
windows_i686_msvc@0.52.6
|
|
windows_x86_64_gnu@0.48.5
|
|
windows_x86_64_gnu@0.52.6
|
|
windows_x86_64_gnullvm@0.48.5
|
|
windows_x86_64_gnullvm@0.52.6
|
|
windows_x86_64_msvc@0.48.5
|
|
windows_x86_64_msvc@0.52.6
|
|
winnow@0.7.15
|
|
winnow@1.0.1
|
|
wit-bindgen-core@0.51.0
|
|
wit-bindgen-rust-macro@0.51.0
|
|
wit-bindgen-rust@0.51.0
|
|
wit-bindgen@0.51.0
|
|
wit-component@0.244.0
|
|
wit-parser@0.244.0
|
|
writeable@0.6.3
|
|
xdg@2.5.2
|
|
xterm-color@1.0.2
|
|
yaml-rust@0.4.5
|
|
yansi@1.0.1
|
|
yoke-derive@0.8.2
|
|
yoke@0.8.2
|
|
zerofrom-derive@0.1.7
|
|
zerofrom@0.1.7
|
|
zerotrie@0.2.4
|
|
zerovec-derive@0.11.3
|
|
zerovec@0.11.6
|
|
zmij@1.0.21
|
|
"
|
|
RUST_MIN_VER="1.88.0"
|
|
inherit cargo shell-completion
|
|
|
|
DESCRIPTION="Syntax-highlighting pager for git"
|
|
HOMEPAGE="https://github.com/dandavison/delta"
|
|
SRC_URI="
|
|
https://github.com/dandavison/delta/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
|
|
${CARGO_CRATE_URIS}
|
|
"
|
|
S="${WORKDIR}/${P/git-/}"
|
|
|
|
LICENSE="MIT"
|
|
# Dependent crate licenses
|
|
LICENSE+=" Apache-2.0 BSD LGPL-3+ MIT MPL-2.0 Unicode-3.0 ZLIB"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv"
|
|
|
|
BDEPEND="
|
|
virtual/pkgconfig
|
|
"
|
|
DEPEND="
|
|
dev-libs/libgit2:0/1.9
|
|
dev-libs/oniguruma:=
|
|
virtual/zlib:=
|
|
"
|
|
RDEPEND="
|
|
${DEPEND}
|
|
!app-text/delta
|
|
"
|
|
|
|
QA_FLAGS_IGNORED="usr/bin/delta"
|
|
|
|
pkg_setup() {
|
|
rust_pkg_setup
|
|
}
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
# unpin crates, and allow newer libgit2
|
|
rm Cargo.lock || die
|
|
sed -i -e '/git2/s:0\.18\.2:*:' Cargo.toml || die
|
|
|
|
export LIBGIT2_NO_VENDOR=1
|
|
export PKG_CONFIG_ALLOW_CROSS=1
|
|
export RUSTONIG_SYSTEM_LIBONIG=1
|
|
}
|
|
|
|
src_install() {
|
|
cargo_src_install
|
|
|
|
newbashcomp "${S}"/etc/completion/completion.bash delta
|
|
newzshcomp "${S}"/etc/completion/completion.zsh _delta
|
|
newfishcomp "${S}"/etc/completion/completion.fish delta.fish
|
|
}
|