blob: 1db97d141de2a3968d8369384e35f3f538edd105 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
|
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.6.3
EAPI=8
CRATES="
Inflector-0.11.4
aho-corasick-0.7.20
aliasable-0.1.3
anyhow-1.0.68
askama-0.11.1
askama_derive-0.11.2
askama_escape-0.10.3
askama_shared-0.12.2
assert_cmd-2.0.7
bincode-1.3.3
bitflags-1.3.2
bstr-1.1.0
cc-1.0.78
cfg-if-1.0.0
clap-4.0.32
clap_complete-4.0.7
clap_complete_fig-4.0.2
clap_derive-4.0.21
clap_lex-0.3.0
difflib-0.4.0
dirs-4.0.0
dirs-sys-0.3.7
doc-comment-0.3.3
dunce-1.0.3
either-1.8.0
errno-0.2.8
errno-dragonfly-0.1.2
fastrand-1.8.0
fnv-1.0.7
getrandom-0.2.8
glob-0.3.1
globset-0.4.10
heck-0.4.0
hermit-abi-0.2.6
ignore-0.4.19
instant-0.1.12
io-lifetimes-1.0.3
is-terminal-0.4.2
itertools-0.10.5
lazy_static-1.4.0
libc-0.2.139
linux-raw-sys-0.1.4
log-0.4.17
memchr-2.5.0
mime-0.3.16
mime_guess-2.0.4
minimal-lexical-0.2.1
nix-0.26.1
nom-7.1.2
once_cell-1.17.0
os_str_bytes-6.4.1
ouroboros-0.15.5
ouroboros_macro-0.15.5
predicates-2.1.5
predicates-core-1.0.5
predicates-tree-1.0.7
proc-macro-error-1.0.4
proc-macro-error-attr-1.0.4
proc-macro2-1.0.49
quote-1.0.23
redox_syscall-0.2.16
redox_users-0.4.3
regex-1.7.0
regex-automata-0.1.10
regex-syntax-0.6.28
remove_dir_all-0.5.3
rstest-0.16.0
rstest_macros-0.16.0
rstest_reuse-0.4.0
rustc_version-0.4.0
rustix-0.36.6
same-file-1.0.6
semver-1.0.16
serde-1.0.152
serde_derive-1.0.152
shell-words-1.1.0
static_assertions-1.1.0
strsim-0.10.0
syn-1.0.107
tempfile-3.3.0
termcolor-1.1.3
termtree-0.4.0
thiserror-1.0.38
thiserror-impl-1.0.38
thread_local-1.1.4
unicase-2.6.0
unicode-ident-1.0.6
version_check-0.9.4
wait-timeout-0.2.0
walkdir-2.3.2
wasi-0.11.0+wasi-snapshot-preview1
which-4.3.0
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-sys-0.42.0
windows_aarch64_gnullvm-0.42.0
windows_aarch64_msvc-0.42.0
windows_i686_gnu-0.42.0
windows_i686_msvc-0.42.0
windows_x86_64_gnu-0.42.0
windows_x86_64_gnullvm-0.42.0
windows_x86_64_msvc-0.42.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+="
BSD-2 BSD MIT Unicode-DFS-2016
|| ( CC0-1.0 MIT-0 )
"
SLOT="0"
KEYWORDS="~amd64"
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
}
|