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 F31271395E1 for ; Tue, 1 Nov 2016 07:17:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BDA8E08C1; Tue, 1 Nov 2016 07:17:26 +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 F32A0E08C1 for ; Tue, 1 Nov 2016 07:17:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 6F61A341130 for ; Tue, 1 Nov 2016 07:17:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B8DE244E for ; Tue, 1 Nov 2016 07:17:22 +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: <1477984575.d3671a6f28c7c7c5ad328c9cdcb7a722ebf474d2.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.2.5-r1.ebuild sys-apps/ripgrep/ripgrep-0.2.5.ebuild X-VCS-Directories: sys-apps/ripgrep/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: d3671a6f28c7c7c5ad328c9cdcb7a722ebf474d2 X-VCS-Branch: master Date: Tue, 1 Nov 2016 07:17:22 +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: c1b39959-16f0-4908-bdb3-b55ad23cbe64 X-Archives-Hash: 2672a68be62d046b9be131331535df80 commit: d3671a6f28c7c7c5ad328c9cdcb7a722ebf474d2 Author: Tim Harder gentoo org> AuthorDate: Tue Nov 1 07:13:12 2016 +0000 Commit: Tim Harder gentoo org> CommitDate: Tue Nov 1 07:16:15 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3671a6f sys-apps/ripgrep: use custom tarball with all deps and index bundled Fixes offline builds. sys-apps/ripgrep/Manifest | 2 +- .../{ripgrep-0.2.5.ebuild => ripgrep-0.2.5-r1.ebuild} | 15 +++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/sys-apps/ripgrep/Manifest b/sys-apps/ripgrep/Manifest index 5c805b9..19845f5 100644 --- a/sys-apps/ripgrep/Manifest +++ b/sys-apps/ripgrep/Manifest @@ -1 +1 @@ -DIST ripgrep-0.2.5.tar.gz 389606 SHA256 2e535701ed4c36875a29041b4a47629af514182177b82d681a8e4d0fed4a9767 SHA512 c5359ab5120ed355c8e72fded34c311440b357244be6b3950732953b8b6cd558d429e4c6e86737983bdea9118f58e4f26048c4b2374559cf8e14146afcc20fec WHIRLPOOL c5ead5378942cf9f75bd1681e9d18e58704597dc7512c50edfbf3600d326519fa8493fa7d61addef81b19650fdfcd000a5dbfd905f5d50194ad88a062fefe4c4 +DIST ripgrep-0.2.5.tar.xz 36327796 SHA256 af30c197e8ed4779288023b4b197ebd481f5c644be1ac18495c91556989da5f8 SHA512 4ce2374f677110bc61ac1ee0511a9e801f21f414ba3bf809b3020e82a2a26a7deeff45fea1edc8d20353023e95074899262db2f84e0cd822103dc60b55f39216 WHIRLPOOL e0a50bc59142aa74ecfc93c2089d6916aba6af15d33d9dbd9f7fa7c790b5fa9f46b757419c9db3abd4d17eba6d0e17c6b5a83ceb6842d8a7d57722ef1e6862ff diff --git a/sys-apps/ripgrep/ripgrep-0.2.5.ebuild b/sys-apps/ripgrep/ripgrep-0.2.5-r1.ebuild similarity index 57% rename from sys-apps/ripgrep/ripgrep-0.2.5.ebuild rename to sys-apps/ripgrep/ripgrep-0.2.5-r1.ebuild index 82208a0..11fc9da 100644 --- a/sys-apps/ripgrep/ripgrep-0.2.5.ebuild +++ b/sys-apps/ripgrep/ripgrep-0.2.5-r1.ebuild @@ -4,11 +4,11 @@ EAPI=6 -inherit cargo - 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" +#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" @@ -16,8 +16,15 @@ KEYWORDS="~amd64 ~x86" DEPEND="dev-util/cargo" +src_prepare() { + default + + # move cache dir where cargo expects it + mv .cargo "${HOME}" || die +} + src_compile() { - cargo build --release || die + cargo build --release --verbose || die } src_test() {