commit:     2ba91fc32390c5392b4c37949d04d689be32c7aa
Author:     Itai Ferber <itai <AT> itaiferber <DOT> net>
AuthorDate: Fri Mar  6 15:22:39 2026 +0000
Commit:     Itai Ferber <itai <AT> itaiferber <DOT> net>
CommitDate: Fri Mar  6 18:48:51 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2ba91fc3

dev-lang/swift: update to llvm-r2.eclass

Signed-off-by: Itai Ferber <itai <AT> itaiferber.net>

 dev-lang/swift/swift-5.10.1-r5.ebuild | 6 +++---
 dev-lang/swift/swift-6.0.3-r2.ebuild  | 4 ++--
 dev-lang/swift/swift-6.1.3.ebuild     | 4 ++--
 dev-lang/swift/swift-6.2.1.ebuild     | 4 ++--
 dev-lang/swift/swift-6.2.2.ebuild     | 4 ++--
 dev-lang/swift/swift-6.2.3.ebuild     | 4 ++--
 dev-lang/swift/swift-6.2.4.ebuild     | 4 ++--
 dev-lang/swift/swift-6.2.ebuild       | 4 ++--
 8 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/dev-lang/swift/swift-5.10.1-r5.ebuild 
b/dev-lang/swift/swift-5.10.1-r5.ebuild
index 6c3dcb71b6..8684f812ae 100644
--- a/dev-lang/swift/swift-5.10.1-r5.ebuild
+++ b/dev-lang/swift/swift-5.10.1-r5.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 LLVM_COMPAT=( {17..21} )
 PYTHON_COMPAT=( python3_{11..14} )
-inherit flag-o-matic llvm-r1 python-single-r1
+inherit flag-o-matic llvm-r2 python-single-r1
 
 DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled 
programming language"
 HOMEPAGE="https://www.swift.org";
@@ -130,7 +130,7 @@ pkg_setup() {
        python_setup
 
        # Sets up `PATH` to point to the appropriate LLVM toolchain.
-       llvm-r1_pkg_setup
+       llvm-r2_pkg_setup
 }
 
 src_unpack() {
@@ -155,7 +155,7 @@ src_unpack() {
 }
 
 src_configure() {
-       # `llvm-r1_pkg_setup` sets these tools to their absolute paths, but we 
need
+       # `llvm-r2_pkg_setup` sets these tools to their absolute paths, but we 
need
        # to still pick them up dynamically based on `PATH` for stage1 and 
stage2
        # builds below (to keep all parts of the Swift toolchain compiling with 
the
        # same internal tools).

diff --git a/dev-lang/swift/swift-6.0.3-r2.ebuild 
b/dev-lang/swift/swift-6.0.3-r2.ebuild
index c0a2b26725..9c6a074010 100644
--- a/dev-lang/swift/swift-6.0.3-r2.ebuild
+++ b/dev-lang/swift/swift-6.0.3-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 LLVM_COMPAT=( {17..21} )
 PYTHON_COMPAT=( python3_{11..14} )
-inherit llvm-r1 python-single-r1 toolchain-funcs
+inherit llvm-r2 python-single-r1 toolchain-funcs
 
 DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled 
programming language"
 HOMEPAGE="https://www.swift.org";
@@ -138,7 +138,7 @@ pkg_setup() {
 
        # Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure
        # we're using the toolchain for compilation.
-       llvm-r1_pkg_setup
+       llvm-r2_pkg_setup
 }
 
 src_unpack() {

diff --git a/dev-lang/swift/swift-6.1.3.ebuild 
b/dev-lang/swift/swift-6.1.3.ebuild
index 9791a24f18..2437db4b8b 100644
--- a/dev-lang/swift/swift-6.1.3.ebuild
+++ b/dev-lang/swift/swift-6.1.3.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 LLVM_COMPAT=( {17..21} )
 PYTHON_COMPAT=( python3_{11..14} )
-inherit llvm-r1 python-single-r1 toolchain-funcs
+inherit llvm-r2 python-single-r1 toolchain-funcs
 
 DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled 
programming language"
 HOMEPAGE="https://www.swift.org";
@@ -140,7 +140,7 @@ pkg_setup() {
 
        # Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure
        # we're using the toolchain for compilation.
-       llvm-r1_pkg_setup
+       llvm-r2_pkg_setup
 }
 
 src_unpack() {

diff --git a/dev-lang/swift/swift-6.2.1.ebuild 
b/dev-lang/swift/swift-6.2.1.ebuild
index 92d0eb2605..ce555fda0e 100644
--- a/dev-lang/swift/swift-6.2.1.ebuild
+++ b/dev-lang/swift/swift-6.2.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 LLVM_COMPAT=( {17..21} )
 PYTHON_COMPAT=( python3_{11..14} )
-inherit llvm-r1 python-single-r1 toolchain-funcs
+inherit llvm-r2 python-single-r1 toolchain-funcs
 
 DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled 
programming language"
 HOMEPAGE="https://www.swift.org";
@@ -141,7 +141,7 @@ pkg_setup() {
 
        # Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure
        # we're using the toolchain for compilation.
-       llvm-r1_pkg_setup
+       llvm-r2_pkg_setup
 }
 
 src_unpack() {

diff --git a/dev-lang/swift/swift-6.2.2.ebuild 
b/dev-lang/swift/swift-6.2.2.ebuild
index 92d0eb2605..ce555fda0e 100644
--- a/dev-lang/swift/swift-6.2.2.ebuild
+++ b/dev-lang/swift/swift-6.2.2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 LLVM_COMPAT=( {17..21} )
 PYTHON_COMPAT=( python3_{11..14} )
-inherit llvm-r1 python-single-r1 toolchain-funcs
+inherit llvm-r2 python-single-r1 toolchain-funcs
 
 DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled 
programming language"
 HOMEPAGE="https://www.swift.org";
@@ -141,7 +141,7 @@ pkg_setup() {
 
        # Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure
        # we're using the toolchain for compilation.
-       llvm-r1_pkg_setup
+       llvm-r2_pkg_setup
 }
 
 src_unpack() {

diff --git a/dev-lang/swift/swift-6.2.3.ebuild 
b/dev-lang/swift/swift-6.2.3.ebuild
index 92d0eb2605..ce555fda0e 100644
--- a/dev-lang/swift/swift-6.2.3.ebuild
+++ b/dev-lang/swift/swift-6.2.3.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 LLVM_COMPAT=( {17..21} )
 PYTHON_COMPAT=( python3_{11..14} )
-inherit llvm-r1 python-single-r1 toolchain-funcs
+inherit llvm-r2 python-single-r1 toolchain-funcs
 
 DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled 
programming language"
 HOMEPAGE="https://www.swift.org";
@@ -141,7 +141,7 @@ pkg_setup() {
 
        # Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure
        # we're using the toolchain for compilation.
-       llvm-r1_pkg_setup
+       llvm-r2_pkg_setup
 }
 
 src_unpack() {

diff --git a/dev-lang/swift/swift-6.2.4.ebuild 
b/dev-lang/swift/swift-6.2.4.ebuild
index 92d0eb2605..ce555fda0e 100644
--- a/dev-lang/swift/swift-6.2.4.ebuild
+++ b/dev-lang/swift/swift-6.2.4.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 LLVM_COMPAT=( {17..21} )
 PYTHON_COMPAT=( python3_{11..14} )
-inherit llvm-r1 python-single-r1 toolchain-funcs
+inherit llvm-r2 python-single-r1 toolchain-funcs
 
 DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled 
programming language"
 HOMEPAGE="https://www.swift.org";
@@ -141,7 +141,7 @@ pkg_setup() {
 
        # Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure
        # we're using the toolchain for compilation.
-       llvm-r1_pkg_setup
+       llvm-r2_pkg_setup
 }
 
 src_unpack() {

diff --git a/dev-lang/swift/swift-6.2.ebuild b/dev-lang/swift/swift-6.2.ebuild
index e379bdb453..d78794f6d4 100644
--- a/dev-lang/swift/swift-6.2.ebuild
+++ b/dev-lang/swift/swift-6.2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 LLVM_COMPAT=( {17..21} )
 PYTHON_COMPAT=( python3_{11..14} )
-inherit llvm-r1 python-single-r1 toolchain-funcs
+inherit llvm-r2 python-single-r1 toolchain-funcs
 
 DESCRIPTION="A high-level, general-purpose, multi-paradigm, compiled 
programming language"
 HOMEPAGE="https://www.swift.org";
@@ -141,7 +141,7 @@ pkg_setup() {
 
        # Sets up `PATH` to point to the appropriate LLVM toolchain, and ensure
        # we're using the toolchain for compilation.
-       llvm-r1_pkg_setup
+       llvm-r2_pkg_setup
 }
 
 src_unpack() {

Reply via email to