]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Use pipx to install swidGenerator on Debian trixie
authorTobias Brunner <tobias@strongswan.org>
Fri, 15 Aug 2025 12:46:13 +0000 (14:46 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 18 Sep 2025 09:13:32 +0000 (11:13 +0200)
We could use the same approach on bookworm (if the base image is updated),
but just use the old approach there for now.

testing/scripts/recipes/014_swid_generator.mk

index 9f8407aa3eb81384d5654c7a4feaa47618da7b5f..c10e00d8d8aba19653ba40f5d54cad3032507dca 100644 (file)
@@ -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