From 350bd99f95f6dd14c44107ebb719433aa4d4f653 Mon Sep 17 00:00:00 2001 From: Henrik Riomar Date: Fri, 14 Dec 2018 20:18:07 +0100 Subject: community/flawfinder: move from testing --- community/flawfinder/use-python3.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 community/flawfinder/use-python3.patch (limited to 'community/flawfinder/use-python3.patch') diff --git a/community/flawfinder/use-python3.patch b/community/flawfinder/use-python3.patch new file mode 100644 index 0000000000..1b3a5d8a35 --- /dev/null +++ b/community/flawfinder/use-python3.patch @@ -0,0 +1,22 @@ +--- flawfinder-2.0.7/makefile ++++ flawfinder-2.0.7-use-python3/makefile +@@ -12,8 +12,7 @@ + ARCH=noarch + + SAMPLE_DIR=/usr/src/linux-2.2.16 +-PYTHON=python +-PYTHON2=python2 ++PYTHON=python3 + PYTHON3=python3 + + # Flawfinder has traditionally used INSTALL_DIR, INSTALL_DIR_BIN, and +@@ -190,9 +189,6 @@ + + # Usual check routine. Run all tests using *both* python2 and python3. + check: +- @echo "Testing with $(PYTHON2)" +- @PYTHON="$(PYTHON2)" $(MAKE) test +- @echo + @echo "Testing with $(PYTHON3)" + @PYTHON="$(PYTHON3)" $(MAKE) test + -- cgit v1.2.3