From 8f13b51ab1d54cca31f4c8224060810cb1749e73 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 11 Oct 2020 22:18:34 +0200 Subject: kde-apps/cantor: python3_9 via patch to use CMake's Python3 module Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner --- kde-apps/cantor/cantor-9999.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'kde-apps/cantor/cantor-9999.ebuild') diff --git a/kde-apps/cantor/cantor-9999.ebuild b/kde-apps/cantor/cantor-9999.ebuild index 87d15617ea4..8b8ba94e1b6 100644 --- a/kde-apps/cantor/cantor-9999.ebuild +++ b/kde-apps/cantor/cantor-9999.ebuild @@ -6,7 +6,7 @@ EAPI=7 CMAKE_MAKEFILE_GENERATOR="emake" ECM_HANDBOOK="forceoptional" ECM_TEST="forceoptional" -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7,8,9} ) PVCUT=$(ver_cut 1-3) KFMIN=5.75.0 QTMIN=5.15.1 @@ -74,6 +74,8 @@ RDEPEND="${DEPEND} RESTRICT+=" test" +PATCHES=( "${FILESDIR}/${PN}-20.08.2-python.patch" ) + pkg_setup() { use python && python-single-r1_pkg_setup ecm_pkg_setup @@ -87,10 +89,11 @@ src_configure() { $(cmake_use_find_package julia Julia) $(cmake_use_find_package lua LuaJIT) -DUSE_LIBSPECTRE=$(usex postscript) - $(cmake_use_find_package python PythonLibs3) + $(cmake_use_find_package python Python3) $(cmake_use_find_package qalculate Qalculate) $(cmake_use_find_package R R) ) + use python && mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" ) ecm_src_configure } -- cgit v1.2.3