# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Autogenerated by pycargoebuild 0.10 EAPI=8 CRATES=" aho-corasick@1.1.3 aliasable@0.1.3 anstream@0.6.18 anstyle-parse@0.2.6 anstyle-query@1.1.2 anstyle-wincon@3.0.8 anstyle@1.0.10 anyhow@1.0.98 askama@0.14.0 askama_derive@0.14.0 askama_parser@0.14.0 assert_cmd@2.0.17 bincode@1.3.3 bitflags@2.9.1 bstr@1.12.0 cfg-if@1.0.0 cfg_aliases@0.2.1 clap@4.5.38 clap_builder@4.5.38 clap_complete@4.5.50 clap_complete_fig@4.5.2 clap_complete_nushell@4.5.5 clap_derive@4.5.32 clap_lex@0.7.4 color-print-proc-macro@0.3.7 color-print@0.3.7 colorchoice@1.0.3 difflib@0.4.0 dirs-sys@0.5.0 dirs@6.0.0 doc-comment@0.3.3 dunce@1.0.5 either@1.15.0 env_home@0.1.0 errno@0.3.12 fastrand@2.3.0 getrandom@0.2.16 glob@0.3.2 heck@0.4.1 heck@0.5.0 is_terminal_polyfill@1.70.1 itoa@1.0.15 libc@0.2.172 libredox@0.1.3 linux-raw-sys@0.4.15 linux-raw-sys@0.9.4 memchr@2.7.4 minimal-lexical@0.2.1 nix@0.30.1 nom@7.1.3 once_cell@1.21.3 once_cell_polyfill@1.70.1 option-ext@0.2.0 ouroboros@0.18.5 ouroboros_macro@0.18.5 percent-encoding@2.3.1 ppv-lite86@0.2.21 predicates-core@1.0.9 predicates-tree@1.0.12 predicates@3.1.3 proc-macro2-diagnostics@0.10.1 proc-macro2@1.0.95 quote@1.0.40 rand@0.8.5 rand_chacha@0.3.1 rand_core@0.6.4 redox_users@0.5.0 regex-automata@0.4.9 regex-syntax@0.8.5 regex@1.11.1 relative-path@1.9.3 rstest@0.25.0 rstest_macros@0.25.0 rstest_reuse@0.7.0 rustc-hash@2.1.1 rustc_version@0.4.1 rustix@0.38.44 rustix@1.0.7 ryu@1.0.20 semver@1.0.26 serde@1.0.219 serde_derive@1.0.219 serde_json@1.0.140 static_assertions@1.1.0 strsim@0.11.1 syn@2.0.101 tempfile@3.15.0 termtree@0.5.1 thiserror-impl@2.0.12 thiserror@2.0.12 unicode-ident@1.0.18 utf8parse@0.2.2 version_check@0.9.5 wait-timeout@0.2.1 wasi@0.11.0+wasi-snapshot-preview1 which@7.0.3 windows-sys@0.59.0 windows-targets@0.52.6 windows_aarch64_gnullvm@0.52.6 windows_aarch64_msvc@0.52.6 windows_i686_gnu@0.52.6 windows_i686_gnullvm@0.52.6 windows_i686_msvc@0.52.6 windows_x86_64_gnu@0.52.6 windows_x86_64_gnullvm@0.52.6 windows_x86_64_msvc@0.52.6 winnow@0.7.10 winsafe@0.0.19 yansi@1.0.1 zerocopy-derive@0.8.25 zerocopy@0.8.25 " RUST_MIN_VER="1.85.0" inherit cargo shell-completion DESCRIPTION="A smarter cd command for your terminal" HOMEPAGE="https://github.com/ajeetdsouza/zoxide" SRC_URI=" https://github.com/ajeetdsouza/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz ${CARGO_CRATE_URIS} " LICENSE="MIT" # Dependent crate licenses LICENSE+=" MIT MPL-2.0 Unicode-3.0 || ( Apache-2.0 Boost-1.0 ) || ( Apache-2.0 CC0-1.0 MIT-0 ) " SLOT="0" KEYWORDS="~amd64 ~arm64" QA_FLAGS_IGNORED="usr/bin/zoxide" src_prepare() { sed -i 's:strip = true:strip = false:g' Cargo.toml || die default } src_install() { cargo_src_install doman man/man1/* dodoc README.md CHANGELOG.md newbashcomp contrib/completions/"${PN}".bash "${PN}" dozshcomp contrib/completions/_"${PN}" dofishcomp contrib/completions/"${PN}".fish insinto /usr/share/"${PN}" doins init.fish doins zoxide.plugin.zsh }