From: Tobias Brunner Date: Mon, 24 Aug 2020 14:22:18 +0000 (+0200) Subject: testing: Fix dependency issue with strongTNC X-Git-Tag: 5.9.1dr1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64148f046e98c3e8239a2399f5cfd519799f9c90;p=thirdparty%2Fstrongswan.git testing: Fix dependency issue with strongTNC Apparently, djangorestframework-camel-case, in the referenced version, uses `six` but does not itself require/install it (later versions removed Python 2 support altogether). --- diff --git a/testing/scripts/recipes/015_strongTNC.mk b/testing/scripts/recipes/015_strongTNC.mk index 4e2925ff0d..51c9894c6f 100644 --- a/testing/scripts/recipes/015_strongTNC.mk +++ b/testing/scripts/recipes/015_strongTNC.mk @@ -15,8 +15,9 @@ $(PKG)-master: $(ZIP) $(DEPS): $(PKG)-master mkdir -p $(DEPS) - pip download -d $(DEPS) -r $(PKG)-master/requirements.txt + pip download -d $(DEPS) -r $(PKG)-master/requirements.txt six install: $(DEPS) - pip install --no-index --find-links=file://`pwd`/$(DEPS) -r $(PKG)-master/requirements.txt + # six is required for djangorestframework-camel-case + pip install --no-index --find-links=file://`pwd`/$(DEPS) -r $(PKG)-master/requirements.txt six cp -r $(PKG)-master /var/www/tnc && chgrp -R www-data /var/www/tnc && chmod g+sw /var/www/tnc