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 B175D138334 for ; Thu, 3 Jan 2019 22:11:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB0ECE08ED; Thu, 3 Jan 2019 22:11:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 6C867E08ED for ; Thu, 3 Jan 2019 22:11:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 775C2335D1B for ; Thu, 3 Jan 2019 22:11:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7792742F for ; Thu, 3 Jan 2019 22:11:35 +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: <1546553483.b3b01a945759a617ce8ef5acacc99a0043a228ba.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: b3b01a945759a617ce8ef5acacc99a0043a228ba X-VCS-Branch: master Date: Thu, 3 Jan 2019 22:11:35 +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: 587035fc-2344-49b4-8b85-946c15d114d3 X-Archives-Hash: fb06dc3d44d5db54c790847ea089d9dd commit: b3b01a945759a617ce8ef5acacc99a0043a228ba Author: Georgy Yakovlev gentoo org> AuthorDate: Thu Jan 3 22:09:40 2019 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Jan 3 22:11:23 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3b01a94 sys-apps/exa: revbump, add git useflag add conditional dep on libgit & co Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev gentoo.org> sys-apps/exa/exa-0.8.0-r1.ebuild | 118 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) diff --git a/sys-apps/exa/exa-0.8.0-r1.ebuild b/sys-apps/exa/exa-0.8.0-r1.ebuild new file mode 100644 index 00000000000..4ebaed05f2f --- /dev/null +++ b/sys-apps/exa/exa-0.8.0-r1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CRATES=" +aho-corasick-0.5.3 +ansi_term-0.8.0 +bitflags-0.7.0 +bitflags-0.9.1 +byteorder-0.4.2 +cmake-0.1.25 +conv-0.3.3 +custom_derive-0.1.7 +datetime-0.4.5 +env_logger-0.3.5 +exa-0.8.0 +gcc-0.3.53 +getopts-0.2.14 +git2-0.6.8 +glob-0.2.11 +idna-0.1.4 +iso8601-0.1.1 +kernel32-sys-0.2.2 +lazy_static-0.2.8 +libc-0.2.30 +libgit2-sys-0.6.14 +libz-sys-1.0.16 +locale-0.2.2 +log-0.3.8 +magenta-0.1.1 +magenta-sys-0.1.1 +matches-0.1.6 +memchr-0.1.11 +natord-1.0.9 +nom-1.2.4 +num-0.1.40 +num-bigint-0.1.40 +num-complex-0.1.40 +num-integer-0.1.35 +num-iter-0.1.34 +num-rational-0.1.39 +num-traits-0.1.40 +num_cpus-1.6.2 +number_prefix-0.2.7 +pad-0.1.4 +percent-encoding-1.0.0 +pkg-config-0.3.9 +rand-0.3.16 +redox_syscall-0.1.31 +regex-0.1.80 +regex-syntax-0.3.9 +rustc-serialize-0.3.24 +scoped_threadpool-0.1.7 +term_grid-0.1.6 +term_size-0.3.0 +thread-id-2.0.0 +thread_local-0.2.7 +unicode-bidi-0.3.4 +unicode-normalization-0.1.5 +unicode-width-0.1.4 +url-1.5.1 +users-0.5.3 +utf8-ranges-0.1.3 +vcpkg-0.2.2 +winapi-0.2.8 +winapi-build-0.1.1 +zoneinfo_compiled-0.4.5 +" + +inherit bash-completion-r1 cargo + +DESCRIPTION="A modern replacement for 'ls' written in Rust" +HOMEPAGE="https://the.exa.website/" +SRC_URI="$(cargo_crate_uris ${CRATES})" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+git" + +DEPEND=" + git? ( + dev-libs/libgit2:= + net-libs/http-parser:= + ) +" +RDEPEND="${DEPEND}" + +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" +} + +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 + + newbashcomp contrib/completions.bash exa + + insinto /usr/share/zsh/site-functions + newins contrib/completions.zsh _exa + + insinto /usr/share/fish/vendor_completions.d + newins contrib/completions.fish exa.fish + + doman contrib/man/* +}