commit: 10c74344c4805d379320b7d5f64e19f26e19b2a3 Author: idealseal <realidealseal <AT> protonmail <DOT> com> AuthorDate: Fri May 30 10:45:59 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jun 8 12:12:15 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c74344
app-admin/ansible-lint: add 25.5.0 Signed-off-by: idealseal <realidealseal <AT> protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42347 Signed-off-by: Sam James <sam <AT> gentoo.org> app-admin/ansible-lint/Manifest | 1 + app-admin/ansible-lint/ansible-lint-25.5.0.ebuild | 63 +++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/app-admin/ansible-lint/Manifest b/app-admin/ansible-lint/Manifest index 6a586176ef6d..0939fc0e8d1a 100644 --- a/app-admin/ansible-lint/Manifest +++ b/app-admin/ansible-lint/Manifest @@ -1,2 +1,3 @@ DIST ansible_lint-24.12.2.tar.gz 548046 BLAKE2B 07a1907b4d542dafd27681229206de2b6f8a6ed1c106d2a1986b3e6d27641cdeec8ab77e541357b8b578beb0ab7b48cd96ecb2b2d3b283fae3099429d553cb02 SHA512 0050f5c14165dc4114846096518d500fe2c400f05a6a943d36331042b02f8ae038ede8924a6a036e846eafa03c6bde8e24699b41cef85bcf6d770289f71fc162 DIST ansible_lint-25.1.3.tar.gz 552113 BLAKE2B 5f54a4e1669af878a5e6d9c6d2fd6a0dad15c170a9355f16f2082651da52fd7d599010255a0a9c744f9eeb58cf738a2d852a1a86b4d829c9f25a93eebe7d7dfd SHA512 abf537c1226f5ba3a96f77eebceac390f672d1c9ca9433339c20ee84f46dfbb2679fbf9e0bffbc29e3f65b86ee83158bb51850907260dbfd921ebd2b5508ca98 +DIST ansible_lint-25.5.0.tar.gz 556183 BLAKE2B 4abb875612053adb613b4b65b7394b50f4bbe3bbb0245d69aca6f6ace925ad139a6d40ca198cdaf462398640a291e01f483b4736e69fce962f56647e40f9e856 SHA512 fefff757d611ba106f1314720b88c8fe4835ab2dc69292bd705c2ea2b2bfc5e1cd36dddb74fde6b6e3123ef3e7780f4d7518a849473cb076a6300cec6c61c9c0 diff --git a/app-admin/ansible-lint/ansible-lint-25.5.0.ebuild b/app-admin/ansible-lint/ansible-lint-25.5.0.ebuild new file mode 100644 index 000000000000..f1a5933c6837 --- /dev/null +++ b/app-admin/ansible-lint/ansible-lint-25.5.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.1.5[${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.9[${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 +}
