mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 09:15:30 +03:00
testing/icdiff: new aport
This commit is contained in:
parent
d337fb8675
commit
e8f73f8d82
3 changed files with 76 additions and 0 deletions
24
testing/icdiff/fix-flake8-binary.patch
Normal file
24
testing/icdiff/fix-flake8-binary.patch
Normal file
|
@ -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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue