commit:     1a6aae8681a88a123579506a5880f6f54f982483
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon May 22 20:10:27 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue May 23 02:58:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a6aae86

dev-util/spirv-llvm-translator: Move clang to BDEPEND="test? ( ... )"

clang is only a test dependency.

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 ...nslator-15.0.0.ebuild => spirv-llvm-translator-15.0.0-r1.ebuild} | 6 ++++--
 ...nslator-16.0.0.ebuild => spirv-llvm-translator-16.0.0-r1.ebuild} | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0.ebuild 
b/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild
similarity index 95%
rename from dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0.ebuild
rename to dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild
index cd3324c655c5..512723205247 100644
--- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0.ebuild
+++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild
@@ -23,7 +23,6 @@ RESTRICT="!test? ( test )"
 
 RDEPEND="
        dev-util/spirv-headers
-       sys-devel/clang:${SLOT}
        sys-devel/llvm:${SLOT}
 "
 
@@ -31,7 +30,10 @@ DEPEND="${RDEPEND}"
 
 BDEPEND="
        virtual/pkgconfig
-       test? ( dev-python/lit )
+       test? (
+               dev-python/lit
+               sys-devel/clang:${SLOT}
+       )
 "
 
 src_prepare() {

diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0.ebuild 
b/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild
similarity index 96%
rename from dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0.ebuild
rename to dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild
index 24731ea4c979..053b146fad72 100644
--- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0.ebuild
+++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild
@@ -23,7 +23,6 @@ RESTRICT="!test? ( test )"
 
 RDEPEND="
        dev-util/spirv-headers
-       sys-devel/clang:${SLOT}
        sys-devel/llvm:${SLOT}
 "
 
@@ -31,7 +30,10 @@ DEPEND="${RDEPEND}"
 
 BDEPEND="
        virtual/pkgconfig
-       test? ( dev-python/lit )
+       test? (
+               dev-python/lit
+               sys-devel/clang:${SLOT}
+       )
 "
 
 PATCHES=(

Reply via email to