commit:     6977e85ed3be4ca09f692a365ac665e3844441de
Author:     idealseal <realidealseal <AT> protonmail <DOT> com>
AuthorDate: Fri May 30 10:43:39 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun  8 12:12:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6977e85e

dev-python/ansible-compat: 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>

 dev-python/ansible-compat/Manifest                 |  1 +
 .../ansible-compat/ansible-compat-25.5.0.ebuild    | 62 ++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-python/ansible-compat/Manifest 
b/dev-python/ansible-compat/Manifest
index 68c91e957ed6..cadc2660e74d 100644
--- a/dev-python/ansible-compat/Manifest
+++ b/dev-python/ansible-compat/Manifest
@@ -1 +1,2 @@
 DIST ansible_compat-25.1.4.tar.gz 88124 BLAKE2B 
29e7ab84843e79c90152d92103bc1972a5daa776fecbafb8ecdba73787281bc4a7f187edafd43d2105ed9da554a67d10dfdd675e0aeb40a4a6fe55b2987aed1e
 SHA512 
dd5c3d81b52a307069f4bd20dce5adf0e241dc4dcd03e60aca81a456acebeb1f218c74b6eebe6f3fcf2661c7c199688982979c96337b9ecff64e196de8f9011b
+DIST ansible_compat-25.5.0.tar.gz 88398 BLAKE2B 
15141a3992c28be659ddbf84191b6856347ee7040bb3ec816bb9044aa7a085b558ba1de800adde24ac3c325e5ecc59a0538c23be093426740e24186f9f3f4dc7
 SHA512 
0120a4fa6155e875d308bd5a08eaae440bac8d2d7f521aede0f10df35b546ceca155ea3878faae995fd51870d784b4f49ecdcd7427353b406de0575660022f87

diff --git a/dev-python/ansible-compat/ansible-compat-25.5.0.ebuild 
b/dev-python/ansible-compat/ansible-compat-25.5.0.ebuild
new file mode 100644
index 000000000000..435c6f43ce3f
--- /dev/null
+++ b/dev-python/ansible-compat/ansible-compat-25.5.0.ebuild
@@ -0,0 +1,62 @@
+# 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="Contains functions that facilitate working with various versions 
of Ansible"
+HOMEPAGE="
+       https://pypi.org/project/ansible-compat/
+       https://github.com/ansible/ansible-compat/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+
+RDEPEND="
+       >=app-admin/ansible-core-2.18.1[${PYTHON_USEDEP}]
+       >=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}]
+       dev-python/packaging[${PYTHON_USEDEP}]
+       dev-python/pyyaml[${PYTHON_USEDEP}]
+       >=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}]
+       test? (
+               dev-python/pytest-mock[${PYTHON_USEDEP}]
+               dev-python/pytest-plus[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # All these tests attempt to connect to galaxy.ansible.com
+               test/test_runtime.py::test_install_collection
+               test/test_runtime.py::test_install_collection_dest
+               test/test_runtime.py::test_prepare_environment_with_collections
+               test/test_runtime.py::test_prerun_reqs_v1
+               test/test_runtime.py::test_prerun_reqs_v2
+               test/test_runtime.py::test_require_collection_no_cache_dir
+               test/test_runtime.py::test_require_collection_wrong_version
+               test/test_runtime.py::test_require_collection
+               test/test_runtime.py::test_upgrade_collection
+               test/test_runtime_example.py::test_runtime
+               'test/test_runtime.py::test_load_plugins[modules]'
+               # pip, failing due to internets
+               test/test_runtime_scan_path.py::test_scan_sys_path
+               test/test_runtime_scan_path.py::test_ro_venv
+               # internets?
+               test/test_runtime.py::test_runtime_has_playbook
+               # TODO
+               test/test_prerun.py::test_get_cache_dir_relative
+       )
+
+       epytest -o addopts=
+}

Reply via email to