From 1a9ce26c9e0b4de2297a079fb9f014f97c32f70d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 24 Oct 2022 06:22:57 +0200 Subject: [PATCH] dev-python/shiboken2: Force clang <= 15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- 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 d2d00d9807566..02fb51cd14082 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:= + =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