Commit 518b8e4286 for strongswan.org
commit 518b8e42864efd45cecb72878cf0f23e02199567
Author: Tobias Brunner <tobias@strongswan.org>
Date: Fri Aug 15 14:46:13 2025 +0200
testing: Use pipx to install swidGenerator on Debian trixie
We could use the same approach on bookworm (if the base image is updated),
but just use the old approach there for now.
diff --git a/testing/scripts/recipes/014_swid_generator.mk b/testing/scripts/recipes/014_swid_generator.mk
index 9f8407aa3e..c10e00d8d8 100644
--- a/testing/scripts/recipes/014_swid_generator.mk
+++ b/testing/scripts/recipes/014_swid_generator.mk
@@ -17,4 +17,8 @@ $(TAR):
@touch $@
install: .$(PKG)-unpacked-$(REV)
+ifeq (,$(filter $(BASEIMG),bullseye bookworm))
+ cd $(DIR) && pipx install --global --system-site-packages .
+else
cd $(DIR) && SETUPTOOLS_USE_DISTUTILS=stdlib python3 setup.py install
+endif