aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ansible-lint/10-python3-shebang.patch
diff options
context:
space:
mode:
authorKeith Maxwell <keith.maxwell@gmail.com>2019-04-11 12:15:21 +0100
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-04-12 10:01:03 +0000
commitd19073b835c1dc3704d9b7366795d66be7f49862 (patch)
treee97a367fe888e40c59c69e073536d84d807d1394 /testing/ansible-lint/10-python3-shebang.patch
parentb4382e8a2fa26e14f3b46f4fcf9d0acbefd19ce4 (diff)
testing/ansible-lint: bump to 4.1.0
- 4.1 was the first release to have a dependency upon ruamel.yaml - List all dependencies explicitly to match setup.cfg [1] - Stop using a parameter expansion that is not in POSIX: ${:0:1} - Switch to running the full test suite - setuptools is a runtime dependency because /usr/bin/ansible-lint uses 'from pkg_resources import load_entry_point' [1]: https://github.com/ansible/ansible-lint/blob/v4.1.0/setup.cfg#L82
Diffstat (limited to 'testing/ansible-lint/10-python3-shebang.patch')
-rw-r--r--testing/ansible-lint/10-python3-shebang.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/ansible-lint/10-python3-shebang.patch b/testing/ansible-lint/10-python3-shebang.patch
new file mode 100644
index 00000000000..1493a7a6a60
--- /dev/null
+++ b/testing/ansible-lint/10-python3-shebang.patch
@@ -0,0 +1,8 @@
+--- a/bin/ansible-lint
++++ b/bin/ansible-lint
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+
+ import sys
+ import ansiblelint.__main__