summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-02-11 15:24:08 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-02-11 15:38:22 +0100
commit5753256f8d4ac3a104b74cb74df1b77d0621d6bf (patch)
treea103c7c4017cfbc7cc7a6bcfb52c7cb6ef26fb74 /dev-python
parentdev-python/pyside6: migrate to llvm-r1.eclass (diff)
downloadgentoo-5753256f8d4ac3a104b74cb74df1b77d0621d6bf.tar.gz
gentoo-5753256f8d4ac3a104b74cb74df1b77d0621d6bf.tar.bz2
gentoo-5753256f8d4ac3a104b74cb74df1b77d0621d6bf.zip
dev-python/pyside6-tools: migrate to llvm-r1.eclass
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyside6-tools/pyside6-tools-6.6.1.ebuild16
1 files changed, 12 insertions, 4 deletions
diff --git a/dev-python/pyside6-tools/pyside6-tools-6.6.1.ebuild b/dev-python/pyside6-tools/pyside6-tools-6.6.1.ebuild
index 58c17ed640c3..e7411d54de28 100644
--- a/dev-python/pyside6-tools/pyside6-tools-6.6.1.ebuild
+++ b/dev-python/pyside6-tools/pyside6-tools-6.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -7,7 +7,9 @@ EAPI=8
# https://bugreports.qt.io/browse/PYSIDE-535
PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake python-r1
+LLVM_COMPAT=( {15..17} )
+
+inherit cmake llvm-r1 python-r1
MY_PN="pyside-setup-everywhere-src"
@@ -22,9 +24,15 @@ KEYWORDS="~amd64"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
- ~dev-python/pyside6-${PV}[quick,${PYTHON_USEDEP}]
+ ~dev-python/shiboken6-${PV}[${PYTHON_USEDEP},${LLVM_USEDEP}]
+ ~dev-python/pyside6-${PV}[quick,${PYTHON_USEDEP},${LLVM_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ $(llvm_gen_dep '
+ sys-devel/clang:${LLVM_SLOT}
+ sys-devel/llvm:${LLVM_SLOT}
+ ')
"
-DEPEND="${RDEPEND}"
src_prepare() {
cmake_src_prepare