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 576FA1395E2 for ; Wed, 23 Nov 2016 05:13:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A88C7E07D5; Wed, 23 Nov 2016 05:13:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 77FA0E07D5 for ; Wed, 23 Nov 2016 05:13:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 027E034104D for ; Wed, 23 Nov 2016 05:13:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 655B9487 for ; Wed, 23 Nov 2016 05:13:40 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1479877963.4476a11e0e8c99523f623ca4f7e840e4d765b2e8.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/ripgrep/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/ripgrep/Manifest sys-apps/ripgrep/ripgrep-0.3.1.ebuild X-VCS-Directories: sys-apps/ripgrep/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 4476a11e0e8c99523f623ca4f7e840e4d765b2e8 X-VCS-Branch: master Date: Wed, 23 Nov 2016 05:13:40 +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-Archives-Salt: 5426b391-8a71-44da-b52d-c37b22b6f91e X-Archives-Hash: 8864d7f65979251aa07ee1f379d94e14 commit: 4476a11e0e8c99523f623ca4f7e840e4d765b2e8 Author: Tim Harder gentoo org> AuthorDate: Wed Nov 23 05:12:43 2016 +0000 Commit: Tim Harder gentoo org> CommitDate: Wed Nov 23 05:12:43 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4476a11e sys-apps/ripgrep: version bump to 0.3.1 sys-apps/ripgrep/Manifest | 1 + sys-apps/ripgrep/ripgrep-0.3.1.ebuild | 41 +++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/sys-apps/ripgrep/Manifest b/sys-apps/ripgrep/Manifest index 19857cc..d82e5f3 100644 --- a/sys-apps/ripgrep/Manifest +++ b/sys-apps/ripgrep/Manifest @@ -1,3 +1,4 @@ DIST ripgrep-0.2.5.tar.xz 36327796 SHA256 af30c197e8ed4779288023b4b197ebd481f5c644be1ac18495c91556989da5f8 SHA512 4ce2374f677110bc61ac1ee0511a9e801f21f414ba3bf809b3020e82a2a26a7deeff45fea1edc8d20353023e95074899262db2f84e0cd822103dc60b55f39216 WHIRLPOOL e0a50bc59142aa74ecfc93c2089d6916aba6af15d33d9dbd9f7fa7c790b5fa9f46b757419c9db3abd4d17eba6d0e17c6b5a83ceb6842d8a7d57722ef1e6862ff DIST ripgrep-0.2.6.tar.xz 36034548 SHA256 1f26e3023a58f52085780f5392241d3781d51746ce1fa8abc155b99bd11eae1e SHA512 1389e97009a30c417f75e8a6804e53ba72c679b6e67366c83c839fe5bc4035cc59ab0261ada1110eda84e8aa9900fd12abc1732bf68b6fd379aee64fbfe7acc9 WHIRLPOOL 416b3eab0146872e86dd9184b17aa73ae4dba5016c7829d2daa845fe304aa2be31fc4505e08b8270ff7589872fcb07852bfbbb30a06c7c13d63abf2c17ae0c01 DIST ripgrep-0.2.9.tar.xz 36405508 SHA256 f5013f18620495a24af5bfa7a58b9f336831f489c34acbd91d963f27ab24a77d SHA512 3196b7e9cc9302e327ef09d87e5f586829deac5394e229b131bb4d76a54db05f12a9207f7b3b0d1d8c0790857ffd86dc4b177a31065f82f31192b3a7e6211399 WHIRLPOOL be4836c70ffc70827fdb2bf187624ddfa2238a97f93e7bb73dc4f3e13ea569f7a80bdb4ca0e956e661440849663891af88d3848eb8bc4758e02cbd6898806e6d +DIST ripgrep-0.3.1.tar.xz 36308304 SHA256 aa53e1518b692ea6de4d533cb6c22c7cf66d37b1d6aa20b0b66916d0796f23ae SHA512 130d987aad1dd9e1834579aaa095bdd0624fdf495418875179b3a0fbeccbb850531be446b86321d1b3d08dbbea157196fb037ecd4d491c44f573501a67ad4a98 WHIRLPOOL 1e421a23f596968444084873ad036ed417beeea8433b9572f4763ef74dc3653a7b49aa4309c531d3414f9f866aa44f8ef8a2474da6171cc535c26a7e2b83397f diff --git a/sys-apps/ripgrep/ripgrep-0.3.1.ebuild b/sys-apps/ripgrep/ripgrep-0.3.1.ebuild new file mode 100644 index 00000000..8dd3de7 --- /dev/null +++ b/sys-apps/ripgrep/ripgrep-0.3.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="a command line search tool that combines usability with raw speed" +HOMEPAGE="https://github.com/BurntSushi/ripgrep" +#SRC_URI="https://github.com/BurntSushi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +# custom tarball bundling all deps and index, otherwise cargo fetches from the network +SRC_URI="http://dev.gentoo.org/~radhermit/dist/${P}.tar.xz" + +LICENSE="|| ( MIT Unlicense )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-util/cargo + >=dev-lang/rust-1.11 +" + +src_prepare() { + default + + # move cache dir where cargo expects it + mv .cargo "${HOME}" || die +} + +src_compile() { + cargo build --release --verbose || die +} + +src_test() { + cargo test || die "tests failed" +} + +src_install() { + dobin target/release/rg + doman doc/rg.1 + dodoc CHANGELOG.md README.md +}