commit: 3bf3b347f5987fe35510e2cab39ff5ebdb60e20c Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Wed Mar 12 11:22:48 2025 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Wed Mar 12 11:57:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bf3b347
dev-vcs/git-absorb: add 0.7.0 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> dev-vcs/git-absorb/Manifest | 1 + dev-vcs/git-absorb/git-absorb-0.7.0.ebuild | 159 +++++++++++++++++++++++++++++ 2 files changed, 160 insertions(+) diff --git a/dev-vcs/git-absorb/Manifest b/dev-vcs/git-absorb/Manifest index ee765cce7eff..4eb1883a63e6 100644 --- a/dev-vcs/git-absorb/Manifest +++ b/dev-vcs/git-absorb/Manifest @@ -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 diff --git a/dev-vcs/git-absorb/git-absorb-0.7.0.ebuild b/dev-vcs/git-absorb/git-absorb-0.7.0.ebuild new file mode 100644 index 000000000000..12d660c41aec --- /dev/null +++ b/dev-vcs/git-absorb/git-absorb-0.7.0.ebuild @@ -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=" + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected]+1.9.0 + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected]+wasi-snapshot-preview1 + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] +" + +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 +}
