commit: c6b6f4e99c0eb11b328510928bf60d15935d87f4 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Feb 26 04:19:32 2026 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Feb 26 04:41:01 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6b6f4e9
dev-python/ansible-compat: Bump to 25.12.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/ansible-compat/Manifest | 2 + .../ansible-compat/ansible-compat-25.12.1.ebuild | 67 ++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest index e3f8520f5217..0270c80628b5 100644 --- a/dev-python/ansible-compat/Manifest +++ b/dev-python/ansible-compat/Manifest @@ -1,2 +1,4 @@ DIST ansible_compat-25.12.0.tar.gz 193698 BLAKE2B f3eb02d8257a2a3136182d1338359cab0d7c0f2e3a7f77ee26d52e3e3af8105445a3937e836821b4eedaa203f25230625ff0ff779e8c4e78eb8d85a498794be3 SHA512 a2ecf54a3c3324f5be8c10475aca1b528ee186ac402f841be6d7a8ae379019ae3d3486fcec7e433744f9d2053471ae219c0977c93073dc67029cad3f44868229 DIST ansible_compat-25.12.0.tar.gz.provenance 9250 BLAKE2B ebe215a01b27030246fcda815e286d827b8bc148e4c6095a76f233628fbd77512b1f9cbdc88f65998c2431a915b7ccc78b35862e2d23147f6af73d416ef450de SHA512 f6097b1f729c67e5129366a8bd2c79386234622a91108ffe1d5f71a7b7b215e726893ba6237e121e43f9b90970c5b0ad61094fcb8a13eca88c76e95a2eb95a06 +DIST ansible_compat-25.12.1.tar.gz 214925 BLAKE2B 2ab6caf21cfd8f4a5991822d7371c4f13cd62da87d0a2caaa0d454ad149a93f7fe75954b2d897ab6997018db3390c6e5f8625fecece4a838d797f896f6219af7 SHA512 bce02d153c8ebf93127b347a639c67973b94c706942bbc7c12a63a354275a2f364d3e5852d4b914b3ea13bac291da163087b9e1d37757638e1e2e1363f7c647f +DIST ansible_compat-25.12.1.tar.gz.provenance 9440 BLAKE2B 388ba058403e64fc20bc03d194b0b233c1c7fbfe77691456f969294105530e7f3f19b97ffe44ff3a2c9b1d07c9be4c0f07ae62b327dc2a528001db989c3fbd67 SHA512 0673c4d928637061fb9a7e1474eb1549b3b7aae173c1ced862e7f8119a816a0786b063915bcf0050ec9d3672ac574bcdae3682f1808755a564a4ff026d12fdb8 diff --git a/dev-python/ansible-compat/ansible-compat-25.12.1.ebuild b/dev-python/ansible-compat/ansible-compat-25.12.1.ebuild new file mode 100644 index 000000000000..1cb4aa03c683 --- /dev/null +++ b/dev-python/ansible-compat/ansible-compat-25.12.1.ebuild @@ -0,0 +1,67 @@ +# 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-compat +PYTHON_COMPAT=( python3_{12..14} ) + +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.6[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}] + >=dev-python/packaging-22.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}] + >=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-{mock,plus} ) +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # remove stupid upstream version block + sed -i -e 's:2.20.0dev0:0:' src/ansible_compat/prerun.py || die +} + +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= +}
