From: Tobias Brunner Date: Mon, 28 Aug 2023 15:49:26 +0000 (+0200) Subject: testing: Use pip from venv to download dependencies X-Git-Tag: android-2.4.2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5005c2e4ab0cb0f6f456e8425f3d6d5c4313c17e;p=thirdparty%2Fstrongswan.git testing: Use pip from venv to download dependencies pip3 isn't installed in the base image anymore since 21bf3e41f94a ("testing: Use venv for strongTNC"). --- diff --git a/testing/scripts/recipes/015_strongTNC.mk b/testing/scripts/recipes/015_strongTNC.mk index 4cc08993c6..673b4b09e9 100644 --- a/testing/scripts/recipes/015_strongTNC.mk +++ b/testing/scripts/recipes/015_strongTNC.mk @@ -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)