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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6EF70158094 for ; Sat, 20 Aug 2022 08:26:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34236E0837; Sat, 20 Aug 2022 08:26:35 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 106E0E0837 for ; Sat, 20 Aug 2022 08:26:35 +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 2E0BE340CEE for ; Sat, 20 Aug 2022 08:26:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AF1D8569 for ; Sat, 20 Aug 2022 08:26:32 +0000 (UTC) From: "Matthew Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" Message-ID: <1660983971.eaf1cdafeb5bfea797ebbad795b848f48a86a5f2.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/mold/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/mold/mold-1.4.1.ebuild X-VCS-Directories: sys-devel/mold/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: eaf1cdafeb5bfea797ebbad795b848f48a86a5f2 X-VCS-Branch: master Date: Sat, 20 Aug 2022 08:26:32 +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: 7045f8ff-c953-44a5-971b-13bbfc760aeb X-Archives-Hash: 6a725d7d7f0deb1a191574ea242d4d2d commit: eaf1cdafeb5bfea797ebbad795b848f48a86a5f2 Author: Matthew Smith gentoo org> AuthorDate: Sat Aug 20 08:25:05 2022 +0000 Commit: Matthew Smith gentoo org> CommitDate: Sat Aug 20 08:26:11 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaf1cdaf sys-devel/mold: stop calling python during build Closes: https://bugs.gentoo.org/865859 Signed-off-by: Matthew Smith gentoo.org> sys-devel/mold/mold-1.4.1.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sys-devel/mold/mold-1.4.1.ebuild b/sys-devel/mold/mold-1.4.1.ebuild index 804483084d56..ff42b7ccf9f9 100644 --- a/sys-devel/mold/mold-1.4.1.ebuild +++ b/sys-devel/mold/mold-1.4.1.ebuild @@ -71,9 +71,13 @@ src_prepare() { rm test/elf/{,ifunc-}static-pie.sh || die fi - # Don't require python - sed -i '/find_package(Python3/d' CMakeLists.txt || die - sed -i '/add_dependencies/d' CMakeLists.txt || die + # Don't require python. The next release has this script rewritten + # in CMake and so this can be dropped. + sed -e '/find_package(Python3/d' \ + -e '/add_dependencies/d' \ + -e '/UpdateGitHash/,/)/d' \ + -i CMakeLists.txt || die + rm update-git-hash.py || die cat <git-hash.cc #include namespace mold {