New commits:
commit 9ddcfeeba6507a863d59e6b27ad50c4e8edd1c6e
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
devel/ninja-build-sistem: made it Python 3.13.x compatible
diff --git a/devel/ninja-build-system/HISTORY
b/devel/ninja-build-system/HISTORY
index b4d5de3..9bc6de3 100644
--- a/devel/ninja-build-system/HISTORY
+++ b/devel/ninja-build-system/HISTORY
@@ -1,3 +1,6 @@
+2024-10-11 Pavel Vinogradov <public AT sourcemage.org>
+ * PRE_BUILD: added for Python 3.13.x compatibility
+
2022-09-04 Florian Franzmann <bwlf AT bandrate.org>
* DETAILS: version 1.11.1
diff --git a/devel/ninja-build-system/PRE_BUILD
b/devel/ninja-build-system/PRE_BUILD
new file mode 100755
index 0000000..8f43aa4
--- /dev/null
+++ b/devel/ninja-build-system/PRE_BUILD
@@ -0,0 +1,10 @@
+default_pre_build &&
+
+# for Python 3.13.x
+if spell_ok "python3" && is_depends_enabled "${SPELL}" "python3"; then
+ local PY_VERSION="$(installed_version python3)" &&
+ if [[ "${PY_VERSION:0:4}" == "3.13" ]]; then
+ find "${SOURCE_DIRECTORY}"/ -iname *.py \
+ -exec sed 's;pipes;shlex;' -i {} \;
+ fi
+fi
[[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (9ddcfeeba6507a863d59e6b27ad50c4e8edd1c6e),
Pavel Vinogradov, 10/11/2024