diff options
author | Marek Szuba <marecki@gentoo.org> | 2022-01-11 16:04:12 +0000 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2022-01-11 18:38:18 +0000 |
commit | c05b7fafd1538c89fe42a80c719657783f4824ca (patch) | |
tree | 06c59cee14a3034fd85805de95db9af1281c00e1 /app-admin/ansible-lint | |
parent | dev-cpp/benchmark: explicitly inherit flag-o-matic (diff) | |
download | gentoo-c05b7fafd1538c89fe42a80c719657783f4824ca.tar.gz gentoo-c05b7fafd1538c89fe42a80c719657783f4824ca.tar.bz2 gentoo-c05b7fafd1538c89fe42a80c719657783f4824ca.zip |
app-admin/ansible-lint: add 5.3.2
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-admin/ansible-lint')
-rw-r--r-- | app-admin/ansible-lint/Manifest | 1 | ||||
-rw-r--r-- | app-admin/ansible-lint/ansible-lint-5.3.2.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/app-admin/ansible-lint/Manifest b/app-admin/ansible-lint/Manifest index 90ad08f35644..f33314c9a685 100644 --- a/app-admin/ansible-lint/Manifest +++ b/app-admin/ansible-lint/Manifest @@ -1,2 +1,3 @@ DIST ansible-lint-5.2.1.tar.gz 356071 BLAKE2B 70c54114a667ba63c1d285ec8a73a7c3332f89cbdf1b8d4866de86aa2c358e41759ac69188806c715cbd3893a2d0b1123e6b679ed208ce4c40141a40b9f54681 SHA512 9ae1aa775572485aaa68ef127cb2ea2d66cd1057878ac396b1644244a070f05b7920eceec3cdb16523f9fadcbcb5df971f3513d7e4d9cbd6ace1ec4f4d861451 DIST ansible-lint-5.3.1.tar.gz 356514 BLAKE2B 3ae30c357ed03c544773671af94763bf76d3544f30b1c7b7081db9a67feaeaecfb678d4b194c05b45fc8c7e75cc1c057ad9612ad4aaf364cfd4904200ac128f5 SHA512 2d46b1cf2605c68765c67e7d7e90a049e9253b058ac01c833ed0afc67ba553a8855f3d9315eec440bfc08c0d9e7b0b0f5e0151021708ad1e05fd895c7f679c43 +DIST ansible-lint-5.3.2.tar.gz 356870 BLAKE2B 4af11f760e30945e066a9d160438bbedd5a4d39799009bc6d30614baab0b88a21cad088c0b758529aaa5fbb54a9f2a1f636ab6d642a37297a27c8ba5240f53ef SHA512 4ff2d36de20b2e6982d0cd1bca6a3f886307701dfa0bf880d2d417387191d90adc9361afb57f8ed26239cbc110e5f05f52a186950d7d3b4b0a8e4406e4695acd diff --git a/app-admin/ansible-lint/ansible-lint-5.3.2.ebuild b/app-admin/ansible-lint/ansible-lint-5.3.2.ebuild new file mode 100644 index 000000000000..bb484dbbc409 --- /dev/null +++ b/app-admin/ansible-lint/ansible-lint-5.3.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# TODO: py310 - blocked by <=dev-util/yamllint-1.26.3 +PYTHON_COMPAT=( python3_{8..9} ) +DISTUTILS_USE_SETUPTOOLS=pyproject.toml + +inherit distutils-r1 optfeature + +DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be improved" +HOMEPAGE="https://github.com/ansible-community/ansible-lint" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +# 14 tests fail due to usersandbox denying the executable 'ansible' +# access to $HOME/.ansible. More importantly, some tests (6 as of 5.2.1) +# fail even when run manually with tox. +RESTRICT="test" + +RDEPEND=" + >=app-admin/ansible-2.10[${PYTHON_USEDEP}] + >=app-admin/ansible-base-2.11.4[${PYTHON_USEDEP}] + >=dev-python/enrich-1.2.6[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/rich-9.5.1[${PYTHON_USEDEP}] + >=dev-python/ruamel-yaml-0.15.37[${PYTHON_USEDEP}] + dev-python/tenacity[${PYTHON_USEDEP}] + >=dev-python/wcmatch-7.0[${PYTHON_USEDEP}]" +BDEPEND=" + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm_git_archive-1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/flaky-3.7.0[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-2.1.0[${PYTHON_USEDEP}] + >=dev-util/yamllint-1.25.0[${PYTHON_USEDEP}] + )" + +distutils_enable_tests --install pytest + +pkg_postinst() { + optfeature_header "Consider installing the following optional packages:" + optfeature "letting ${PN} run YAML checks" dev-util/yamllint +} |