python-incremental: add test-version.sh generic version-check override
authorAlexandru Ardelean <redacted>
Sun, 7 Jun 2026 17:13:34 +0000 (20:13 +0300)
committerAlexandru Ardelean <redacted>
Tue, 9 Jun 2026 14:18:01 +0000 (17:18 +0300)
The incremental CLI requires an "update" subcommand and prints a usage
error instead of a version for the flags the generic check probes, so it
fails generic tests (e.g. when python3 is bumped). Override it; test.sh
still covers functionality.

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-incremental/test-version.sh [new file with mode: 0755]

diff --git a/lang/python/python-incremental/test-version.sh b/lang/python/python-incremental/test-version.sh
new file mode 100755 (executable)
index 0000000..c0a0945
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# shellcheck shell=busybox
+
+case "$PKG_NAME" in
+python3-incremental | python3-incremental-src)
+       exit 0
+       ;;
+*)
+       echo "Untested package: $PKG_NAME" >&2
+       exit 1
+       ;;
+esac
git clone https://git.99rst.org/PROJECT