# Copyright 2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Auto-Generated by cargo-ebuild 0.5.4 EAPI=8 CRATES=" adler-1.0.2 ahash-0.8.3 anyhow-1.0.69 arc-swap-1.6.0 atoi-2.0.0 autocfg-1.1.0 bitflags-1.3.2 bstr-1.3.0 btoi-0.4.3 bytesize-1.2.0 bzip2-0.4.4 bzip2-sys-0.1.11+1.0.8 castaway-0.2.2 cc-1.0.79 cfg-if-1.0.0 clap-4.1.6 clap_lex-0.3.2 clru-0.6.1 compact_str-0.6.1 crc32fast-1.3.2 ctrlc-3.2.5 curl-0.4.44 curl-sys-0.4.60+curl-7.88.1 dashmap-5.4.0 dirs-4.0.0 dirs-sys-0.3.7 dunce-1.0.3 encoding_rs-0.8.32 errno-0.2.8 errno-dragonfly-0.1.2 fastrand-1.9.0 filetime-0.2.20 flate2-1.0.25 form_urlencoded-1.1.0 getrandom-0.2.8 gix-0.37.2 gix-actor-0.17.2 gix-attributes-0.8.3 gix-bitmap-0.2.1 gix-chunk-0.4.1 gix-command-0.2.4 gix-config-0.16.3 gix-config-value-0.10.1 gix-credentials-0.9.2 gix-date-0.4.3 gix-diff-0.26.3 gix-discover-0.13.1 gix-features-0.26.5 gix-glob-0.5.5 gix-hash-0.10.3 gix-hashtable-0.1.1 gix-index-0.12.4 gix-lock-3.0.2 gix-mailmap-0.9.3 gix-object-0.26.4 gix-odb-0.40.2 gix-pack-0.30.3 gix-path-0.7.2 gix-prompt-0.3.2 gix-quote-0.4.2 gix-ref-0.24.1 gix-refspec-0.7.3 gix-revision-0.10.4 gix-sec-0.6.2 gix-tempfile-3.0.2 gix-traverse-0.22.2 gix-url-0.13.3 gix-validate-0.7.3 gix-worktree-0.12.3 hashbrown-0.12.3 hashbrown-0.13.2 hermit-abi-0.3.1 hex-0.4.3 home-0.5.4 human_format-1.0.3 idna-0.3.0 imara-diff-0.1.5 indexmap-1.9.2 instant-0.1.12 io-close-0.3.7 io-lifetimes-1.0.5 is-terminal-0.4.4 itoa-1.0.5 libc-0.2.139 libz-sys-1.1.8 linux-raw-sys-0.1.4 lock_api-0.4.9 log-0.4.17 memchr-2.5.0 memmap2-0.5.10 minimal-lexical-0.2.1 miniz_oxide-0.6.2 nix-0.26.2 nom-7.1.3 num-traits-0.2.15 num_threads-0.1.6 once_cell-1.17.1 openssl-probe-0.1.5 openssl-sys-0.9.80 os_str_bytes-6.4.1 parking_lot-0.11.2 parking_lot-0.12.1 parking_lot_core-0.8.6 parking_lot_core-0.9.7 percent-encoding-2.2.0 pkg-config-0.3.26 proc-macro2-1.0.51 prodash-23.0.0 quick-error-2.0.1 quote-1.0.23 redox_syscall-0.2.16 redox_users-0.4.3 regex-automata-0.1.10 remove_dir_all-0.5.3 rustix-0.36.8 rustversion-1.0.11 ryu-1.0.12 same-file-1.0.6 schannel-0.1.21 scopeguard-1.1.0 serde-1.0.152 serde_derive-1.0.152 serde_json-1.0.93 sha1_smol-1.0.0 signal-hook-0.3.15 signal-hook-registry-1.4.1 smallvec-1.10.0 socket2-0.4.7 static_assertions-1.1.0 strsim-0.10.0 syn-1.0.109 tar-0.4.38 tempfile-3.3.0 termcolor-1.2.0 terminal_size-0.2.5 thiserror-1.0.38 thiserror-impl-1.0.38 time-0.3.19 time-core-0.1.0 time-macros-0.2.7 tinyvec-1.6.0 tinyvec_macros-0.1.1 unicode-bidi-0.3.10 unicode-bom-1.1.4 unicode-ident-1.0.6 unicode-normalization-0.1.22 url-2.3.1 vcpkg-0.2.15 version_check-0.9.4 walkdir-2.3.2 wasi-0.11.0+wasi-snapshot-preview1 winapi-0.3.9 winapi-i686-pc-windows-gnu-0.4.0 winapi-util-0.1.5 winapi-x86_64-pc-windows-gnu-0.4.0 windows-0.43.0 windows-sys-0.42.0 windows-sys-0.45.0 windows-targets-0.42.1 windows_aarch64_gnullvm-0.42.1 windows_aarch64_msvc-0.42.1 windows_i686_gnu-0.42.1 windows_i686_msvc-0.42.1 windows_x86_64_gnu-0.42.1 windows_x86_64_gnullvm-0.42.1 windows_x86_64_msvc-0.42.1 xattr-0.2.3 " inherit cargo flag-o-matic DESCRIPTION="Manage a stack of patches using GIT as a backend" HOMEPAGE="https://stacked-git.github.io" SRC_URI="$(cargo_crate_uris)" SRC_URI+=" https://github.com/stacked-git/stgit/archive/v${PV}.tar.gz -> ${P}.tar.gz" RESTRICT="mirror" # License set may be more restrictive as OR is not respected # use cargo-license for a more accurate license picture LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 CC0-1.0 GPL-2 MIT MIT-0 Unicode-DFS-2016 Unlicense ZLIB" SLOT="0/2" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" IUSE="doc" DEPEND="doc? ( app-text/asciidoc )" RDEPEND="" # rust does not use *FLAGS from make.conf, silence portage warning # update with proper path to binaries this crate installs, omit leading / QA_FLAGS_IGNORED="usr/bin/stg" src_configure() { filter-lto #bug 897692 } src_compile() { cargo_src_compile emake completion emake contrib use doc && emake doc } src_install() { cargo_src_install emake DESTDIR="${D}" prefix="/usr" install-completion emake DESTDIR="${D}" prefix="/usr" install-contrib if use doc; then emake DESTDIR="${D}" prefix="/usr" install-man emake DESTDIR="${D}" prefix="/usr" \ htmldir="/usr/share/doc/${PF}" \ install-html fi }