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 AC945158083 for ; Sat, 14 Sep 2024 00:43:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC1A8E29A7; Sat, 14 Sep 2024 00:43:42 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8FB90E29A7 for ; Sat, 14 Sep 2024 00:43:42 +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 6C3AD33FE60 for ; Sat, 14 Sep 2024 00:43:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07B8D27EC for ; Sat, 14 Sep 2024 00:43:40 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1726256010.c05b53a27950e05f4efa22462780df034ef3eb31.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-lang/swift/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-lang/swift/swift-5.10.1.ebuild X-VCS-Directories: dev-lang/swift/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: c05b53a27950e05f4efa22462780df034ef3eb31 X-VCS-Branch: master Date: Sat, 14 Sep 2024 00:43: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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b9ffe9fd-ae04-49bf-8d7b-8e1316ca9bbc X-Archives-Hash: b14adc2a618facdf420e1e8867b055b8 commit: c05b53a27950e05f4efa22462780df034ef3eb31 Author: Itai Ferber itaiferber net> AuthorDate: Fri Sep 13 19:28:23 2024 +0000 Commit: David Roman gmail com> CommitDate: Fri Sep 13 19:33:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c05b53a2 dev-lang/swift: set up Python to respect PYTHON_SINGLE_TARGET Signed-off-by: Itai Ferber itaiferber.net> dev-lang/swift/swift-5.10.1.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-lang/swift/swift-5.10.1.ebuild b/dev-lang/swift/swift-5.10.1.ebuild index 751bc6a93..b7cb27b91 100644 --- a/dev-lang/swift/swift-5.10.1.ebuild +++ b/dev-lang/swift/swift-5.10.1.ebuild @@ -113,6 +113,13 @@ src_unpack() { || die } +src_configure() { + default + + # Necessary to respect PYTHON_SINGLE_TARGET, if defined. + python_setup +} + src_compile() { # The Swift 5.10 compiler is partially written in Swift itself (the new # `swift-driver` + macro support via `swift-syntax`), which requires