python3-scikit-build-core: Use PYTHON_INCLUDE_DIR

Add a patch to use PYTHON_INCLUDE_DIR to find Python Interpreter
and Development.Module as suggested by Stephan Kulow:
https://github.com/scikit-build/scikit-build-core/issues/952#issuecomment-2554058930

This work was sponsored by GOVCERT.LU.

Suggested-by: Stephan Kulow <stephan.kulow@siemens.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi authored and Khem Raj committed 2025-01-29 17:43:04 -08:00
1 parent 1941ab64ed
commit 0d3d116edb
2 files changed
+33

No files matched your search

@@ -9,6 +9,7 @@ DEPENDS = "python3-hatch-vcs-native"
inherit pypi python_hatchling
SRC_URI += "file://0001-builder.py-Check-PYTHON_INCLUDE_DIR.patch"
SRC_URI[sha256sum] = "04cbb59fe795202a7eeede1849112ee9dcbf3469feebd9b8b36aa541336ac4f8"
BBCLASSEXTEND = "native nativesdk"