From 64148f046e98c3e8239a2399f5cfd519799f9c90 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 24 Aug 2020 16:22:18 +0200 Subject: [PATCH] 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). --- testing/scripts/recipes/015_strongTNC.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.47.2