dev-vcs/git-absorb: add 0.7.0

Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
Yixun Lan
2025-03-12 19:22:48 +08:00
parent 3e2884e84f
commit 3bf3b347f5
2 changed files with 160 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ DIST form_urlencoded-1.2.1.crate 8969 BLAKE2B 383d3a197b73fba199220b7708e16d7705
DIST getrandom-0.2.12.crate 36163 BLAKE2B 0afef8504932ea0ea051cde1d14bd5b79edde68d6ebae6fe88fa4aaa532605a16f466d0d9c0d0aa619eaa105600b6d5ee4e191865a3fa041549a78f78ca82396 SHA512 dd97d7dae1a7ba653abdaf2db719e1a9c8eb721b08b4af0f1c45b1ed5079069d1b57e4f6d9d879e7fae3a890763f4b6aea9bc2d945392b98e811e7b348589bee
DIST git-absorb-0.6.16.tar.gz 29086 BLAKE2B cfa00dc0f3b339269af7360199f357ee0e787c7cff8cd16d452f9bb46dcedec95e7360fe02a3061bd74a6c6b2ba7a01b739e44da197c42dd995fb5aca2878a1f SHA512 fe335d97b5c8e45046365da7830a8582763465e5d779dc1729fa3eba21949638eb339db9ca9178af9b2a487bf45bab796312c726f44b624a65eb3a07de337ddf
DIST git-absorb-0.6.17.tar.gz 29449 BLAKE2B 4633066d8e1316378e5d7902d007fc40a55fcbfdbda201887de9686ffb5b5c5ce7bc0719ad0d67b559b465ae67f6572de356a6b4ae71b49b3898c6f711325b39 SHA512 45dd0f25731e4109dd92a3619e33230740beb442fe4ded40b83c66ceaeca8872c18869d0c63e603777ad9533b5411fc2f88e933a201ffde15e10bee498f712e4
DIST git-absorb-0.7.0.tar.gz 31320 BLAKE2B dc70447f6a7a228007c3a1009343543c0de8788a4c2f91ac774620dd153ec30366f285b785c3ded057f772dd59415d802f1f90a9ec7927249f3ec517b4ce08e8 SHA512 ac748a123e4619bd387438a160c072550fa86b4f321fa6d8a3779bf711035914de09942959fc8e679cb2aa713db7b81c7ff6fd23ff0720c333b7c9824374668a
DIST git2-0.19.0.crate 215910 BLAKE2B e6dfbc292dd580dfe2b5964745d73c29ab4e43d91af37893eb2b915c7967d557940284c388b5693c8f366d98979cfb43f184627319799a359b2ec40c6d875a83 SHA512 9d868ba1594ace291002c4a10dcd43f192dbb8c2070abd74883e57a7f53825c7a29080ecbe4279f6c7ee845c261bcbc93b10004b99df27de41cd29bd48e137e8
DIST git2-0.20.0.crate 219198 BLAKE2B ecc6e070ef2a431ead9c2f0aef774dadcc08db0985ff1d0b3cf002926cd6dbbbba5bd740c8ed9e4bc4da47b85b7d741698f18a7ce47c9b4ee76f32af55b46a1f SHA512 ca86f70b2b1aea95906618791f8093abb6366896c2c7a1db3c054ed3719081c73581f02ba1cdfb58f047df2eccea7108ba933bb9dd9b255d48e1f8159666278d
DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76

View File

@@ -0,0 +1,159 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.13.5
EAPI=8
CRATES="
anstream@0.6.13
anstyle-parse@0.2.3
anstyle-query@1.0.2
anstyle-wincon@3.0.2
anstyle@1.0.6
anyhow@1.0.81
bitflags@1.3.2
bitflags@2.5.0
cc@1.0.90
cfg-if@1.0.0
clap@4.5.3
clap_builder@4.5.2
clap_complete@4.5.1
clap_complete_nushell@4.5.1
clap_derive@4.5.3
clap_lex@0.7.0
colorchoice@1.0.0
deranged@0.3.11
dirs-next@2.0.0
dirs-sys-next@0.1.2
errno@0.3.8
fastrand@2.0.1
form_urlencoded@1.2.1
getrandom@0.2.12
git2@0.20.0
heck@0.5.0
hermit-abi@0.3.9
idna@0.5.0
is-terminal@0.4.12
itoa@1.0.10
jobserver@0.1.28
libc@0.2.155
libgit2-sys@0.18.0+1.9.0
libredox@0.0.1
libz-sys@1.1.16
linux-raw-sys@0.4.13
log@0.4.21
memchr@2.7.1
num-conv@0.1.0
once_cell@1.19.0
percent-encoding@2.3.1
pkg-config@0.3.30
powerfmt@0.2.0
proc-macro2@1.0.79
quote@1.0.35
redox_syscall@0.4.1
redox_users@0.4.4
rustix@0.38.32
rustversion@1.0.14
serde@1.0.197
serde_derive@1.0.197
slog-term@2.9.1
slog@2.7.0
strsim@0.11.0
syn@2.0.53
tempfile@3.10.1
term@0.7.0
terminal_size@0.3.0
thiserror-impl@1.0.58
thiserror@1.0.58
thread_local@1.1.8
time-core@0.1.2
time-macros@0.2.18
time@0.3.36
tinyvec@1.6.0
tinyvec_macros@0.1.1
unicode-bidi@0.3.15
unicode-ident@1.0.12
unicode-normalization@0.1.23
url@2.5.0
utf8parse@0.2.1
vcpkg@0.2.15
wasi@0.11.0+wasi-snapshot-preview1
winapi-i686-pc-windows-gnu@0.4.0
winapi-x86_64-pc-windows-gnu@0.4.0
winapi@0.3.9
windows-sys@0.48.0
windows-sys@0.52.0
windows-targets@0.48.5
windows-targets@0.52.4
windows_aarch64_gnullvm@0.48.5
windows_aarch64_gnullvm@0.52.4
windows_aarch64_msvc@0.48.5
windows_aarch64_msvc@0.52.4
windows_i686_gnu@0.48.5
windows_i686_gnu@0.52.4
windows_i686_msvc@0.48.5
windows_i686_msvc@0.52.4
windows_x86_64_gnu@0.48.5
windows_x86_64_gnu@0.52.4
windows_x86_64_gnullvm@0.48.5
windows_x86_64_gnullvm@0.52.4
windows_x86_64_msvc@0.48.5
windows_x86_64_msvc@0.52.4
"
inherit cargo shell-completion
DESCRIPTION="Automatically absorb staged changes into git current branch"
HOMEPAGE="https://github.com/tummychow/git-absorb"
SRC_URI="${CARGO_CRATE_URIS}"
SRC_URI+=" https://github.com/tummychow/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
# Dependent crate licenses
LICENSE+=" MIT Unicode-DFS-2016"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
>=dev-libs/libgit2-1.9:=
<dev-libs/libgit2-1.10
"
DEPEND="${RDEPEND}
app-text/asciidoc
"
DOCS=( README.md )
QA_FLAGS_IGNORED="usr/bin/${PN}"
src_compile() {
export LIBGIT2_NO_VENDOR=1
cargo_src_compile
GIT_ABSORB_BIN="$(cargo_target_dir)/${PN}"
emake -C Documentation
# 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
}
src_install() {
cargo_src_install
doman Documentation/${PN}.1
newbashcomp "completions/${PN}.bash" "${PN}"
dofishcomp "completions/${PN}.fish"
dozshcomp "completions/${PN}.zsh"
default
}