summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-11-26 13:46:19 +0100
committerMarek Szuba <marecki@gentoo.org>2021-11-26 14:40:44 +0100
commit4e6315f679e53eae71d5c3f263854bc3814f0bdd (patch)
tree32fa3b45208d9f23bfc56204f2f6c47adfc37bae /app-admin/ansible-lint
parentapp-admin/ansible-lint: tweak test configuration (diff)
downloadgentoo-4e6315f679e53eae71d5c3f263854bc3814f0bdd.tar.gz
gentoo-4e6315f679e53eae71d5c3f263854bc3814f0bdd.tar.bz2
gentoo-4e6315f679e53eae71d5c3f263854bc3814f0bdd.zip
app-admin/ansible-lint: recommend installing dev-util/yamllint
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-admin/ansible-lint')
-rw-r--r--app-admin/ansible-lint/ansible-lint-5.2.1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-admin/ansible-lint/ansible-lint-5.2.1.ebuild b/app-admin/ansible-lint/ansible-lint-5.2.1.ebuild
index 13812ba2d3a3..6deaf6a286bf 100644
--- a/app-admin/ansible-lint/ansible-lint-5.2.1.ebuild
+++ b/app-admin/ansible-lint/ansible-lint-5.2.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
-inherit distutils-r1
+inherit distutils-r1 optfeature
DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be improved"
HOMEPAGE="https://github.com/ansible-community/ansible-lint"
@@ -40,3 +40,8 @@ BDEPEND="
)"
distutils_enable_tests --install pytest
+
+pkg_postinst() {
+ optfeature_header "Consider installing the following optional packages:"
+ optfeature "letting ${PN} run YAML checks" dev-util/yamllint
+}