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

# Auto-Generated by cargo-ebuild 0.3.1

EAPI=7

CRATES="
aho-corasick-0.7.15
alga-0.9.3
ansi_term-0.11.0
approx-0.3.2
approx-0.4.0
arrayref-0.3.6
arrayvec-0.5.2
assert_cmd-1.0.3
atty-0.2.14
autocfg-1.0.1
base64-0.13.0
bitflags-1.2.1
blake2b_simd-0.5.11
bstr-0.2.15
byteorder-1.4.3
cfg-if-1.0.0
clap-2.33.3
constant_time_eq-0.1.5
crossbeam-utils-0.8.3
csv-1.1.6
csv-core-0.1.10
difference-2.0.0
dirs-1.0.5
dirs-next-2.0.0
dirs-sys-next-0.1.2
doc-comment-0.3.3
downcast-0.10.0
dtoa-0.4.7
encode_unicode-0.3.6
float-cmp-0.8.0
fragile-1.0.0
generic-array-0.13.3
getrandom-0.1.16
getrandom-0.2.2
heck-0.3.2
hermit-abi-0.1.18
itoa-0.4.7
lazy_static-1.4.0
libc-0.2.88
libm-0.2.1
linked-hash-map-0.5.4
matrixmultiply-0.2.4
memchr-2.3.4
mockall-0.9.1
mockall_derive-0.9.1
nalgebra-0.19.0
normalize-line-endings-0.3.0
num-complex-0.2.4
num-integer-0.1.44
num-rational-0.2.4
num-traits-0.2.14
ppv-lite86-0.2.10
predicates-1.0.7
predicates-core-1.0.2
predicates-tree-1.0.2
prettytable-rs-0.8.0
proc-macro-error-1.0.4
proc-macro-error-attr-1.0.4
proc-macro2-1.0.24
quote-1.0.9
rand-0.7.3
rand-0.8.3
rand_chacha-0.2.2
rand_chacha-0.3.0
rand_core-0.5.1
rand_core-0.6.2
rand_distr-0.2.2
rand_distr-0.4.0
rand_hc-0.2.0
rand_hc-0.3.0
rawpointer-0.2.1
redox_syscall-0.1.57
redox_syscall-0.2.5
redox_users-0.3.5
redox_users-0.4.0
regex-1.4.4
regex-automata-0.1.9
regex-syntax-0.6.23
remove_dir_all-0.5.3
rpick-0.8.2
rust-argon2-0.8.3
ryu-1.0.5
serde-1.0.124
serde_derive-1.0.124
serde_yaml-0.8.17
statrs-0.13.0
strsim-0.8.0
structopt-0.3.21
structopt-derive-0.4.14
syn-1.0.63
tempfile-3.2.0
term-0.5.2
textwrap-0.11.0
thiserror-1.0.24
thiserror-impl-1.0.24
treeline-0.1.0
typenum-1.13.0
unicode-segmentation-1.7.1
unicode-width-0.1.8
unicode-xid-0.2.1
vec_map-0.8.2
version_check-0.9.2
wait-timeout-0.2.0
wasi-0.10.2+wasi-snapshot-preview1
wasi-0.9.0+wasi-snapshot-preview1
winapi-0.3.9
winapi-i686-pc-windows-gnu-0.4.0
winapi-x86_64-pc-windows-gnu-0.4.0
yaml-rust-0.4.5
"

inherit cargo

DESCRIPTION="Helps you pick items from a list by various algorithms"
HOMEPAGE="https://github.com/bowlofeggs/rpick"
SRC_URI="$(cargo_crate_uris ${CRATES})"

# License set may be more restrictive as OR is not respected
# use cargo-license for a more accurate license picture
LICENSE="GPL-3 Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 CC0-1.0 MIT Unlicense"
SLOT="0"
KEYWORDS="amd64 ~ppc64 x86"

# Rust packages ignore CFLAGS and LDFLAGS so let's silence the QA warnings
QA_FLAGS_IGNORED="usr/bin/rpick"

src_install() {
	cargo_src_install

	einstalldocs
}