diff options
| author | Sebastian Hamann <code@ares-macrotechnology.com> | 2025-03-23 17:36:39 +0100 |
|---|---|---|
| committer | Nowa Ammerlaan <nowa@gentoo.org> | 2025-03-24 12:08:42 +0100 |
| commit | b80ccdc33125a8b9f0945f66d037d9ea25b9f63a (patch) | |
| tree | 42912c135e91c3ee5a3997facaea2ea2253f4db3 /dev-python | |
| parent | d8b152f2a4aa1c44988f813ecf22d8392676206e (diff) | |
| download | gentoo-b80ccdc33125a8b9f0945f66d037d9ea25b9f63a.tar.gz gentoo-b80ccdc33125a8b9f0945f66d037d9ea25b9f63a.tar.bz2 gentoo-b80ccdc33125a8b9f0945f66d037d9ea25b9f63a.zip | |
dev-python/ansible-compat: add 25.1.4
Signed-off-by: Sebastian Hamann <code@ares-macrotechnology.com>
Closes: https://github.com/gentoo/gentoo/pull/41241
Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/ansible-compat/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/ansible-compat/ansible-compat-25.1.4.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest index bb864afeee19..720249bdaf16 100644 --- a/dev-python/ansible-compat/Manifest +++ b/dev-python/ansible-compat/Manifest @@ -1 +1,2 @@ DIST ansible_compat-25.1.2.tar.gz 87902 BLAKE2B c2a96fb67c32e8a02d2e1f6c6ddbcbd966fac1e9485f00ba8293ced2fc2de986616a9987772a54d6f5ee1c88cbf9a09fb3b36eed44949b241f50b761ff52d06b SHA512 b07ae461241c3c2ab7b52b519ab773ecb878b6cd24353a81187c5aeb14c332af5f666d5034b8972e6bbedc9a0cd761c887492064a122593cc8746702ffc83adc +DIST ansible_compat-25.1.4.tar.gz 88124 BLAKE2B 29e7ab84843e79c90152d92103bc1972a5daa776fecbafb8ecdba73787281bc4a7f187edafd43d2105ed9da554a67d10dfdd675e0aeb40a4a6fe55b2987aed1e SHA512 dd5c3d81b52a307069f4bd20dce5adf0e241dc4dcd03e60aca81a456acebeb1f218c74b6eebe6f3fcf2661c7c199688982979c96337b9ecff64e196de8f9011b diff --git a/dev-python/ansible-compat/ansible-compat-25.1.4.ebuild b/dev-python/ansible-compat/ansible-compat-25.1.4.ebuild new file mode 100644 index 000000000000..435c6f43ce3f --- /dev/null +++ b/dev-python/ansible-compat/ansible-compat-25.1.4.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= +} |
