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 684C2139695 for ; Wed, 12 Apr 2017 07:51:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B056AE0DDE; Wed, 12 Apr 2017 07:51:43 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 7D250E0DDE for ; Wed, 12 Apr 2017 07:51:43 +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 1B32F3416A7 for ; Wed, 12 Apr 2017 07:51:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F58773F0 for ; Wed, 12 Apr 2017 07:51: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: <1491983428.304ff0f49ea4950cf2918be301520fad328258f0.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.5.1.ebuild X-VCS-Directories: sys-apps/ripgrep/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 304ff0f49ea4950cf2918be301520fad328258f0 X-VCS-Branch: master Date: Wed, 12 Apr 2017 07:51: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: 51954414-879b-4b1f-9777-d7ab756a7968 X-Archives-Hash: 19f3ea6e6e17fbf315a6c00a89cea438 commit: 304ff0f49ea4950cf2918be301520fad328258f0 Author: Tim Harder gentoo org> AuthorDate: Tue Apr 11 08:28:41 2017 +0000 Commit: Tim Harder gentoo org> CommitDate: Wed Apr 12 07:50:28 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=304ff0f4 sys-apps/ripgrep: version bump to 0.5.1 sys-apps/ripgrep/Manifest | 1 + sys-apps/ripgrep/ripgrep-0.5.1.ebuild | 40 +++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/sys-apps/ripgrep/Manifest b/sys-apps/ripgrep/Manifest index fa7627d5ff5..e72e92b991d 100644 --- a/sys-apps/ripgrep/Manifest +++ b/sys-apps/ripgrep/Manifest @@ -1,3 +1,4 @@ DIST ripgrep-0.3.2.tar.xz 36002204 SHA256 a45c2af4efac72c12b8fe9eae05ca5f84f06f7387f94e6dcc614d4334955e44a SHA512 49463d442f1425b591fb17fc33ef8e1a34f368ce7d5862f375094936afc5140f09cece13fa193e9848d85c810e67503f648ec04d19298e23517f1443b7afc426 WHIRLPOOL 6972b47d8b34f76cd2b4ecf0787e8cede8454676dbc1a9cf889bba1d4a877a03eda844b705eea11a42def712c0253a6de7d602a4f0c52d888c36cbd0a9668ef4 DIST ripgrep-0.4.0.tar.xz 39090216 SHA256 4ebf332e904af6a49195457dc235d8f543a15e130862bf604052a44792406c04 SHA512 a39986b7d08b9661d0d2a3c352a885eeecc0e0dba5fc130ce003f536e1f4638051ba95ab28f0502b778467f3a9a5dc02dd94f38d243b08cb547a8973665e89dd WHIRLPOOL 9b41f8e47cca59ed878283e0fc15211eb745223a54caafc5a9c396a617bbfa9f46783d1cc1ed7d58085de19b0bf3d789e2ec3dbf02216aa0f0f0a44d1042ae1d DIST ripgrep-0.5.0.tar.xz 45199048 SHA256 1e13a0a81ddc82fa59bfbfc08215ddbf17bd73bebfb4c0f419ea035c7c0ded17 SHA512 773f991a18ecaa9b97d6b7a1331368c309bdd8c68c52cc9b6360702adedae9bfa4849ec79fd8012923e734156e334f9d6d0dd11be8f01d9e01641d22fe506342 WHIRLPOOL 11938d10158e345ba2011587e130adb8d1f0865b11fad2082ac91ce53aedd63d08555316bda3bb2345ca062bf72638c60cb3d672c126aa1b3fd08664c2fb6a0e +DIST ripgrep-0.5.1.tar.xz 45921476 SHA256 72a72716af333aa1d578ca8de55a4ba295abf70ec037ebd89fc7e5e627b4fd17 SHA512 bfeb4ee2373b1ee0d8bc77b3bfbc12eb3e43e5160ca4bbe80206041a29f459ba71d464635f660626f530b8cbc0a39157cb0fc91620236b5bdcd884b024391218 WHIRLPOOL b0cea9c1f931d094752d4b19a98830e57599d484dff07431a80bdc36e926d2ffe7152cfebc041357c4f1bb074d0f3e9a0f67aebcf454fc69e25cacfb2396f360 diff --git a/sys-apps/ripgrep/ripgrep-0.5.1.ebuild b/sys-apps/ripgrep/ripgrep-0.5.1.ebuild new file mode 100644 index 00000000000..8445e52f2c6 --- /dev/null +++ b/sys-apps/ripgrep/ripgrep-0.5.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +}