commit:     5fe9d4a4de2e4f79666fb4a49f52c2c61db932ab
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Fri Jan 17 14:01:49 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 18 14:53:37 2025 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=5fe9d4a4

dev-libs/kopeninghours: use Python cmake module instead of patching

Upstream commit: c73771a4e5cc1327f65092206889b995d2200ef7

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/kde/pull/1015
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/kopeninghours/kopeninghours-9999.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/dev-libs/kopeninghours/kopeninghours-9999.ebuild 
b/dev-libs/kopeninghours/kopeninghours-9999.ebuild
index 1510ad086f..2b12e24f8b 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

Reply via email to