# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Auto-Generated by cargo-ebuild 0.5.4-r1 EAPI=8 CRATES=" addr2line@0.21.0 adler@1.0.2 ahash@0.8.8 aho-corasick@1.1.2 anstream@0.6.11 anstyle@1.0.6 anstyle-parse@0.2.3 anstyle-query@1.0.2 anstyle-wincon@3.0.2 anyhow@1.0.79 async-priority-channel@0.1.0 async-recursion@1.0.5 async-trait@0.1.77 atomic-take@1.1.0 autocfg@1.1.0 backtrace@0.3.69 bitflags@1.3.2 bitflags@2.4.2 block-buffer@0.10.4 bstr@1.9.0 btoi@0.4.3 bumpalo@3.15.0 bytes@1.5.0 cc@1.0.83 cfg-if@1.0.0 clap@4.5.1 clap_builder@4.5.1 clap_complete@4.5.1 clap_derive@4.5.0 clap_lex@0.7.0 colorchoice@1.0.0 command-group@5.0.1 const-random@0.1.17 const-random-macro@0.1.16 cpufeatures@0.2.12 crossbeam-channel@0.5.11 crossbeam-deque@0.8.5 crossbeam-epoch@0.9.18 crossbeam-utils@0.8.19 crossterm@0.25.0 crossterm_winapi@0.9.1 cruet@0.14.0 crunchy@0.2.2 crypto-common@0.1.6 deranged@0.3.11 deunicode@1.4.3 diff@0.1.13 difflib@0.4.0 digest@0.10.7 dirs@4.0.0 dirs-sys@0.3.7 downcast@0.11.0 dunce@1.0.4 either@1.10.0 endian-type@0.1.2 enquote@1.1.0 equivalent@1.0.1 errno@0.3.8 evalexpr@11.3.0 event-listener@2.5.3 faster-hex@0.9.0 fastrand@2.0.1 filetime@0.2.23 float-cmp@0.9.0 fragile@2.0.0 fsevent-sys@4.1.0 futures@0.3.30 futures-channel@0.3.30 futures-core@0.3.30 futures-executor@0.3.30 futures-io@0.3.30 futures-macro@0.3.30 futures-sink@0.3.30 futures-task@0.3.30 futures-util@0.3.30 generic-array@0.14.7 getrandom@0.2.12 gimli@0.28.1 gix-actor@0.28.1 gix-config@0.31.0 gix-config-value@0.14.4 gix-date@0.8.3 gix-features@0.36.1 gix-fs@0.8.1 gix-glob@0.14.1 gix-hash@0.13.3 gix-lock@11.0.1 gix-object@0.38.0 gix-path@0.10.5 gix-ref@0.38.0 gix-sec@0.10.4 gix-tempfile@11.0.1 gix-trace@0.1.7 gix-utils@0.1.9 gix-validate@0.8.3 globset@0.4.14 handlebars@5.1.1 handlebars_misc_helpers@0.15.0 hashbrown@0.14.3 heck@0.4.1 hermit-abi@0.3.6 home@0.5.9 hostname@0.3.1 ignore@0.4.22 ignore-files@1.3.2 indexmap@2.2.3 inotify@0.9.6 inotify-sys@0.1.5 instant@0.1.12 itertools@0.10.5 itoa@1.0.10 jmespath@0.3.0 kqueue@1.0.8 kqueue-sys@1.0.4 lazy_static@1.4.0 libc@0.2.153 libredox@0.0.1 linux-raw-sys@0.4.13 lock_api@0.4.11 log@0.4.20 maplit@1.0.2 match_cfg@0.1.0 memchr@2.7.1 memmap2@0.7.1 miette@5.10.0 miette-derive@5.10.0 minimal-lexical@0.2.1 miniz_oxide@0.7.2 mio@0.8.11 mockall@0.11.4 mockall_derive@0.11.4 nibble_vec@0.1.0 nix@0.27.1 nom@7.1.3 normalize-line-endings@0.3.0 normalize-path@0.2.1 notify@6.1.1 num-conv@0.1.0 num-traits@0.2.18 num_cpus@1.16.0 num_threads@0.1.7 object@0.32.2 once_cell@1.19.0 parking_lot@0.12.1 parking_lot_core@0.9.9 pest@2.7.7 pest_derive@2.7.7 pest_generator@2.7.7 pest_meta@2.7.7 pin-project-lite@0.2.13 pin-utils@0.1.0 powerfmt@0.2.0 predicates@2.1.5 predicates-core@1.0.6 predicates-tree@1.0.9 proc-macro2@1.0.78 prodash@26.2.2 project-origins@1.3.0 quote@1.0.35 radix_trie@0.2.1 redox_syscall@0.4.1 redox_users@0.4.4 regex@1.10.3 regex-automata@0.4.5 regex-syntax@0.8.2 rhai@1.17.1 rhai_codegen@2.0.0 rustc-demangle@0.1.23 rustix@0.38.31 ryu@1.0.16 same-file@1.0.6 scopeguard@1.2.0 serde@1.0.196 serde_derive@1.0.196 serde_json@1.0.113 serde_spanned@0.6.5 serde_yaml@0.9.31 sha1_smol@1.0.0 sha2@0.10.8 shellexpand@2.1.2 signal-hook@0.3.17 signal-hook-mio@0.2.3 signal-hook-registry@1.4.1 simplelog@0.12.1 slab@0.4.9 slug@0.1.5 smallvec@1.13.1 smartstring@1.0.1 static_assertions@1.1.0 strsim@0.11.0 syn@1.0.109 syn@2.0.49 tempfile@3.10.0 termcolor@1.1.3 termtree@0.4.1 thin-vec@0.2.13 thiserror@1.0.57 thiserror-impl@1.0.57 time@0.3.34 time-core@0.1.2 time-macros@0.2.17 tiny-keccak@2.0.2 tinyvec@1.6.0 tinyvec_macros@0.1.1 tokio@1.36.0 tokio-macros@2.2.0 tokio-stream@0.1.14 toml@0.4.10 toml@0.8.8 toml_datetime@0.6.5 toml_edit@0.21.0 tracing@0.1.40 tracing-attributes@0.1.27 tracing-core@0.1.32 typenum@1.17.0 ucd-trie@0.1.6 unicase@2.7.0 unicode-bom@2.0.3 unicode-ident@1.0.12 unicode-normalization@0.1.22 unicode-width@0.1.11 unsafe-libyaml@0.2.10 utf8parse@0.2.1 version_check@0.9.4 walkdir@2.4.0 wasi@0.11.0+wasi-snapshot-preview1 wasm-bindgen@0.2.91 wasm-bindgen-backend@0.2.91 wasm-bindgen-macro@0.2.91 wasm-bindgen-macro-support@0.2.91 wasm-bindgen-shared@0.2.91 watchexec@3.0.1 watchexec-events@2.0.1 watchexec-filterer-ignore@2.0.1 watchexec-filterer-tagged@1.0.0 watchexec-signals@2.1.0 watchexec-supervisor@1.0.3 winapi@0.3.9 winapi-i686-pc-windows-gnu@0.4.0 winapi-util@0.1.6 winapi-x86_64-pc-windows-gnu@0.4.0 windows-sys@0.48.0 windows-sys@0.52.0 windows-targets@0.48.5 windows-targets@0.52.0 windows_aarch64_gnullvm@0.48.5 windows_aarch64_gnullvm@0.52.0 windows_aarch64_msvc@0.48.5 windows_aarch64_msvc@0.52.0 windows_i686_gnu@0.48.5 windows_i686_gnu@0.52.0 windows_i686_msvc@0.48.5 windows_i686_msvc@0.52.0 windows_x86_64_gnu@0.48.5 windows_x86_64_gnu@0.52.0 windows_x86_64_gnullvm@0.48.5 windows_x86_64_gnullvm@0.52.0 windows_x86_64_msvc@0.48.5 windows_x86_64_msvc@0.52.0 winnow@0.5.40 zerocopy@0.7.32 zerocopy-derive@0.7.32 " inherit cargo shell-completion optfeature DESCRIPTION="A dotfile manager and templater written in rust" HOMEPAGE="https://github.com/SuperCuber/dotter" SRC_URI=" https://github.com/SuperCuber/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz ${CARGO_CRATE_URIS} " LICENSE="Unlicense" # Dependent crate licenses LICENSE+=" Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 Unlicense " SLOT="0" KEYWORDS="~amd64" IUSE="+scripting +watch" BDEPEND=">=virtual/rust-1.70" # 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/${PN}" QA_PRESTRIPPED="${QA_FLAGS_IGNORED}" src_configure() { local myfeatures=( $(usev scripting) $(usev watch) ) cargo_src_configure --no-default-features } src_compile() { cargo_src_compile target/release/dotter gen-completions --shell bash > bash-completion.sh target/release/dotter gen-completions --shell zsh > zsh-completion.zsh } src_install() { cargo_src_install newbashcomp bash-completion.sh ${PN} newzshcomp zsh-completion.zsh _${PN} } pkg_postinst() { optfeature "managing files with different owners" app-admin/sudo }