diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-01-28 06:12:10 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-01-28 06:30:04 +0100 |
| commit | e4194987c798e03ca539e438ec5d110d5ce31b8e (patch) | |
| tree | c76b50d2994e52f42e89dec9200d965284666323 /dev-python/ansible-compat/ansible-compat-25.1.0.ebuild | |
| parent | 780d21cd10138d5ccbb8281bfe1c0318c5909b5a (diff) | |
| download | gentoo-e4194987c798e03ca539e438ec5d110d5ce31b8e.tar.gz gentoo-e4194987c798e03ca539e438ec5d110d5ce31b8e.tar.bz2 gentoo-e4194987c798e03ca539e438ec5d110d5ce31b8e.zip | |
dev-python/ansible-compat: Bump to 25.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ansible-compat/ansible-compat-25.1.0.ebuild')
| -rw-r--r-- | dev-python/ansible-compat/ansible-compat-25.1.0.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/ansible-compat/ansible-compat-25.1.0.ebuild b/dev-python/ansible-compat/ansible-compat-25.1.0.ebuild new file mode 100644 index 000000000000..5d0bd8248da6 --- /dev/null +++ b/dev-python/ansible-compat/ansible-compat-25.1.0.ebuild @@ -0,0 +1,61 @@ +# 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 + # internets? + test/test_runtime.py::test_runtime_has_playbook + # TODO + test/test_prerun.py::test_get_cache_dir_relative + ) + + epytest -o addopts= +} |
