diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-01-08 15:02:28 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-01-08 15:40:27 -0800 |
commit | f808b17ad004cec30081a0c3395d674ffa4a5a6e (patch) | |
tree | 357c35fb64653fb717f84c9b97179f5d1552eb80 /sys-apps | |
parent | sys-apps/lsd: use eclass provided src_test() (diff) | |
download | gentoo-f808b17ad004cec30081a0c3395d674ffa4a5a6e.tar.gz gentoo-f808b17ad004cec30081a0c3395d674ffa4a5a6e.tar.bz2 gentoo-f808b17ad004cec30081a0c3395d674ffa4a5a6e.zip |
sys-apps/exa: switch to cargo.eclass func args
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/exa/exa-0.8.0-r1.ebuild | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/sys-apps/exa/exa-0.8.0-r1.ebuild b/sys-apps/exa/exa-0.8.0-r1.ebuild index 4ebaed05f2ff..db54b293100c 100644 --- a/sys-apps/exa/exa-0.8.0-r1.ebuild +++ b/sys-apps/exa/exa-0.8.0-r1.ebuild @@ -87,24 +87,16 @@ DEPEND=" " RDEPEND="${DEPEND}" +RESTRICT="test" + QA_FLAGS_IGNORED="/usr/bin/exa" src_compile() { - export CARGO_HOME="${ECARGO_HOME}" - - cargo build -j $(makeopts_jobs) \ - $(usex debug "" --release) \ - $(usex git "" --no-default-features) \ - || die "cargo build failed" + cargo_src_compile $(usex git "" --no-default-features) } src_install() { - cargo install -j $(makeopts_jobs) --root="${D}/usr" \ - $(usex debug --debug "") \ - $(usex git "" --no-default-features) \ - || die "cargo install failed" - - rm "${D}/usr/.crates.toml" || die + cargo_src_install $(usex git "" --no-default-features) newbashcomp contrib/completions.bash exa |