From 5fe9d4a4de2e4f79666fb4a49f52c2c61db932ab Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Fri, 17 Jan 2025 16:01:49 +0200 Subject: dev-libs/kopeninghours: use Python cmake module instead of patching Upstream commit: c73771a4e5cc1327f65092206889b995d2200ef7 Signed-off-by: Alfred Wingate Closes: https://github.com/gentoo/kde/pull/1015 Signed-off-by: Sam James --- dev-libs/kopeninghours/kopeninghours-9999.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'dev-libs') diff --git a/dev-libs/kopeninghours/kopeninghours-9999.ebuild b/dev-libs/kopeninghours/kopeninghours-9999.ebuild index 1510ad086f2..2b12e24f8b1 100644 --- a/dev-libs/kopeninghours/kopeninghours-9999.ebuild +++ b/dev-libs/kopeninghours/kopeninghours-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -42,8 +42,6 @@ BDEPEND=" app-alternatives/yacc " -PATCHES=( "${FILESDIR}"/${PN}-22.04.0-boostpython.patch ) - pkg_setup() { ecm_pkg_setup python_setup @@ -51,7 +49,8 @@ pkg_setup() { src_configure() { local mycmakeargs=( - -DBOOSTPYTHON_VERSION_MAJOR_MINOR=${EPYTHON} + -DPython_LIBRARY=$(python_get_library_path) + -DPython_INCLUDE_DIR=$(python_get_includedir) $(cmake_use_find_package python Boost) ) ecm_src_configure -- cgit v1.2.3