Blame python-streamlink-5.1.0-python3.patch

0f62c54
diff -up ./script/build-shell-completions.sh.orig ./script/build-shell-completions.sh
0177021
--- ./script/build-shell-completions.sh.orig	2022-11-14 14:36:23.000000000 +0100
0177021
+++ ./script/build-shell-completions.sh	2022-11-17 22:18:16.298216762 +0100
0f62c54
@@ -13,14 +13,14 @@ declare -A COMPLETIONS=(
0f62c54
 )
0f62c54
 
0f62c54
 for dep in "${PYTHON_DEPS[@]}"; do
0f62c54
-  python -c "import ${dep}" 2>&1 >/dev/null \
0f62c54
+  python3 -c "import ${dep}" 2>&1 >/dev/null \
0f62c54
     || { echo >&2 "${dep} could not be found in your python environment"; exit 1; }
0f62c54
 done
0f62c54
 
0f62c54
 for shell in "${!COMPLETIONS[@]}"; do
0f62c54
   mkdir -p "${DIST}/${shell}"
0f62c54
   dist="${DIST}/${shell}/${COMPLETIONS[${shell}]}"
0f62c54
-  python -m shtab \
0f62c54
+  python3 -m shtab \
0f62c54
     "--shell=${shell}" \
0f62c54
     --error-unimportable \
0f62c54
     streamlink_cli.main.parser_helper \