Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/exa/
Date: Tue, 08 Jan 2019 23:41:02
Message-Id: 1546990827.f808b17ad004cec30081a0c3395d674ffa4a5a6e.gyakovlev@gentoo
1 commit: f808b17ad004cec30081a0c3395d674ffa4a5a6e
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 8 23:02:28 2019 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 8 23:40:27 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f808b17a
7
8 sys-apps/exa: switch to cargo.eclass func args
9
10 Package-Manager: Portage-2.3.54, Repoman-2.3.12
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 sys-apps/exa/exa-0.8.0-r1.ebuild | 16 ++++------------
14 1 file changed, 4 insertions(+), 12 deletions(-)
15
16 diff --git a/sys-apps/exa/exa-0.8.0-r1.ebuild b/sys-apps/exa/exa-0.8.0-r1.ebuild
17 index 4ebaed05f2f..db54b293100 100644
18 --- a/sys-apps/exa/exa-0.8.0-r1.ebuild
19 +++ b/sys-apps/exa/exa-0.8.0-r1.ebuild
20 @@ -87,24 +87,16 @@ DEPEND="
21 "
22 RDEPEND="${DEPEND}"
23
24 +RESTRICT="test"
25 +
26 QA_FLAGS_IGNORED="/usr/bin/exa"
27
28 src_compile() {
29 - export CARGO_HOME="${ECARGO_HOME}"
30 -
31 - cargo build -j $(makeopts_jobs) \
32 - $(usex debug "" --release) \
33 - $(usex git "" --no-default-features) \
34 - || die "cargo build failed"
35 + cargo_src_compile $(usex git "" --no-default-features)
36 }
37
38 src_install() {
39 - cargo install -j $(makeopts_jobs) --root="${D}/usr" \
40 - $(usex debug --debug "") \
41 - $(usex git "" --no-default-features) \
42 - || die "cargo install failed"
43 -
44 - rm "${D}/usr/.crates.toml" || die
45 + cargo_src_install $(usex git "" --no-default-features)
46
47 newbashcomp contrib/completions.bash exa