diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-01-08 13:38:01 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-01-08 15:40:25 -0800 |
commit | 2d56f8f54dddcf09e3879be76f45da0fa821aad0 (patch) | |
tree | 9b564cc441fabaa00023de5204b74d36b72b817d /x11-terms/alacritty | |
parent | cargo.eclass: add standard src_test (diff) | |
download | gentoo-2d56f8f54dddcf09e3879be76f45da0fa821aad0.tar.gz gentoo-2d56f8f54dddcf09e3879be76f45da0fa821aad0.tar.bz2 gentoo-2d56f8f54dddcf09e3879be76f45da0fa821aad0.zip |
x11-terms/alacritty: 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 'x11-terms/alacritty')
-rw-r--r-- | x11-terms/alacritty/alacritty-0.2.5.ebuild | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/x11-terms/alacritty/alacritty-0.2.5.ebuild b/x11-terms/alacritty/alacritty-0.2.5.ebuild index 0e7d454ad25d..06928fa307d8 100644 --- a/x11-terms/alacritty/alacritty-0.2.5.ebuild +++ b/x11-terms/alacritty/alacritty-0.2.5.ebuild @@ -352,9 +352,7 @@ BDEPEND="dev-util/cmake DOCS=( CHANGELOG.md docs/ansicode.txt INSTALL.md README.md alacritty.yml ) src_install() { - cargo install -j $(makeopts_jobs) --root="${D}/usr" $(usex debug --debug "") \ - --path . || die "cargo install failed" - rm "${D}/usr/.crates.toml" || die + cargo_src_install --path ./ newbashcomp alacritty-completions.bash alacritty @@ -377,10 +375,6 @@ src_install() { einstalldocs } -src_test() { - cargo test -j $(makeopts_jobs) $(usex debug "" --release) || die "tests failed" -} - pkg_postinst() { optfeature "wayland support" dev-libs/wayland } |