aboutsummaryrefslogtreecommitdiffstats
path: root/testing/icdiff/fix-flake8-binary.patch
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-06-02 14:24:55 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-02 14:24:55 +0000
commite8f73f8d82d2b98997fc4177dba2472d2e049dcd (patch)
tree56d612cbd996dfe1012ab86401e89f5d0c1a7aa4 /testing/icdiff/fix-flake8-binary.patch
parentd337fb86752190f4a32efa31a6c716d9e38658da (diff)
downloadaports-e8f73f8d82d2b98997fc4177dba2472d2e049dcd.tar.bz2
aports-e8f73f8d82d2b98997fc4177dba2472d2e049dcd.tar.xz
testing/icdiff: new aport
Diffstat (limited to 'testing/icdiff/fix-flake8-binary.patch')
-rw-r--r--testing/icdiff/fix-flake8-binary.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/icdiff/fix-flake8-binary.patch b/testing/icdiff/fix-flake8-binary.patch
new file mode 100644
index 0000000000..87098ec55a
--- /dev/null
+++ b/testing/icdiff/fix-flake8-binary.patch
@@ -0,0 +1,24 @@
+diff --git a/test.sh b/test.sh
+old mode 100755
+new mode 100644
+index b44425d817..be8eb15fa9
+--- a/test.sh
++++ b/test.sh
+@@ -129,7 +129,7 @@ if [ "$VERSION" != $(head -n 1 ChangeLog) ]; then
+ fail
+ fi
+
+-if ! command -v 'flake8' >/dev/null 2>&1; then
++if ! command -v 'flake8-3' >/dev/null 2>&1; then
+ echo 'Could not find flake8. Ensure flake8 is installed and on your $PATH.'
+ if [ -z "$VIRTUAL_ENV" ]; then
+ echo 'It appears you have have forgotten to activate your virtualenv.'
+@@ -139,7 +139,7 @@ if ! command -v 'flake8' >/dev/null 2>&1; then
+ fi
+
+ echo 'Running flake8 linter...'
+-if ! flake8 icdiff; then
++if ! flake8-3 icdiff; then
+ fail
+ fi
+