summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-02-11 15:07:11 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-02-11 15:38:19 +0100
commita7acd217fbafe94f8f54d9c52ddec8e4d3cac4b9 (patch)
treee26e124b6b945bbd50f88743a37d517b0792dd40 /dev-python/pyside2-tools
parentdev-python/pyside2: migrate to llvm-r1.eclass (diff)
downloadgentoo-a7acd217fbafe94f8f54d9c52ddec8e4d3cac4b9.tar.gz
gentoo-a7acd217fbafe94f8f54d9c52ddec8e4d3cac4b9.tar.bz2
gentoo-a7acd217fbafe94f8f54d9c52ddec8e4d3cac4b9.zip
dev-python/pyside2-tools: migrate to llvm-r1.eclass
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/pyside2-tools')
-rw-r--r--dev-python/pyside2-tools/pyside2-tools-5.15.12.ebuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/dev-python/pyside2-tools/pyside2-tools-5.15.12.ebuild b/dev-python/pyside2-tools/pyside2-tools-5.15.12.ebuild
index 93fd8b402f99..a4e0bab67f21 100644
--- a/dev-python/pyside2-tools/pyside2-tools-5.15.12.ebuild
+++ b/dev-python/pyside2-tools/pyside2-tools-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
+LLVM_COMPAT=( 15 )
+
+inherit cmake llvm-r1 python-r1
MY_P=pyside-setup-opensource-src-${PV}
@@ -22,9 +24,15 @@ KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
- ~dev-python/pyside2-${PV}[${PYTHON_USEDEP}]
+ ~dev-python/shiboken2-${PV}[${PYTHON_USEDEP},${LLVM_USEDEP}]
+ ~dev-python/pyside2-${PV}[${PYTHON_USEDEP},${LLVM_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ $(llvm_gen_dep '
+ sys-devel/clang:${LLVM_SLOT}
+ sys-devel/llvm:${LLVM_SLOT}
+ ')
"
-DEPEND="${RDEPEND}"
# the tools conflict with tools from QT
PATCHES=(