diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-06-06 03:44:42 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-06-06 04:02:36 +0200 |
commit | 1102340063cd9c34a39eccbf54defcbbb016eaea (patch) | |
tree | 4ec499c8af07c9ac15e968065aa4da5a18749d56 /dev-python/ansible-compat | |
parent | dev-python/sqlglot: Bump to 25.0.2 (diff) | |
download | gentoo-1102340063cd9c34a39eccbf54defcbbb016eaea.tar.gz gentoo-1102340063cd9c34a39eccbf54defcbbb016eaea.tar.bz2 gentoo-1102340063cd9c34a39eccbf54defcbbb016eaea.zip |
dev-python/ansible-compat: Bump to 24.6.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ansible-compat')
-rw-r--r-- | dev-python/ansible-compat/Manifest | 1 | ||||
-rw-r--r-- | dev-python/ansible-compat/ansible-compat-24.6.1.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest index 13e28bb0fb66..5fd9b132c51b 100644 --- a/dev-python/ansible-compat/Manifest +++ b/dev-python/ansible-compat/Manifest @@ -1,2 +1,3 @@ DIST ansible-compat-24.6.0.gh.tar.gz 74286 BLAKE2B e61b9501aad867e738d128397f4b37e1299f4bc249e4217def60a704dd470886d269b2b61b738a644300085c4d46793bd32982c470de7a26590990c14eab4810 SHA512 217faed3354e459d9541962778f455b34b4ddf1c9b8141752645b25fd68747305de5d08d65b01c8168907e70c1dc31aeb2099420bf1e3553cd7f41627a12f0da +DIST ansible-compat-24.6.1.gh.tar.gz 74317 BLAKE2B d79471cfb150720bec8daa037df400005184b023ad55389c3424db55c2be87f57dd22934d133fc76b97e15ee3f80d78d1865c7feef0168793efa9b5738bff85e SHA512 203dd95dac7f55f21ebda069fd3e460f09a5434805529843880efe7137a55ba9d9c4eca72074bba7786b2cf0d032cd4a9a63d78d6e4c36811ec818340dd96ce4 DIST ansible-compat-4.1.12.gh.tar.gz 67966 BLAKE2B 3c665eb2cb87e184042da78ed1c41e7ca2b437c5151ba21bdd609104b44fa28c5f03247d275c58cfdf04a8e9ed328947cb0c2670603218798e3a484861274af2 SHA512 c9b2c340dc2b1ffb6f6db76017f7537e20307a7519a4df2dfb31811180cd647e39812bc433db51bd94d42f4c52a6c2f729d81edadcd615a5e0d23566969d8911 diff --git a/dev-python/ansible-compat/ansible-compat-24.6.1.ebuild b/dev-python/ansible-compat/ansible-compat-24.6.1.ebuild new file mode 100644 index 000000000000..18c39cfc27c2 --- /dev/null +++ b/dev-python/ansible-compat/ansible-compat-24.6.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Contains functions that facilitate working with various versions of Ansible" +HOMEPAGE=" + https://pypi.org/project/ansible-compat/ + https://github.com/ansible/ansible-compat/ +" +# We normally use PyPI here but 4.1.12 has never been uploaded there for some reason +SRC_URI="https://github.com/ansible/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=app-admin/ansible-core-2.14[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.6.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}] + ) +" + +# All these tests attempt to connect to galaxy.ansible.com +EPYTEST_DESELECT=( + 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 + # pip, failing due to internets + test/test_runtime_scan_path.py::test_scan_sys_path + # internets? + test/test_runtime.py::test_runtime_has_playbook +) + +distutils_enable_tests pytest |