Commit 55e37c1a authored by Michał Kępień's avatar Michał Kępień

Install Python QA tools on Debian buster

parent 96ff1be0
......@@ -37,6 +37,7 @@ dnstap_debian_buster_amd64 := yes
dnstap_centos_centos7_amd64 := yes
dnstap_debian_sid_amd64 := yes
dnstap_debian_sid_i386 := yes
python_qa_debian_buster_amd64 := yes
respdiff_debian_buster_amd64 := yes
shellcheck_debian_sid_amd64 := yes
......@@ -83,6 +84,7 @@ $(TARGETS): COCCINELLE = $(coccinelle_$(VENDOR)_$(VERSION)_$(ARCH))
$(TARGETS): COMPILEDB = $(compiledb_$(VENDOR)_$(VERSION)_$(ARCH))
$(TARGETS): CPPCHECK = $(cppcheck_$(VENDOR)_$(VERSION)_$(ARCH))
$(TARGETS): DNSTAP = $(dnstap_$(VENDOR)_$(VERSION)_$(ARCH))
$(TARGETS): PYTHON_QA = $(python_qa_$(VENDOR)_$(VERSION)_$(ARCH))
$(TARGETS): RESPDIFF = $(respdiff_$(VENDOR)_$(VERSION)_$(ARCH))
$(TARGETS): SHELLCHECK = $(shellcheck_$(VENDOR)_$(VERSION)_$(ARCH))
$(TARGETS): SOFTHSM = $(softhsm_$(VENDOR)_$(VERSION)_$(ARCH))
......@@ -99,6 +101,7 @@ $(TARGETS):
-e 's,@CPPCHECK@,$(CPPCHECK),g' \
-e 's,@DNSTAP@,$(DNSTAP),g' \
-e 's,@KYUA_GIT_COMMIT@,$(KYUA_GIT_COMMIT),g' \
-e 's,@PYTHON_QA@,$(PYTHON_QA),g' \
-e 's,@RESPDIFF@,$(RESPDIFF),g' \
-e 's,@SHELLCHECK@,$(SHELLCHECK),g' \
-e 's,@SOFTHSM@,$(SOFTHSM),g' \
......
......@@ -100,6 +100,7 @@ RUN if [ "@COCCINELLE@" = "yes" ]; then apt-get -y install coccinelle; fi
RUN if [ "@COMPILEDB@" = "yes" ]; then apt-get -y install python3-pip && pip3 install compiledb; fi
RUN if [ "@CPPCHECK@" = "yes" ]; then apt-get -y install cppcheck; fi
RUN if [ "@DNSTAP@" = "yes" ]; then apt-get -y install libfstrm-dev libprotobuf-c-dev protobuf-c-compiler; fi
RUN if [ "@PYTHON_QA@" = "yes" ]; then apt-get -y install python3-pip && pip3 install flake8==3.8.1 pylint==2.5.2; fi
RUN if [ "@RESPDIFF@" = "yes" ]; then apt-get -y install python3-dpkt python3-lmdb python3-numpy python3-scipy python3-tabulate; fi
RUN if [ "@SHELLCHECK@" = "yes" ]; then apt-get -y install shellcheck; fi
RUN if [ "@SOFTHSM@" -ge "2" ] 2>/dev/null; then apt-get -y install libsofthsm2 softhsm2; fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment