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 2117C1382C5 for ; Sun, 18 Apr 2021 01:24:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E8C7E0817; Sun, 18 Apr 2021 01:24:11 +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 46BA2E0817 for ; Sun, 18 Apr 2021 01:24:11 +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 79CC0340A9F for ; Sun, 18 Apr 2021 01:24:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1391466A for ; Sun, 18 Apr 2021 01:24:08 +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: <1618709002.6287b48604097fe3369bd845ad931f4261ff6354.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rustup/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/rustup/rustup-1.23.1.ebuild X-VCS-Directories: dev-util/rustup/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 6287b48604097fe3369bd845ad931f4261ff6354 X-VCS-Branch: master Date: Sun, 18 Apr 2021 01:24:08 +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: 84d05498-6ae2-4246-a6b5-71fda9d2e76b X-Archives-Hash: 44ed17850395c079e9597cf450d4a8da commit: 6287b48604097fe3369bd845ad931f4261ff6354 Author: Georgy Yakovlev gentoo org> AuthorDate: Sun Apr 18 01:03:53 2021 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Sun Apr 18 01:23:22 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6287b486 dev-util/rustup: use sed in src_prepare Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev gentoo.org> dev-util/rustup/rustup-1.23.1.ebuild | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/dev-util/rustup/rustup-1.23.1.ebuild b/dev-util/rustup/rustup-1.23.1.ebuild index 2e5a86e9525..38bf4b1514c 100644 --- a/dev-util/rustup/rustup-1.23.1.ebuild +++ b/dev-util/rustup/rustup-1.23.1.ebuild @@ -313,14 +313,19 @@ src_unpack() { cargo_live_src_unpack else cargo_src_unpack - # patch git dep to use pre-fetched tarball - #echo "" >> "${P}/Cargo.toml" - #echo '[patch."https://github.com/rbtcollins/home"]' >> "${P}/Cargo.toml" - local home_path="home = { path = '"${WORKDIR}/home-${HOME_COMMIT}"' }" - sed -i "s@^home =.*@${home_path}@" "${P}/Cargo.toml" || die fi } +src_prepare() { + # patch git dep to use pre-fetched tarball + #echo "" >> "${P}/Cargo.toml" + #echo '[patch."https://github.com/rbtcollins/home"]' >> "${P}/Cargo.toml" + local home_path="home = { path = '"${WORKDIR}/home-${HOME_COMMIT}"' }" + sed -i "s@^home =.*@${home_path}@" "${P}/Cargo.toml" || die + + default +} + src_configure() { local myfeatures=( no-self-update ) cargo_src_configure