diff options
author | Yixun Lan <dlan@gentoo.org> | 2024-11-08 19:38:28 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2024-11-08 19:42:12 +0800 |
commit | c6d3af6024703942e841f63194e86724db3c10b0 (patch) | |
tree | 4147646846f87913feb8c3e13a615cf8037f43b4 /dev-vcs | |
parent | net-p2p/biglybt: update longdescription (diff) | |
download | gentoo-c6d3af6024703942e841f63194e86724db3c10b0.tar.gz gentoo-c6d3af6024703942e841f63194e86724db3c10b0.tar.bz2 gentoo-c6d3af6024703942e841f63194e86724db3c10b0.zip |
dev-vcs/git-absorb: add 0.6.16
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/git-absorb/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/git-absorb/git-absorb-0.6.16.ebuild | 158 |
2 files changed, 159 insertions, 0 deletions
diff --git a/dev-vcs/git-absorb/Manifest b/dev-vcs/git-absorb/Manifest index 08dc51d5ffe6..4c7fd301ee53 100644 --- a/dev-vcs/git-absorb/Manifest +++ b/dev-vcs/git-absorb/Manifest @@ -25,6 +25,7 @@ DIST fastrand-2.0.1.crate 14664 BLAKE2B 7a5812153500170dcc53ca8d66384fef46eeb5a8 DIST form_urlencoded-1.2.1.crate 8969 BLAKE2B 383d3a197b73fba199220b7708e16d770591ac16725faf4efc1a8c230c569c381870d4a11b8fba623e761e68f9d318630b22101d461e67dd26c67e13a73358a1 SHA512 c65104e2dc08fad572bb31f981700fd43dd29fcff42b01c7ccdbd3d4c23dec12360aed3f1b5fc4766fee386d418a65349b2941b8735f788cb0d35d631a6a8dd1 DIST getrandom-0.2.12.crate 36163 BLAKE2B 0afef8504932ea0ea051cde1d14bd5b79edde68d6ebae6fe88fa4aaa532605a16f466d0d9c0d0aa619eaa105600b6d5ee4e191865a3fa041549a78f78ca82396 SHA512 dd97d7dae1a7ba653abdaf2db719e1a9c8eb721b08b4af0f1c45b1ed5079069d1b57e4f6d9d879e7fae3a890763f4b6aea9bc2d945392b98e811e7b348589bee DIST git-absorb-0.6.15.tar.gz 29061 BLAKE2B eaf562d7afdab01863989cae2ab9b4813cc73e8c0d44127eb97f5a728cef9f176fc6da14c41de5c76e893e8a693a8bb44bf102416a45bd49a0c28180eff81771 SHA512 290ad9ba918284627c8407992bf9b17d15e53d77c57a0b54e526b99bf0329ebfeb3646e93b2971f30201ec0e8b456a5ca298195d33d8e877c92aa18578fbb39a +DIST git-absorb-0.6.16.tar.gz 29086 BLAKE2B cfa00dc0f3b339269af7360199f357ee0e787c7cff8cd16d452f9bb46dcedec95e7360fe02a3061bd74a6c6b2ba7a01b739e44da197c42dd995fb5aca2878a1f SHA512 fe335d97b5c8e45046365da7830a8582763465e5d779dc1729fa3eba21949638eb339db9ca9178af9b2a487bf45bab796312c726f44b624a65eb3a07de337ddf DIST git2-0.19.0.crate 215910 BLAKE2B e6dfbc292dd580dfe2b5964745d73c29ab4e43d91af37893eb2b915c7967d557940284c388b5693c8f366d98979cfb43f184627319799a359b2ec40c6d875a83 SHA512 9d868ba1594ace291002c4a10dcd43f192dbb8c2070abd74883e57a7f53825c7a29080ecbe4279f6c7ee845c261bcbc93b10004b99df27de41cd29bd48e137e8 DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76 DIST hermit-abi-0.3.9.crate 16165 BLAKE2B b779f005bd4cb9ba9abe401a0a559a5bbcc44726ac37f53e9c8d1f7218389ec8b48f74d14666261bc4fba4fbe5558cfefae873c49a2312c8c8bd4010b8344064 SHA512 f3a5a51d834a6ad55480b53f7e9cdc73a512ab0cc6c246a6ab1e8bf8f9851a0c8a55982f5bba6cb57b5a03b54870e73b0bab0a79195764c308318394a3ea8045 diff --git a/dev-vcs/git-absorb/git-absorb-0.6.16.ebuild b/dev-vcs/git-absorb/git-absorb-0.6.16.ebuild new file mode 100644 index 000000000000..c032fdba1197 --- /dev/null +++ b/dev-vcs/git-absorb/git-absorb-0.6.16.ebuild @@ -0,0 +1,158 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.13.3 + +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 + crossbeam-channel@0.5.12 + crossbeam-utils@0.8.19 + 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.19.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.17.0+1.8.1 + 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-async@2.8.0 + slog-term@2.9.1 + slog@2.7.0 + strsim@0.11.0 + syn@2.0.53 + take_mut@0.2.2 + 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.8:= +" +DEPEND="${RDEPEND}" + +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}" + + # 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 +} |