diff options
| author | Henrik Riomar <henrik.riomar@gmail.com> | 2018-12-12 07:11:14 +0100 |
|---|---|---|
| committer | Henrik Riomar <henrik.riomar@gmail.com> | 2018-12-14 19:56:48 +0100 |
| commit | ae8b35d47e8f84e1446408d830875f2f2dae6406 (patch) | |
| tree | f27d1d114d38000e7262b56d211fb899d8474f9b /testing/flawfinder/use-python3.patch | |
| parent | 1fe2605e7616a30b64a67831a7f7fadcd299960e (diff) | |
| download | aports-ae8b35d47e8f84e1446408d830875f2f2dae6406.tar.bz2 aports-ae8b35d47e8f84e1446408d830875f2f2dae6406.tar.xz | |
testing/flawfinder: upgrade to 2.0.7
add check() and switch to python3
Diffstat (limited to 'testing/flawfinder/use-python3.patch')
| -rw-r--r-- | testing/flawfinder/use-python3.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/flawfinder/use-python3.patch b/testing/flawfinder/use-python3.patch new file mode 100644 index 0000000000..1b3a5d8a35 --- /dev/null +++ b/testing/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 + |
