You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
122 lines
2.3 KiB
122 lines
2.3 KiB
1 month ago
|
# Copyright 2023-2024 Gentoo Authors
|
||
1 year ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
6 months ago
|
# Autogenerated by pycargoebuild 0.6.3
|
||
1 year ago
|
|
||
|
EAPI=8
|
||
|
|
||
|
CRATES="
|
||
|
ansi_term-0.11.0
|
||
|
anyhow-1.0.33
|
||
|
arrayref-0.3.6
|
||
|
arrayvec-0.5.1
|
||
|
atty-0.2.14
|
||
|
autocfg-1.0.1
|
||
|
base64-0.12.3
|
||
|
bitflags-1.2.1
|
||
6 months ago
|
bitflags-2.4.1
|
||
1 year ago
|
blake2b_simd-0.5.10
|
||
|
cc-1.0.60
|
||
|
cfg-if-0.1.10
|
||
|
chrono-0.4.19
|
||
|
clap-2.33.3
|
||
|
constant_time_eq-0.1.5
|
||
|
crossbeam-channel-0.4.4
|
||
|
crossbeam-utils-0.7.2
|
||
|
dirs-2.0.2
|
||
|
dirs-sys-0.3.5
|
||
|
getrandom-0.1.15
|
||
6 months ago
|
git2-0.18.1
|
||
1 year ago
|
hermit-abi-0.1.17
|
||
|
idna-0.2.0
|
||
|
jobserver-0.1.21
|
||
|
lazy_static-1.4.0
|
||
|
libc-0.2.79
|
||
6 months ago
|
libgit2-sys-0.16.1+1.7.1
|
||
1 year ago
|
libz-sys-1.1.2
|
||
|
log-0.4.11
|
||
|
matches-0.1.8
|
||
|
maybe-uninit-2.0.0
|
||
|
memchr-2.3.3
|
||
|
num-integer-0.1.43
|
||
|
num-traits-0.2.12
|
||
|
once_cell-1.12.0
|
||
|
percent-encoding-2.1.0
|
||
|
pkg-config-0.3.18
|
||
|
ppv-lite86-0.2.9
|
||
|
rand-0.7.3
|
||
|
rand_chacha-0.2.2
|
||
|
rand_core-0.5.1
|
||
|
rand_hc-0.2.0
|
||
|
redox_syscall-0.1.57
|
||
|
redox_users-0.3.5
|
||
|
remove_dir_all-0.5.3
|
||
|
rust-argon2-0.8.2
|
||
|
slog-2.5.2
|
||
|
slog-async-2.5.0
|
||
|
slog-term-2.6.0
|
||
|
strsim-0.8.0
|
||
|
take_mut-0.2.2
|
||
|
tempfile-3.1.0
|
||
|
term-0.6.1
|
||
|
textwrap-0.11.0
|
||
|
thread_local-1.1.4
|
||
|
time-0.1.44
|
||
|
tinyvec-0.3.4
|
||
|
unicode-bidi-0.3.4
|
||
|
unicode-normalization-0.1.13
|
||
|
unicode-width-0.1.8
|
||
|
url-2.1.1
|
||
|
vcpkg-0.2.10
|
||
|
vec_map-0.8.2
|
||
|
wasi-0.10.0+wasi-snapshot-preview1
|
||
6 months ago
|
wasi-0.9.0+wasi-snapshot-preview1
|
||
1 year ago
|
winapi-0.3.9
|
||
|
winapi-i686-pc-windows-gnu-0.4.0
|
||
|
winapi-x86_64-pc-windows-gnu-0.4.0
|
||
|
"
|
||
|
|
||
1 month ago
|
inherit cargo shell-completion
|
||
1 year ago
|
|
||
|
DESCRIPTION="Automatically absorb staged changes into git current branch"
|
||
|
HOMEPAGE="https://github.com/tummychow/git-absorb"
|
||
1 month ago
|
SRC_URI="${CARGO_CRATE_URIS}"
|
||
1 year ago
|
SRC_URI+=" https://github.com/tummychow/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||
|
|
||
1 month ago
|
LICENSE="BSD"
|
||
|
# Dependent crate licenses
|
||
|
LICENSE+=" MIT Unicode-DFS-2016"
|
||
1 year ago
|
SLOT="0"
|
||
5 months ago
|
KEYWORDS="~amd64 ~arm64"
|
||
1 year ago
|
|
||
|
DOCS=( README.md )
|
||
|
|
||
|
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||
|
|
||
1 month ago
|
src_compile() {
|
||
|
cargo_src_compile
|
||
|
|
||
|
GIT_ABSORB_BIN="target/$(usex debug debug release)/${PN}"
|
||
|
|
||
|
# Prepare shell completion generation
|
||
|
mkdir completions || die
|
||
|
local shell
|
||
|
for shell in bash fish zsh; do
|
||
|
"${GIT_ABSORB_BIN}" --gen-completions \
|
||
|
${shell} \
|
||
|
> completions/${PN}.${shell} \
|
||
|
|| die
|
||
|
done
|
||
|
}
|
||
|
|
||
1 year ago
|
src_install() {
|
||
|
cargo_src_install
|
||
|
doman Documentation/${PN}.1
|
||
1 month ago
|
|
||
|
newbashcomp "completions/${PN}.bash" "${PN}"
|
||
|
dofishcomp "completions/${PN}.fish"
|
||
|
dozshcomp "completions/${PN}.zsh"
|
||
|
|
||
1 year ago
|
default
|
||
|
}
|