diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-10-11 22:18:34 +0200 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-10-11 23:22:53 +0200 |
| commit | 8f13b51ab1d54cca31f4c8224060810cb1749e73 (patch) | |
| tree | e4debd90838421d1de3e87fd0f0bbee7a02add4e /kde-apps/cantor/cantor-9999.ebuild | |
| parent | c283a818d9fae4473d36436f154084508aff0173 (diff) | |
| download | kde-8f13b51ab1d54cca31f4c8224060810cb1749e73.tar.gz kde-8f13b51ab1d54cca31f4c8224060810cb1749e73.tar.bz2 kde-8f13b51ab1d54cca31f4c8224060810cb1749e73.zip | |
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 <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/cantor/cantor-9999.ebuild')
| -rw-r--r-- | kde-apps/cantor/cantor-9999.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
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 } |
