]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Use pip from venv to download dependencies
authorTobias Brunner <tobias@strongswan.org>
Mon, 28 Aug 2023 15:49:26 +0000 (17:49 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 28 Aug 2023 15:49:26 +0000 (17:49 +0200)
pip3 isn't installed in the base image anymore since 21bf3e41f94a
("testing: Use venv for strongTNC").

testing/scripts/recipes/015_strongTNC.mk

index 4cc08993c6c13b155951eb916b31bc28a78a9f85..673b4b09e9e0fa80977da0286256ee9729e88418 100644 (file)
@@ -18,8 +18,8 @@ $(ZIP):
        @touch $@
 
 .$(PKG)-deps-$(REV): .$(PKG)-unpacked-$(REV)
-       mkdir -p $(DEPS)
-       pip3 download -d $(DEPS) -r $(DIR)/requirements.txt
+       python3 -m venv $(VENV)
+       $(VENV)/bin/pip download -d $(DEPS) -r $(DIR)/requirements.txt
        @touch $@
 
 install: .$(PKG)-deps-$(REV)