1 |
commit: b3b01a945759a617ce8ef5acacc99a0043a228ba |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 3 22:09:40 2019 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 3 22:11:23 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3b01a94 |
7 |
|
8 |
sys-apps/exa: revbump, add git useflag |
9 |
|
10 |
add conditional dep on libgit & co |
11 |
|
12 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
13 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
14 |
|
15 |
sys-apps/exa/exa-0.8.0-r1.ebuild | 118 +++++++++++++++++++++++++++++++++++++++ |
16 |
1 file changed, 118 insertions(+) |
17 |
|
18 |
diff --git a/sys-apps/exa/exa-0.8.0-r1.ebuild b/sys-apps/exa/exa-0.8.0-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..4ebaed05f2f |
21 |
--- /dev/null |
22 |
+++ b/sys-apps/exa/exa-0.8.0-r1.ebuild |
23 |
@@ -0,0 +1,118 @@ |
24 |
+# Copyright 1999-2019 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+CRATES=" |
30 |
+aho-corasick-0.5.3 |
31 |
+ansi_term-0.8.0 |
32 |
+bitflags-0.7.0 |
33 |
+bitflags-0.9.1 |
34 |
+byteorder-0.4.2 |
35 |
+cmake-0.1.25 |
36 |
+conv-0.3.3 |
37 |
+custom_derive-0.1.7 |
38 |
+datetime-0.4.5 |
39 |
+env_logger-0.3.5 |
40 |
+exa-0.8.0 |
41 |
+gcc-0.3.53 |
42 |
+getopts-0.2.14 |
43 |
+git2-0.6.8 |
44 |
+glob-0.2.11 |
45 |
+idna-0.1.4 |
46 |
+iso8601-0.1.1 |
47 |
+kernel32-sys-0.2.2 |
48 |
+lazy_static-0.2.8 |
49 |
+libc-0.2.30 |
50 |
+libgit2-sys-0.6.14 |
51 |
+libz-sys-1.0.16 |
52 |
+locale-0.2.2 |
53 |
+log-0.3.8 |
54 |
+magenta-0.1.1 |
55 |
+magenta-sys-0.1.1 |
56 |
+matches-0.1.6 |
57 |
+memchr-0.1.11 |
58 |
+natord-1.0.9 |
59 |
+nom-1.2.4 |
60 |
+num-0.1.40 |
61 |
+num-bigint-0.1.40 |
62 |
+num-complex-0.1.40 |
63 |
+num-integer-0.1.35 |
64 |
+num-iter-0.1.34 |
65 |
+num-rational-0.1.39 |
66 |
+num-traits-0.1.40 |
67 |
+num_cpus-1.6.2 |
68 |
+number_prefix-0.2.7 |
69 |
+pad-0.1.4 |
70 |
+percent-encoding-1.0.0 |
71 |
+pkg-config-0.3.9 |
72 |
+rand-0.3.16 |
73 |
+redox_syscall-0.1.31 |
74 |
+regex-0.1.80 |
75 |
+regex-syntax-0.3.9 |
76 |
+rustc-serialize-0.3.24 |
77 |
+scoped_threadpool-0.1.7 |
78 |
+term_grid-0.1.6 |
79 |
+term_size-0.3.0 |
80 |
+thread-id-2.0.0 |
81 |
+thread_local-0.2.7 |
82 |
+unicode-bidi-0.3.4 |
83 |
+unicode-normalization-0.1.5 |
84 |
+unicode-width-0.1.4 |
85 |
+url-1.5.1 |
86 |
+users-0.5.3 |
87 |
+utf8-ranges-0.1.3 |
88 |
+vcpkg-0.2.2 |
89 |
+winapi-0.2.8 |
90 |
+winapi-build-0.1.1 |
91 |
+zoneinfo_compiled-0.4.5 |
92 |
+" |
93 |
+ |
94 |
+inherit bash-completion-r1 cargo |
95 |
+ |
96 |
+DESCRIPTION="A modern replacement for 'ls' written in Rust" |
97 |
+HOMEPAGE="https://the.exa.website/" |
98 |
+SRC_URI="$(cargo_crate_uris ${CRATES})" |
99 |
+ |
100 |
+LICENSE="MIT" |
101 |
+SLOT="0" |
102 |
+KEYWORDS="~amd64 ~x86" |
103 |
+IUSE="+git" |
104 |
+ |
105 |
+DEPEND=" |
106 |
+ git? ( |
107 |
+ dev-libs/libgit2:= |
108 |
+ net-libs/http-parser:= |
109 |
+ ) |
110 |
+" |
111 |
+RDEPEND="${DEPEND}" |
112 |
+ |
113 |
+QA_FLAGS_IGNORED="/usr/bin/exa" |
114 |
+ |
115 |
+src_compile() { |
116 |
+ export CARGO_HOME="${ECARGO_HOME}" |
117 |
+ |
118 |
+ cargo build -j $(makeopts_jobs) \ |
119 |
+ $(usex debug "" --release) \ |
120 |
+ $(usex git "" --no-default-features) \ |
121 |
+ || die "cargo build failed" |
122 |
+} |
123 |
+ |
124 |
+src_install() { |
125 |
+ cargo install -j $(makeopts_jobs) --root="${D}/usr" \ |
126 |
+ $(usex debug --debug "") \ |
127 |
+ $(usex git "" --no-default-features) \ |
128 |
+ || die "cargo install failed" |
129 |
+ |
130 |
+ rm "${D}/usr/.crates.toml" || die |
131 |
+ |
132 |
+ newbashcomp contrib/completions.bash exa |
133 |
+ |
134 |
+ insinto /usr/share/zsh/site-functions |
135 |
+ newins contrib/completions.zsh _exa |
136 |
+ |
137 |
+ insinto /usr/share/fish/vendor_completions.d |
138 |
+ newins contrib/completions.fish exa.fish |
139 |
+ |
140 |
+ doman contrib/man/* |
141 |
+} |