commit: 72d780b918e0321a04a8920dd5b7fc8946c31d72 Author: idealseal <realidealseal <AT> protonmail <DOT> com> AuthorDate: Tue Sep 16 10:52:49 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Oct 3 05:06:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72d780b9
app-admin/ansible-lint: add 25.9.0 Signed-off-by: idealseal <realidealseal <AT> protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43809 Closes: https://github.com/gentoo/gentoo/pull/43809 Signed-off-by: Sam James <sam <AT> gentoo.org> app-admin/ansible-lint/Manifest | 1 + app-admin/ansible-lint/ansible-lint-25.9.0.ebuild | 63 +++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/app-admin/ansible-lint/Manifest b/app-admin/ansible-lint/Manifest index b46210c99a77..7882801336ba 100644 --- a/app-admin/ansible-lint/Manifest +++ b/app-admin/ansible-lint/Manifest @@ -2,3 +2,4 @@ DIST ansible_lint-25.1.3.tar.gz 552113 BLAKE2B 5f54a4e1669af878a5e6d9c6d2fd6a0da DIST ansible_lint-25.5.0.tar.gz 556183 BLAKE2B 4abb875612053adb613b4b65b7394b50f4bbe3bbb0245d69aca6f6ace925ad139a6d40ca198cdaf462398640a291e01f483b4736e69fce962f56647e40f9e856 SHA512 fefff757d611ba106f1314720b88c8fe4835ab2dc69292bd705c2ea2b2bfc5e1cd36dddb74fde6b6e3123ef3e7780f4d7518a849473cb076a6300cec6c61c9c0 DIST ansible_lint-25.6.1.tar.gz 559349 BLAKE2B 5f214f8ef54ca7f69688f5afb93183620ac33be9d27a347a2b39a897dd4a870657db143762ff22f908c9caa0d2fd6c8c80b19d9d52c9c5909741a23ef67eff14 SHA512 4084373aed18b7092203faf1a2b2306b793249bc8a1be2c1dbeaf42a1c36361c8bf681b11bf1ab708aff8555e39c39be216d182fa3467eb8f473643e7f6b7adc DIST ansible_lint-25.8.2.tar.gz 580055 BLAKE2B 0b5b58f5ae924eb3efd337eeaccd1f51df922d8b747d4701a34d59e86036884ecda0e42693a324a2e18be3011071bc1f0fbced4531e2b7e2863280b1b5cabb62 SHA512 a3b1d36261e003752ed34de456ae3fdd49d2725de621ad2ae1815e70108bcdcf5706449529324139fb0ede3be4c9f85c811146240129b87259d4c1f0d8db1e83 +DIST ansible_lint-25.9.0.tar.gz 699967 BLAKE2B 7dbda793d3d4d9ff4b21ffb5bd208b343d595ed0ac160ca992e93b08314fdba716120dfa9969fad864a43f268dc8c1ea5342851000feeda598a4bfa664b4d2c4 SHA512 332df15e60b38f2356411fb265d854f16e13a1f38d364d46c090ab6139fa13d69e3768d37c4554a9446a3a05f9e918841dd577150423cf0ae683b766149fb727 diff --git a/app-admin/ansible-lint/ansible-lint-25.9.0.ebuild b/app-admin/ansible-lint/ansible-lint-25.9.0.ebuild new file mode 100644 index 000000000000..672417e5eb8c --- /dev/null +++ b/app-admin/ansible-lint/ansible-lint-25.9.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{11..13} ) + +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 ~arm64 ~riscv" + +# Upstream has stated explicitly that all tests require Internet access +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=app-admin/ansible-core-2.18.1[${PYTHON_USEDEP}] + >=dev-python/ansible-compat-25.8.0[${PYTHON_USEDEP}] + >=dev-python/black-24.8.0[${PYTHON_USEDEP}] + >=dev-python/filelock-3.14.0[${PYTHON_USEDEP}] + dev-python/importlib-metadata[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.17.0[${PYTHON_USEDEP}] + >=dev-python/packaging-24.0[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.3[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0.2[${PYTHON_USEDEP}] + >=dev-python/ruamel-yaml-0.18.11[${PYTHON_USEDEP}] + >=dev-python/wcmatch-8.5.2[${PYTHON_USEDEP}] + >=dev-util/yamllint-1.35.1[${PYTHON_USEDEP}] + dev-vcs/git" +BDEPEND=" + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] + test? ( + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/jmespath[${PYTHON_USEDEP}] + dev-python/license-expression[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + >=dev-python/pytest-plus-0.6[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}"/${PN}-24.7.0-warnings.patch +) + +# 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 +}
