]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
testing: Install vici Python module manually
authorTobias Brunner <tobias@strongswan.org>
Mon, 24 Aug 2020 14:17:04 +0000 (16:17 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 3 Sep 2020 11:34:19 +0000 (13:34 +0200)
easy_install is not included in Debian's python-setuptools package
anymore, so we install it manually using setup.py.

testing/scripts/recipes/013_strongswan.mk

index e84d42094ffbb3710f5cb3494accf92d356dd4be..d8f907a9f0f6a38cff076a356eb30a0ae325b265 100644 (file)
@@ -106,7 +106,7 @@ CONFIG_OPTS = \
        --enable-systemd \
        --enable-counters \
        --enable-save-keys \
-       --enable-python-eggs-install
+       --enable-python-eggs
 
 export ADA_PROJECT_PATH=/usr/local/ada/lib/gnat
 
@@ -126,6 +126,7 @@ build: configure
        cd $(BUILDDIR) && make -j $(NUM_CPUS)
 
 install: build
-       cd $(BUILDDIR) && make -j install
+       cd $(BUILDDIR) && make -j install && \
+               cd $(DIR)/src/libcharon/plugins/vici/python && python setup.py install
        # for Python-based updown scripts
        pip install python-daemon