commit:     1a9ce26c9e0b4de2297a079fb9f014f97c32f70d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 24 04:22:57 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct 24 05:14:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a9ce26c

dev-python/shiboken2: Force clang <= 15

No revbump since clang-16 is not keyworded right now, and := will take
care of rebuilding with new RDEP once it is.

Closes: https://bugs.gentoo.org/873391
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/shiboken2/shiboken2-5.15.6.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-python/shiboken2/shiboken2-5.15.6.ebuild 
b/dev-python/shiboken2/shiboken2-5.15.6.ebuild
index d2d00d980756..02fb51cd1408 100644
--- a/dev-python/shiboken2/shiboken2-5.15.6.ebuild
+++ b/dev-python/shiboken2/shiboken2-5.15.6.ebuild
@@ -40,10 +40,11 @@ RESTRICT="test"
 QT_PV="$(ver_cut 1-2):5"
 
 # Since Clang is required at both build- and runtime, BDEPEND is omitted here.
+LLVM_MAX_SLOT=15
 RDEPEND="${PYTHON_DEPS}
        >=dev-qt/qtcore-${QT_PV}
-       sys-devel/clang:=
-       sys-devel/clang-runtime:=
+       <sys-devel/clang-16:=
+       <sys-devel/clang-runtime-16:=
        docstrings? (
                >=dev-libs/libxml2-2.6.32
                >=dev-libs/libxslt-1.1.19
@@ -123,7 +124,7 @@ src_configure() {
                        -DUSE_PYTHON_VERSION="${EPYTHON#python}"
                )
                # CMakeLists.txt expects LLVM_INSTALL_DIR as an environment 
variable.
-               local -x LLVM_INSTALL_DIR="$(get_llvm_prefix)"
+               local -x LLVM_INSTALL_DIR="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")"
                cmake_src_configure
        }
        python_foreach_impl shiboken2_configure

Reply via email to