summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-02-11 15:05:18 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-02-11 15:38:18 +0100
commitd4fcb7dd93f58d38a8190b04dfc6e50ab1d81624 (patch)
treef68b7f881b8d6cbc8c83d1a51590a91d42443094 /dev-python/pyside2
parentdev-python/shiboken2: migrate to llvm-r1.eclass (diff)
downloadgentoo-d4fcb7dd93f58d38a8190b04dfc6e50ab1d81624.tar.gz
gentoo-d4fcb7dd93f58d38a8190b04dfc6e50ab1d81624.tar.bz2
gentoo-d4fcb7dd93f58d38a8190b04dfc6e50ab1d81624.zip
dev-python/pyside2: migrate to llvm-r1.eclass
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/pyside2')
-rw-r--r--dev-python/pyside2/pyside2-5.15.12.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-python/pyside2/pyside2-5.15.12.ebuild b/dev-python/pyside2/pyside2-5.15.12.ebuild
index c516810217e7..f0de45d53ba8 100644
--- a/dev-python/pyside2/pyside2-5.15.12.ebuild
+++ b/dev-python/pyside2/pyside2-5.15.12.ebuild
@@ -7,7 +7,9 @@ EAPI=8
# https://bugreports.qt.io/browse/PYSIDE-535
PYTHON_COMPAT=( python3_{10..11} )
-inherit cmake python-r1 virtualx
+LLVM_COMPAT=( 15 )
+
+inherit cmake llvm-r1 python-r1 virtualx
# TODO: Add conditional support for "QtRemoteObjects" via a new "remoteobjects"
# USE flag after an external "dev-qt/qtremoteobjects" package has been created.
@@ -83,7 +85,7 @@ RESTRICT="test"
QT_PV="$(ver_cut 1-3)*:5"
RDEPEND="${PYTHON_DEPS}
- ~dev-python/shiboken2-${PV}[${PYTHON_USEDEP}]
+ ~dev-python/shiboken2-${PV}[${PYTHON_USEDEP},${LLVM_USEDEP}]
=dev-qt/qtcore-${QT_PV}
=dev-qt/qtopengl-${QT_PV}[gles2-only=]
=dev-qt/qtserialport-${QT_PV}
@@ -123,6 +125,10 @@ RDEPEND="${PYTHON_DEPS}
xmlpatterns? ( =dev-qt/qtxmlpatterns-${QT_PV}[qml?] )
"
DEPEND="${RDEPEND}
+ $(llvm_gen_dep '
+ sys-devel/clang:${LLVM_SLOT}
+ sys-devel/llvm:${LLVM_SLOT}
+ ')
test? ( x11-misc/xvfb-run )
"