From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C5245138334 for ; Tue, 8 Jan 2019 23:41:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 36691E0A10; Tue, 8 Jan 2019 23:41:00 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0F707E09F3 for ; Tue, 8 Jan 2019 23:41:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E29E335CFA for ; Tue, 8 Jan 2019 23:40:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 44980510 for ; Tue, 8 Jan 2019 23:40:55 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1546990827.f808b17ad004cec30081a0c3395d674ffa4a5a6e.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/exa/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/exa/exa-0.8.0-r1.ebuild X-VCS-Directories: sys-apps/exa/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: f808b17ad004cec30081a0c3395d674ffa4a5a6e X-VCS-Branch: master Date: Tue, 8 Jan 2019 23:40:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e881c7b0-b452-4c2a-a698-97dae005db5b X-Archives-Hash: 13a61654a59d40b6bc8baa89a837288b commit: f808b17ad004cec30081a0c3395d674ffa4a5a6e Author: Georgy Yakovlev gentoo org> AuthorDate: Tue Jan 8 23:02:28 2019 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Tue Jan 8 23:40:27 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f808b17a sys-apps/exa: switch to cargo.eclass func args Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev gentoo.org> sys-apps/exa/exa-0.8.0-r1.ebuild | 16 ++++------------ 1 file 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 4ebaed05f2f..db54b293100 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