mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
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@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user