From 5264f85e224df5f7a24ecadea24784a09e609e43 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Thu, 9 Apr 2026 10:22:10 +0300 Subject: [PATCH] python3-lxml: add package guard to test.sh The test.sh lacked a package name guard, causing it to run (and fail) when the -src subpackage was tested without python3 installed. Add the standard guard to skip the test for non-main packages. Signed-off-by: Alexandru Ardelean --- lang/python/python-lxml/test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lang/python/python-lxml/test.sh b/lang/python/python-lxml/test.sh index e175d9239c..87593c0b44 100644 --- a/lang/python/python-lxml/test.sh +++ b/lang/python/python-lxml/test.sh @@ -1,5 +1,7 @@ #!/bin/sh +[ "$1" = python3-lxml ] || exit 0 + EXP_VER="$2" python3 - << EOF