From: Tobias Brunner Date: Fri, 15 Aug 2025 12:46:13 +0000 (+0200) Subject: testing: Use pipx to install swidGenerator on Debian trixie X-Git-Tag: 6.0.3dr1~1^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=518b8e42864efd45cecb72878cf0f23e02199567;p=thirdparty%2Fstrongswan.git 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