python-argcomplete: add test-version.sh for CI
authorAlexandru Ardelean <redacted>
Mon, 25 May 2026 05:54:10 +0000 (08:54 +0300)
committerAlexandru Ardelean <redacted>
Mon, 25 May 2026 15:47:13 +0000 (18:47 +0300)
The three CLI helpers shipped by python3-argcomplete
(activate-global-python-argcomplete, register-python-argcomplete,
python-argcomplete-check-easy-install-script) don't accept a --version
flag and emit no PKG_VERSION string in their usage output. With all
three executables missing the version, the generic CI test stage
fails with "No executables in the package provided version 3.6.3".

Add a test-version.sh that emits a line containing PKG_VERSION so the
framework's "Version check override" passes. The existing test.sh
already exercises the Python module import.

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

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