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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 28580158042 for ; Sat, 9 Nov 2024 07:42:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6703BE087B; Sat, 9 Nov 2024 07:42:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4CEFBE087B for ; Sat, 9 Nov 2024 07:42:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7C58C33BEE8 for ; Sat, 9 Nov 2024 07:42:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1A01818DD for ; Sat, 9 Nov 2024 07:42:13 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1731138114.2d190c9e5b1db3292ea5d36f77a314eee019f99d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust-common/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/rust-common/rust-common-1.81.0.ebuild dev-lang/rust-common/rust-common-1.82.0.ebuild X-VCS-Directories: dev-lang/rust-common/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2d190c9e5b1db3292ea5d36f77a314eee019f99d X-VCS-Branch: master Date: Sat, 9 Nov 2024 07:42:13 +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: fa2f746a-a2cd-4700-ba55-9845eedccf7d X-Archives-Hash: 46d98d2d298f1a416a5ebb42438c5a86 commit: 2d190c9e5b1db3292ea5d36f77a314eee019f99d Author: Sam James gentoo org> AuthorDate: Sat Nov 9 07:41:28 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Nov 9 07:41:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d190c9e dev-lang/rust-common: avoid unpacking whole archive Reported by mgorny (and suggested fix is by him): unpack just cargo.bashcomp.sh from the distfile instead of the whole thing, that way we don't need chcek-reqs.eclass. Signed-off-by: Sam James gentoo.org> dev-lang/rust-common/rust-common-1.81.0.ebuild | 5 +++++ dev-lang/rust-common/rust-common-1.82.0.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/dev-lang/rust-common/rust-common-1.81.0.ebuild b/dev-lang/rust-common/rust-common-1.81.0.ebuild index ae917833b983..b977c5aa1b92 100644 --- a/dev-lang/rust-common/rust-common-1.81.0.ebuild +++ b/dev-lang/rust-common/rust-common-1.81.0.ebuild @@ -34,6 +34,11 @@ RDEPEND=" !dev-lang/rust-bin:stable " +src_unpack() { + # Avoid unpacking the whole tarball which would need check-reqs + tar -xf "${DISTDIR}"/${SRC} ${SRC%%.tar.xz}/src/tools/cargo/src/etc/cargo.bashcomp.sh || die +} + src_configure() { : } diff --git a/dev-lang/rust-common/rust-common-1.82.0.ebuild b/dev-lang/rust-common/rust-common-1.82.0.ebuild index 19197b4537fd..0d4b5aa7b8ae 100644 --- a/dev-lang/rust-common/rust-common-1.82.0.ebuild +++ b/dev-lang/rust-common/rust-common-1.82.0.ebuild @@ -35,6 +35,11 @@ RDEPEND=" !dev-lang/rust-bin:stable " +src_unpack() { + # Avoid unpacking the whole tarball which would need check-reqs + tar -xf "${DISTDIR}"/${SRC} ${SRC%%.tar.xz}/src/tools/cargo/src/etc/cargo.bashcomp.sh || die +} + src_configure() { : }