diff options
author | Marek Szuba <marecki@gentoo.org> | 2023-06-07 22:37:34 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2023-06-07 22:37:34 +0100 |
commit | 04d051cad8acdcae638928ba22203a1becd54d50 (patch) | |
tree | da50ee676a9b412fb01f41e06f0030a1697dfbf3 /app-admin | |
parent | sys-devel/gdb: Stabilize 13.2 sparc, #908024 (diff) | |
download | gentoo-04d051cad8acdcae638928ba22203a1becd54d50.tar.gz gentoo-04d051cad8acdcae638928ba22203a1becd54d50.tar.bz2 gentoo-04d051cad8acdcae638928ba22203a1becd54d50.zip |
app-admin/ansible-lint: add 6.17.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/ansible-lint/Manifest | 1 | ||||
-rw-r--r-- | app-admin/ansible-lint/ansible-lint-6.17.0.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/app-admin/ansible-lint/Manifest b/app-admin/ansible-lint/Manifest index fe745ad5f7e5..ce289609c0d5 100644 --- a/app-admin/ansible-lint/Manifest +++ b/app-admin/ansible-lint/Manifest @@ -1,2 +1,3 @@ DIST ansible-lint-6.14.6.tar.gz 475624 BLAKE2B 99ac5214d7404c2cdaaf43678950b2031fd40396e45a27823feb708bc343b69181e624254b77bfe9f704a9037c60340f3a14d4a2651948b371ea91a28b1a1424 SHA512 dac9a089db2d2fe7b25f273b746571175d3ec974dbdf14d65cc10be83464f1ae88361d9e445d8687c011f817597fc4ca8d7501d192c6c529d9ec48997af8df7c DIST ansible-lint-6.16.2.tar.gz 487093 BLAKE2B 0342bcc33e974f23cbc33d972959f04142374a79d9a750691e9898e9f237c049f635680a837531bf6a4d859d03aa3a4580ba01638935fe08ad1f874bef7f7f0a SHA512 b2e79b6941d702e4281a08874bb0b90f1450275c1cc0f6bdce6065231545bec202e1e0d7a4d836abd5250d292f5b31319914f258e7296cdd3fcb2e341f81d96d +DIST ansible-lint-6.17.0.tar.gz 478382 BLAKE2B 64d00381a36270d5b9163ad6a6a3f71fbdec7a0554151bef7aa92b4df6f76c58d618fa91755183f49a32f6ab5ad512400e7582711780294dc39d524449aebb28 SHA512 7bb38843bbb378ff6636d337e05d95be73ce740fbfd78076e859809956489ad5f08c47f810311ad5ed7401c184e625901aaed1c444f887a874150c937b6bf125 diff --git a/app-admin/ansible-lint/ansible-lint-6.17.0.ebuild b/app-admin/ansible-lint/ansible-lint-6.17.0.ebuild new file mode 100644 index 000000000000..94df30ddcc84 --- /dev/null +++ b/app-admin/ansible-lint/ansible-lint-6.17.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be improved" +HOMEPAGE="https://github.com/ansible/ansible-lint" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +# Upstream has stated explicitly that all tests require Internet access +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=app-admin/ansible-core-2.12.0[${PYTHON_USEDEP}] + >=dev-python/ansible-compat-2.2.7[${PYTHON_USEDEP}] + >=dev-python/black-22.8.0[${PYTHON_USEDEP}] + >=dev-python/filelock-3.8.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.17.0[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}] + >=dev-python/rich-12.0.0[${PYTHON_USEDEP}] + >=dev-python/ruamel-yaml-0.17.0[${PYTHON_USEDEP}] + >=dev-python/wcmatch-8.3.2[${PYTHON_USEDEP}] + >=dev-util/yamllint-1.30.0[${PYTHON_USEDEP}] + dev-vcs/git" +BDEPEND=" + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + >=dev-python/pytest-plus-0.2[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}] + )" + +# test_call_from_outside_venv doesn't play nicely with the sandbox +# irrespective of whether Internet access is allowed or not +EPYTEST_DESELECT=( + test/test_main.py::test_call_from_outside_venv +) + +distutils_enable_tests pytest + +# Test suite fails to start without this +python_test() { + epytest test +} |