From c89eb13f4eef40cc1e890759279e97f17fae048d Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Thu, 12 Dec 2024 20:37:22 +0000 Subject: python3-cmake: update to version 3.31.1 Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../python/python3-cmake/run-cmake-from-path.patch | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch') diff --git a/meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch b/meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch index d4d2903d5e..7b4190a70f 100644 --- a/meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch +++ b/meta-python/recipes-devtools/python/python3-cmake/run-cmake-from-path.patch @@ -1,13 +1,13 @@ Upstream-Status: Pending ---- cmake-3.25.2/src/cmake/__init__.py.old 2023-03-10 09:40:43.582315753 +0100 -+++ cmake-3.25.2/src/cmake/__init__.py 2023-03-10 09:41:38.030874047 +0100 -@@ -36,7 +36,7 @@ - - - def _program(name, args): -- return subprocess.call([os.path.join(CMAKE_BIN_DIR, name)] + args, close_fds=False) +--- cmake-3.25.2/src/cmake/__init__.py.old 2024-12-12 20:25:48.207389622 +0000 ++++ cmake-3.25.2/src/cmake/__init__.py 2024-12-12 20:25:48.207389622 +0000 +@@ -44,7 +44,7 @@ + + + def _program(name: str, args: Iterable[str]) -> int: +- return subprocess.call([os.path.join(CMAKE_BIN_DIR, name), *args], close_fds=False) + return subprocess.call([name] + args, close_fds=False) - - - def cmake(): + + def _program_exit(name: str, *args: str) -> NoReturn: + if sys.platform.startswith("win"): -- cgit v1.2.3-54-g00ecf