summaryrefslogtreecommitdiff
blob: 41bda95080efeb4fcde523db277f0e1d11d93bce (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
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

CRATES="
ansi_term-0.11.0
atty-0.2.11
autocfg-0.1.4
bitflags-1.0.4
cfg-if-0.1.9
chrono-0.4.6
chrono-humanize-0.0.11
clap-2.32.0
cloudabi-0.0.3
fuchsia-cprng-0.1.1
glob-0.2.11
kernel32-sys-0.2.2
libc-0.2.55
lscolors-0.5.0
lsd-0.16.0
num-integer-0.1.39
num-traits-0.2.6
rand-0.6.5
rand_chacha-0.1.1
rand_core-0.3.1
rand_core-0.4.0
rand_hc-0.1.0
rand_isaac-0.1.1
rand_jitter-0.1.4
rand_os-0.1.3
rand_pcg-0.1.2
rand_xorshift-0.1.1
rdrand-0.4.0
redox_syscall-0.1.43
redox_termios-0.1.1
remove_dir_all-0.5.1
strsim-0.7.0
tempfile-3.0.8
term_grid-0.1.7
term_size-0.3.1
terminal_size-0.1.8
termion-1.5.1
textwrap-0.10.0
time-0.1.40
unicode-width-0.1.5
users-0.9.1
vec_map-0.8.1
version_check-0.1.5
wild-2.0.1
winapi-0.2.8
winapi-0.3.6
winapi-build-0.1.1
winapi-i686-pc-windows-gnu-0.4.0
winapi-x86_64-pc-windows-gnu-0.4.0
"

inherit cargo

DESCRIPTION="A modern ls with a lot of pretty colors and awesome icons"
HOMEPAGE="https://github.com/Peltoche/lsd"
SRC_URI="https://github.com/Peltoche/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
	$(cargo_crate_uris ${CRATES})"

LICENSE="Apache-2.0 BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="amd64 ~ppc64 ~x86"
IUSE=""

DEPEND=""
RDEPEND=""
BDEPEND=">=virtual/rust-1.31.0"

QA_FLAGS_IGNORED="/usr/bin/lsd"

src_install() {
	cargo_src_install
	einstalldocs
}