1 |
commit: 4e6315f679e53eae71d5c3f263854bc3814f0bdd |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 26 12:46:19 2021 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 26 13:40:44 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e6315f6 |
7 |
|
8 |
app-admin/ansible-lint: recommend installing dev-util/yamllint |
9 |
|
10 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
11 |
|
12 |
app-admin/ansible-lint/ansible-lint-5.2.1.ebuild | 7 ++++++- |
13 |
1 file changed, 6 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/app-admin/ansible-lint/ansible-lint-5.2.1.ebuild b/app-admin/ansible-lint/ansible-lint-5.2.1.ebuild |
16 |
index 13812ba2d3a3..6deaf6a286bf 100644 |
17 |
--- a/app-admin/ansible-lint/ansible-lint-5.2.1.ebuild |
18 |
+++ b/app-admin/ansible-lint/ansible-lint-5.2.1.ebuild |
19 |
@@ -5,7 +5,7 @@ EAPI=8 |
20 |
|
21 |
PYTHON_COMPAT=( python3_{8..9} ) |
22 |
|
23 |
-inherit distutils-r1 |
24 |
+inherit distutils-r1 optfeature |
25 |
|
26 |
DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be improved" |
27 |
HOMEPAGE="https://github.com/ansible-community/ansible-lint" |
28 |
@@ -40,3 +40,8 @@ BDEPEND=" |
29 |
)" |
30 |
|
31 |
distutils_enable_tests --install pytest |
32 |
+ |
33 |
+pkg_postinst() { |
34 |
+ optfeature_header "Consider installing the following optional packages:" |
35 |
+ optfeature "letting ${PN} run YAML checks" dev-util/yamllint |
36 |
+} |