summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2020-10-14 11:38:20 -0400
committerRick Farina <zerochaos@gentoo.org>2020-10-14 11:38:48 -0400
commit601b68e253c4243b388c73c9e5330e9e85968502 (patch)
tree4b9ffbc2874d0af44bd67970dca18c49f1cf2f02 /dev-python/shiboken2/shiboken2-5.15.1.ebuild
parentdev-python/shiboken2: bump (diff)
downloadgentoo-601b68e253c4243b388c73c9e5330e9e85968502.tar.gz
gentoo-601b68e253c4243b388c73c9e5330e9e85968502.tar.bz2
gentoo-601b68e253c4243b388c73c9e5330e9e85968502.zip
dev-python/shiboken2: migrate to cmake.eclass
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'dev-python/shiboken2/shiboken2-5.15.1.ebuild')
-rw-r--r--dev-python/shiboken2/shiboken2-5.15.1.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-python/shiboken2/shiboken2-5.15.1.ebuild b/dev-python/shiboken2/shiboken2-5.15.1.ebuild
index aa293aaad1eb..9877a168f1f4 100644
--- a/dev-python/shiboken2/shiboken2-5.15.1.ebuild
+++ b/dev-python/shiboken2/shiboken2-5.15.1.ebuild
@@ -14,7 +14,7 @@ EAPI=7
# https://bugreports.qt.io/browse/PYSIDE-535
PYTHON_COMPAT=( python3_{6,7,8} )
-inherit cmake-utils llvm python-r1 toolchain-funcs
+inherit cmake llvm python-r1 toolchain-funcs
MY_P=pyside-setup-opensource-src-${PV}
@@ -103,7 +103,7 @@ src_prepare() {
ApiExtractor/clangparser/compilersupport.cpp || die
CPP="${_CPP_old}"
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
@@ -120,22 +120,22 @@ src_configure() {
-DUSE_PYTHON_VERSION="${EPYTHON#python}"
)
# CMakeLists.txt expects LLVM_INSTALL_DIR as an environment variable.
- LLVM_INSTALL_DIR="$(get_llvm_prefix)" cmake-utils_src_configure
+ LLVM_INSTALL_DIR="$(get_llvm_prefix)" cmake_src_configure
}
python_foreach_impl shiboken2_configure
}
src_compile() {
- python_foreach_impl cmake-utils_src_compile
+ python_foreach_impl cmake_src_compile
}
src_test() {
- python_foreach_impl cmake-utils_src_test
+ python_foreach_impl cmake_src_test
}
src_install() {
shiboken2_install() {
- cmake-utils_src_install
+ cmake_src_install
python_optimize
# Uniquify the "shiboken2" executable for the current Python target,