commit:     26a48c034ddee7e02c7ec51dbb0ce2ef4f9f3a10
Author:     idealseal <realidealseal <AT> protonmail <DOT> com>
AuthorDate: Tue Mar 10 12:37:40 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 16:35:04 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26a48c03

app-admin/ansible-lint: add 26.3.0

* Enable Python 3.14
* Add new dependencies
* Change license to GPL-3+

Signed-off-by: idealseal <realidealseal <AT> protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/285
Merges: https://codeberg.org/gentoo/gentoo/pulls/285
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-admin/ansible-lint/Manifest                   |  2 +
 app-admin/ansible-lint/ansible-lint-26.3.0.ebuild | 73 +++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/app-admin/ansible-lint/Manifest b/app-admin/ansible-lint/Manifest
index e2e5cf0c4329..c50ceee9531d 100644
--- a/app-admin/ansible-lint/Manifest
+++ b/app-admin/ansible-lint/Manifest
@@ -1,3 +1,5 @@
 DIST ansible_lint-25.11.0.tar.gz 717176 BLAKE2B 
80e49c51c094c870e1eff5030c00a42189acf44c74863df9bb07918f3c5f757ce84a1c636ff373f0db8b137396ccad87b1ccecff11433a11f0d197270e40427c
 SHA512 
37df3fea6c43034d98cbf68d15468e95156a1d2139e9379351e268d12a7e46627a45420999f778ca72788eedeb924f7fe8d9f393f75a130d7a1b063b669434a0
 DIST ansible_lint-25.11.0.tar.gz.provenance 9435 BLAKE2B 
d69ce09b2660cd6a7cb6f57e2f7e9ec816b858b6ffa1d48aed7a73569b284d52090861f1ec55745b13e732494e483aea267a87c69e776d53ba839207f340b230
 SHA512 
e4b3dccabdfeb350b689abda3e7c2fd85203d6e9664eb636591f0581bd5ca45af3da340c3e7bc71bbe9b7c98b3ee172b17d7609f9aecd934ba40fdd17fee6853
 DIST ansible_lint-25.9.0.tar.gz 699967 BLAKE2B 
7dbda793d3d4d9ff4b21ffb5bd208b343d595ed0ac160ca992e93b08314fdba716120dfa9969fad864a43f268dc8c1ea5342851000feeda598a4bfa664b4d2c4
 SHA512 
332df15e60b38f2356411fb265d854f16e13a1f38d364d46c090ab6139fa13d69e3768d37c4554a9446a3a05f9e918841dd577150423cf0ae683b766149fb727
+DIST ansible_lint-26.3.0.tar.gz 747216 BLAKE2B 
792692d93e437927c6bebcf8bfd2a9f12bbf3335547ce468cad24883e7f0be4813438b16f02dd96711f860705ec90f6bdf3b5b0fce3e66d7c1f2ff0d4f43c125
 SHA512 
1100c420273fcf9cb23f012af22bf0a2adeb5cfd40f5d0a6a6a01bbe88eeb0858be5c7231e9df4009c40b3c0eabcc7d3eeac0aeacd0932788b5d65cd9d09e297
+DIST ansible_lint-26.3.0.tar.gz.provenance 9739 BLAKE2B 
9dc145cc87c6746c7537da117345fa2468d2bd309065e83e6f820ac6b571a0126bbddbb3854f7d3bc89d17c46605759b6d8d81b5882d574e4c284f65c037bca9
 SHA512 
b9aed112eb976e072eee40b1b4dc9df6865af89d4520f7b79c6935479fa84c07993acb2360b57698a2f3b470da2004be31756f9b7bcfe620c82ed80c6d27a823

diff --git a/app-admin/ansible-lint/ansible-lint-26.3.0.ebuild 
b/app-admin/ansible-lint/ansible-lint-26.3.0.ebuild
new file mode 100644
index 000000000000..7de269094598
--- /dev/null
+++ b/app-admin/ansible-lint/ansible-lint-26.3.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517="setuptools"
+PYPI_VERIFY_REPO=https://github.com/ansible/ansible-lint
+PYTHON_COMPAT=( python3_{12..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be 
improved"
+HOMEPAGE="https://github.com/ansible/ansible-lint";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+
+# Upstream has stated explicitly that all tests require Internet access
+PROPERTIES="test_network"
+RESTRICT="test"
+
+# List of test dependencies is non-exhaustive, probably out-of-date.
+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}]
+       )
+"
+
+RDEPEND="
+       >=app-admin/ansible-core-2.18.1[${PYTHON_USEDEP}]
+       >=dev-python/ansible-compat-25.8.2[${PYTHON_USEDEP}]
+       dev-python/black[${PYTHON_USEDEP}]
+       dev-python/cryptography[${PYTHON_USEDEP}]
+       dev-python/distro[${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/pathspec-1.1.0[${PYTHON_USEDEP}]
+       >=dev-python/pyyaml-6.0.2[${PYTHON_USEDEP}]
+       >=dev-python/ruamel-yaml-0.18.11[${PYTHON_USEDEP}]
+       dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}]
+       dev-python/subprocess-tee[${PYTHON_USEDEP}]
+       >=dev-python/wcmatch-8.5.2[${PYTHON_USEDEP}]
+       >=dev-util/yamllint-1.38.0[${PYTHON_USEDEP}]
+       dev-vcs/git
+"
+
+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
+}

Reply via email to